Documentation ¶
Index ¶
- type Plugin
- func (p *Plugin) AcquireLocks(r *apiv1.AcquireLocksRequest, ...) error
- func (p *Plugin) Apply(r *apiv1.ApplyRequest, reg *registry.Registry, ...) error
- func (p *Plugin) ApplyMonitoring(r *apiv1.ApplyMonitoringRequest, reg *registry.Registry, ...) error
- func (p *Plugin) Command(ctx context.Context, req *apiv1.CommandRequest) (*apiv1.CommandResponse, error)
- func (p *Plugin) CreateServiceAccount(ctx context.Context, req *apiv1.CommandRequest) error
- func (p *Plugin) DBDump(ctx context.Context, req *apiv1.CommandRequest) error
- func (p *Plugin) DBProxy(ctx context.Context, req *apiv1.CommandRequest) error
- func (p *Plugin) DBRestore(ctx context.Context, req *apiv1.CommandRequest) error
- func (p *Plugin) DeleteSecret(ctx context.Context, req *apiv1.DeleteSecretRequest) (*apiv1.DeleteSecretResponse, error)
- func (p *Plugin) DeleteSecrets(ctx context.Context, req *apiv1.DeleteSecretsRequest) (*apiv1.DeleteSecretsResponse, error)
- func (p *Plugin) GetSecret(ctx context.Context, req *apiv1.GetSecretRequest) (*apiv1.GetSecretResponse, error)
- func (p *Plugin) GetSecrets(ctx context.Context, req *apiv1.GetSecretsRequest) (*apiv1.GetSecretsResponse, error)
- func (p *Plugin) GetState(r *apiv1.GetStateRequest, stream apiv1.StatePluginService_GetStateServer) error
- func (p *Plugin) Init(ctx context.Context, e env.Enver, l log.Logger, cli apiv1.HostServiceClient) error
- func (p *Plugin) Logs(r *apiv1.LogsRequest, srv apiv1.LogsPluginService_LogsServer) error
- func (p *Plugin) Plan(ctx context.Context, reg *registry.Registry, r *apiv1.PlanRequest) (*apiv1.PlanResponse, error)
- func (p *Plugin) PlanMonitoring(ctx context.Context, reg *registry.Registry, r *apiv1.PlanMonitoringRequest) (*apiv1.PlanMonitoringResponse, error)
- func (p *Plugin) PluginContext() *config.PluginContext
- func (p *Plugin) ProjectInit(ctx context.Context, r *apiv1.ProjectInitRequest) (*apiv1.ProjectInitResponse, error)
- func (p *Plugin) ReleaseLocks(ctx context.Context, r *apiv1.ReleaseLocksRequest) (*apiv1.ReleaseLocksResponse, error)
- func (p *Plugin) ReleaseStateLock(ctx context.Context, r *apiv1.ReleaseStateLockRequest) (*apiv1.ReleaseStateLockResponse, error)
- func (p *Plugin) ReplaceSecrets(ctx context.Context, req *apiv1.ReplaceSecretsRequest) (*apiv1.ReplaceSecretsResponse, error)
- func (p *Plugin) SaveState(ctx context.Context, r *apiv1.SaveStateRequest) (*apiv1.SaveStateResponse, error)
- func (p *Plugin) SetSecret(ctx context.Context, req *apiv1.SetSecretRequest) (*apiv1.SetSecretResponse, error)
- func (p *Plugin) Start(ctx context.Context, r *apiv1.StartRequest) (*apiv1.StartResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) AcquireLocks ¶ added in v0.1.41
func (p *Plugin) AcquireLocks(r *apiv1.AcquireLocksRequest, stream apiv1.LockingPluginService_AcquireLocksServer) error
func (*Plugin) Apply ¶ added in v0.1.41
func (p *Plugin) Apply(r *apiv1.ApplyRequest, reg *registry.Registry, stream apiv1.DeployPluginService_ApplyServer) error
func (*Plugin) ApplyMonitoring ¶ added in v0.1.101
func (p *Plugin) ApplyMonitoring(r *apiv1.ApplyMonitoringRequest, reg *registry.Registry, stream apiv1.MonitoringPluginService_ApplyMonitoringServer) error
func (*Plugin) Command ¶ added in v0.1.51
func (p *Plugin) Command(ctx context.Context, req *apiv1.CommandRequest) (*apiv1.CommandResponse, error)
func (*Plugin) CreateServiceAccount ¶ added in v0.1.58
func (*Plugin) DeleteSecret ¶ added in v0.1.91
func (p *Plugin) DeleteSecret(ctx context.Context, req *apiv1.DeleteSecretRequest) (*apiv1.DeleteSecretResponse, error)
func (*Plugin) DeleteSecrets ¶ added in v0.1.91
func (p *Plugin) DeleteSecrets(ctx context.Context, req *apiv1.DeleteSecretsRequest) (*apiv1.DeleteSecretsResponse, error)
func (*Plugin) GetSecret ¶ added in v0.1.91
func (p *Plugin) GetSecret(ctx context.Context, req *apiv1.GetSecretRequest) (*apiv1.GetSecretResponse, error)
func (*Plugin) GetSecrets ¶ added in v0.1.91
func (p *Plugin) GetSecrets(ctx context.Context, req *apiv1.GetSecretsRequest) (*apiv1.GetSecretsResponse, error)
func (*Plugin) GetState ¶
func (p *Plugin) GetState(r *apiv1.GetStateRequest, stream apiv1.StatePluginService_GetStateServer) error
func (*Plugin) Logs ¶ added in v0.1.82
func (p *Plugin) Logs(r *apiv1.LogsRequest, srv apiv1.LogsPluginService_LogsServer) error
func (*Plugin) Plan ¶
func (p *Plugin) Plan(ctx context.Context, reg *registry.Registry, r *apiv1.PlanRequest) (*apiv1.PlanResponse, error)
func (*Plugin) PlanMonitoring ¶ added in v0.1.101
func (p *Plugin) PlanMonitoring(ctx context.Context, reg *registry.Registry, r *apiv1.PlanMonitoringRequest) (*apiv1.PlanMonitoringResponse, error)
func (*Plugin) PluginContext ¶
func (p *Plugin) PluginContext() *config.PluginContext
func (*Plugin) ProjectInit ¶ added in v0.1.41
func (p *Plugin) ProjectInit(ctx context.Context, r *apiv1.ProjectInitRequest) (*apiv1.ProjectInitResponse, error)
func (*Plugin) ReleaseLocks ¶ added in v0.1.41
func (p *Plugin) ReleaseLocks(ctx context.Context, r *apiv1.ReleaseLocksRequest) (*apiv1.ReleaseLocksResponse, error)
func (*Plugin) ReleaseStateLock ¶ added in v0.1.41
func (p *Plugin) ReleaseStateLock(ctx context.Context, r *apiv1.ReleaseStateLockRequest) (*apiv1.ReleaseStateLockResponse, error)
func (*Plugin) ReplaceSecrets ¶ added in v0.1.91
func (p *Plugin) ReplaceSecrets(ctx context.Context, req *apiv1.ReplaceSecretsRequest) (*apiv1.ReplaceSecretsResponse, error)
func (*Plugin) SaveState ¶
func (p *Plugin) SaveState(ctx context.Context, r *apiv1.SaveStateRequest) (*apiv1.SaveStateResponse, error)
func (*Plugin) SetSecret ¶ added in v0.1.91
func (p *Plugin) SetSecret(ctx context.Context, req *apiv1.SetSecretRequest) (*apiv1.SetSecretResponse, error)
func (*Plugin) Start ¶
func (p *Plugin) Start(ctx context.Context, r *apiv1.StartRequest) (*apiv1.StartResponse, error)
Click to show internal directories.
Click to hide internal directories.