Documentation ¶
Index ¶
- type InstancesManager
- func (t *InstancesManager) DeleteState(ctx context.Context, name string, namespace string) error
- func (t *InstancesManager) GetState(ctx context.Context, id string, namespace string) (model.InstanceState, error)
- func (s *InstancesManager) Init(context *contexts.VendorContext, config managers.ManagerConfig, ...) error
- func (t *InstancesManager) ListState(ctx context.Context, namespace string) ([]model.InstanceState, error)
- func (t *InstancesManager) UpsertState(ctx context.Context, name string, state model.InstanceState) error
- func (t *InstancesManager) ValidateCreateOrUpdate(ctx context.Context, state model.InstanceState) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstancesManager ¶
type InstancesManager struct { managers.Manager StateProvider states.IStateProvider InstanceValidator validation.InstanceValidator // contains filtered or unexported fields }
func (*InstancesManager) DeleteState ¶
func (*InstancesManager) GetState ¶
func (t *InstancesManager) GetState(ctx context.Context, id string, namespace string) (model.InstanceState, error)
func (*InstancesManager) Init ¶
func (s *InstancesManager) Init(context *contexts.VendorContext, config managers.ManagerConfig, providers map[string]providers.IProvider) error
func (*InstancesManager) ListState ¶
func (t *InstancesManager) ListState(ctx context.Context, namespace string) ([]model.InstanceState, error)
func (*InstancesManager) UpsertState ¶
func (t *InstancesManager) UpsertState(ctx context.Context, name string, state model.InstanceState) error
func (*InstancesManager) ValidateCreateOrUpdate ¶
func (t *InstancesManager) ValidateCreateOrUpdate(ctx context.Context, state model.InstanceState) error
Click to show internal directories.
Click to hide internal directories.