Documentation ¶
Index ¶
- Constants
- type Manager
- func (mm *Manager) AddWorkerMessage(message workertypes.MessageContent)
- func (mm *Manager) Delete(message *clienttypes.Message) error
- func (mm *Manager) GetModel(name string) (sednav1.Model, bool)
- func (mm *Manager) GetName() string
- func (mm *Manager) Insert(message *clienttypes.Message) error
- func (mm *Manager) Start() error
Constants ¶
View Source
const (
// KindName is kind of model resource
KindName = "model"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { Client clienttypes.ClientI ModelMap map[string]sednav1.Model }
ModelManager defines model manager
func (*Manager) AddWorkerMessage ¶
func (mm *Manager) AddWorkerMessage(message workertypes.MessageContent)
func (*Manager) Delete ¶
func (mm *Manager) Delete(message *clienttypes.Message) error
Delete deletes model in db
Click to show internal directories.
Click to hide internal directories.