instances

package
v0.0.0-...-726864f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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 (t *InstancesManager) DeleteState(ctx context.Context, name string, namespace string) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL