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