Documentation
¶
Index ¶
- func ValidateHandshake(h *plugin_go.Handshake) error
- type Client
- func (c *Client) Apply(ctx context.Context, state *types.StateData, apps []*types.AppPlan, ...) (ret *plugin_go.ApplyDoneResponse, err error)
- func (c *Client) GetState(ctx context.Context, typ, env string, props map[string]interface{}, lock bool, ...) (ret *plugin_go.GetStateResponse, err error)
- func (c *Client) Init(ctx context.Context, props map[string]interface{}) error
- func (c *Client) Plan(ctx context.Context, state *types.StateData, apps []*types.AppPlan, ...) (ret *plugin_go.PlanResponse, err error)
- func (c *Client) ReleaseLock(ctx context.Context, typ, env string, props map[string]interface{}, ...) error
- func (c *Client) SaveState(ctx context.Context, state *types.StateData, typ, env string, ...) (ret *plugin_go.SaveStateResponse, err error)
- func (c *Client) Start(ctx context.Context, yamlContext YAMLContext) error
- func (c *Client) Stop() error
- type ResponseWithError
- type ResponseWithHeader
- type YAMLContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateHandshake ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Apply ¶
func (c *Client) Apply(ctx context.Context, state *types.StateData, apps []*types.AppPlan, deps []*types.DependencyPlan, destroy bool, callback func(*types.ApplyAction)) (ret *plugin_go.ApplyDoneResponse, err error)
func (*Client) GetState ¶
func (c *Client) GetState(ctx context.Context, typ, env string, props map[string]interface{}, lock bool, yamlContext YAMLContext) (ret *plugin_go.GetStateResponse, err error)
func (*Client) ReleaseLock ¶
type ResponseWithError ¶
type ResponseWithError struct { *ResponseWithHeader Error error }
type ResponseWithHeader ¶
type ResponseWithHeader struct { Header plugin_go.ResponseHeader Response plugin_go.Response }
type YAMLContext ¶
func (*YAMLContext) Error ¶
func (c *YAMLContext) Error(r *plugin_go.ValidationErrorResponse) error
Click to show internal directories.
Click to hide internal directories.