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