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 *statefile.StateData, apps []*apiv1.AppPlan, ...) (*apiv1.ApplyDoneResponse, error)
- func (c *Client) ApplyDNS(ctx context.Context, state *statefile.StateData, records []*apiv1.DNSRecord, ...) (*apiv1.ApplyDNSDoneResponse, error)
- func (c *Client) ApplyMonitoring(ctx context.Context, state *statefile.StateData, ...) (*apiv1.ApplyMonitoringDoneResponse, error)
- func (c *Client) Command(ctx context.Context, req *apiv1.CommandRequest) error
- func (c *Client) DeleteSecret(ctx context.Context, key, typ string, props map[string]interface{}) (deleted bool, err error)
- func (c *Client) DeleteSecrets(ctx context.Context, typ string, props map[string]interface{}) error
- func (c *Client) DeployHook(ctx context.Context, stage apiv1.DeployHookRequest_Stage, ...) (*apiv1.DeployHookResponse, error)
- func (c *Client) GetSecret(ctx context.Context, key, typ string, props map[string]interface{}) (val string, ok bool, err error)
- func (c *Client) GetSecrets(ctx context.Context, typ string, props map[string]interface{}) (map[string]string, 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) Logs(ctx context.Context, req *apiv1.LogsRequest, ...) error
- func (c *Client) Plan(ctx context.Context, state *statefile.StateData, apps []*apiv1.AppPlan, ...) (*apiv1.PlanResponse, error)
- func (c *Client) PlanDNS(ctx context.Context, state *statefile.StateData, records []*apiv1.DNSRecord, ...) (*apiv1.PlanDNSResponse, error)
- func (c *Client) PlanMonitoring(ctx context.Context, state *statefile.StateData, ...) (*apiv1.PlanMonitoringResponse, 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) ReplaceSecrets(ctx context.Context, values map[string]string, typ string, ...) error
- func (c *Client) Run(ctx context.Context, req *apiv1.RunRequest, ...) (*apiv1.RunStartResponse, error)
- func (c *Client) SaveState(ctx context.Context, state *statefile.StateData, typ string, ...) (*apiv1.SaveStateResponse, error)
- func (c *Client) SetSecret(ctx context.Context, key, value, typ string, props map[string]interface{}) (changed bool, err error)
- func (c *Client) Start(ctx context.Context) error
- func (c *Client) Stop() error
- type PluginError
- type YAMLContext
Constants ¶
View Source
const (
DefaultTimeout = 60 * 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) ApplyMonitoring ¶ added in v0.1.123
func (c *Client) ApplyMonitoring(ctx context.Context, state *statefile.StateData, monitoring *apiv1.MonitoringData, args map[string]interface{}, destroy bool, callback func(*apiv1.ApplyAction)) (*apiv1.ApplyMonitoringDoneResponse, error)
func (*Client) DeleteSecret ¶ added in v0.1.109
func (*Client) DeleteSecrets ¶ added in v0.1.109
func (*Client) DeployHook ¶ added in v0.1.107
func (*Client) GetSecrets ¶ added in v0.1.109
func (*Client) Logs ¶ added in v0.1.105
func (c *Client) Logs(ctx context.Context, req *apiv1.LogsRequest, callback func(*apiv1.LogsResponse)) error
func (*Client) PlanMonitoring ¶ added in v0.1.123
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) ReplaceSecrets ¶ added in v0.1.109
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.