Documentation
¶
Index ¶
- Constants
- func ValidateHandshake(h *plugin_go.Handshake) error
- type Client
- func (c *Client) AcquireLocks(ctx context.Context, props map[string]interface{}, lockNames []string, ...) (map[string]string, error)
- func (c *Client) Apply(ctx context.Context, state *types.StateData, apps []*apiv1.AppPlan, ...) (*apiv1.ApplyDoneResponse, error)
- func (c *Client) Command(ctx context.Context, req *apiv1.CommandRequest) error
- func (c *Client) GetState(ctx context.Context, typ string, props map[string]interface{}, lock bool, ...) (ret *apiv1.GetStateResponse_State, err error)
- func (c *Client) Init(ctx context.Context) error
- func (c *Client) Plan(ctx context.Context, state *types.StateData, apps []*apiv1.AppPlan, ...) (*apiv1.PlanResponse, error)
- func (c *Client) ProjectInit(ctx context.Context, name string, deployPlugins, runPlugins []string, ...) (*apiv1.ProjectInitResponse, error)
- func (c *Client) ReleaseLocks(ctx context.Context, props map[string]interface{}, locks map[string]string) error
- func (c *Client) ReleaseStateLock(ctx context.Context, typ string, props map[string]interface{}, lockinfo string) error
- func (c *Client) Run(ctx context.Context, req *apiv1.RunRequest, ...) (*apiv1.RunStartResponse, error)
- func (c *Client) SaveState(ctx context.Context, state *types.StateData, typ string, ...) (*apiv1.SaveStateResponse, error)
- func (c *Client) Start(ctx context.Context) error
- func (c *Client) Stop() error
- type PluginError
- type YAMLContext
Constants ¶
View Source
const (
DefaultTimeout = 10 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
func ValidateHandshake ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AcquireLocks ¶ added in v0.1.48
func (*Client) Apply ¶
func (c *Client) Apply(ctx context.Context, state *types.StateData, apps []*apiv1.AppPlan, deps []*apiv1.DependencyPlan, domains []*apiv1.DomainInfo, args map[string]interface{}, destroy bool, callback func(*apiv1.ApplyAction)) (*apiv1.ApplyDoneResponse, error)
func (*Client) ProjectInit ¶ added in v0.1.21
func (*Client) ReleaseLocks ¶ added in v0.1.48
func (*Client) ReleaseStateLock ¶ added in v0.1.47
func (*Client) Run ¶ added in v0.1.11
func (c *Client) Run(ctx context.Context, req *apiv1.RunRequest, outCh chan<- *apiv1.RunOutputResponse, errCh chan<- error) (*apiv1.RunStartResponse, error)
type PluginError ¶ added in v0.1.2
type PluginError struct {
// contains filtered or unexported fields
}
func (*PluginError) Error ¶ added in v0.1.2
func (e *PluginError) Error() string
func (*PluginError) Unwrap ¶ added in v0.1.2
func (e *PluginError) Unwrap() error
type YAMLContext ¶
Click to show internal directories.
Click to hide internal directories.