Documentation ¶
Index ¶
- type Manager
- func (m *Manager) Add(options ...types.DeviceOption) (*lm.RestDevice, error)
- func (m *Manager) Config() *config.Config
- func (m *Manager) DeleteByID(id int32) error
- func (m *Manager) DeleteByName(name string) error
- func (m *Manager) FindByDisplayName(name string) (*lm.RestDevice, error)
- func (m *Manager) FindByName(name string) (*lm.RestDevice, error)
- func (m *Manager) UpdateAndReplaceByID(id int32, options ...types.DeviceOption) (*lm.RestDevice, error)
- func (m *Manager) UpdateAndReplaceByName(name string, options ...types.DeviceOption) (*lm.RestDevice, error)
- func (m *Manager) UpdateAndReplaceFieldByID(id int32, field string, options ...types.DeviceOption) (*lm.RestDevice, error)
- func (m *Manager) UpdateAndReplaceFieldByName(name string, field string, options ...types.DeviceOption) (*lm.RestDevice, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager implements types.DeviceManager
func (*Manager) Add ¶
func (m *Manager) Add(options ...types.DeviceOption) (*lm.RestDevice, error)
Add implements types.DeviceManager.
func (*Manager) DeleteByID ¶
DeleteByID implements types.DeviceManager.
func (*Manager) DeleteByName ¶
DeleteByName implements types.DeviceManager.
func (*Manager) FindByDisplayName ¶
func (m *Manager) FindByDisplayName(name string) (*lm.RestDevice, error)
FindByDisplayName implements types.DeviceManager.
func (*Manager) FindByName ¶
func (m *Manager) FindByName(name string) (*lm.RestDevice, error)
FindByName implements types.DeviceManager.
func (*Manager) UpdateAndReplaceByID ¶
func (m *Manager) UpdateAndReplaceByID(id int32, options ...types.DeviceOption) (*lm.RestDevice, error)
UpdateAndReplaceByID implements types.DeviceManager.
func (*Manager) UpdateAndReplaceByName ¶
func (m *Manager) UpdateAndReplaceByName(name string, options ...types.DeviceOption) (*lm.RestDevice, error)
UpdateAndReplaceByName implements types.DeviceManager.
func (*Manager) UpdateAndReplaceFieldByID ¶
func (m *Manager) UpdateAndReplaceFieldByID(id int32, field string, options ...types.DeviceOption) (*lm.RestDevice, error)
UpdateAndReplaceFieldByID implements types.DeviceManager.
func (*Manager) UpdateAndReplaceFieldByName ¶
func (m *Manager) UpdateAndReplaceFieldByName(name string, field string, options ...types.DeviceOption) (*lm.RestDevice, error)
UpdateAndReplaceFieldByName implements types.DeviceManager.
Click to show internal directories.
Click to hide internal directories.