Documentation
¶
Index ¶
- type Manager
- func (m *Manager) FindConfigInstance(instanceType, instanceName string) (*model.ConfigInstance, error)
- func (m *Manager) GetAllInstances() []*model.ConfigInstance
- func (m *Manager) GetInstance(instanceType, instanceName string) *model.ConfigInstance
- func (m *Manager) RegisterInstance(ctx context.Context, arrURL, apiKey string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(configGetter config.ConfigGetter, configManager model.ConfigManager) *Manager
func (*Manager) FindConfigInstance ¶
func (m *Manager) FindConfigInstance(instanceType, instanceName string) (*model.ConfigInstance, error)
FindConfigInstance finds a specific instance by type and name
func (*Manager) GetAllInstances ¶
func (m *Manager) GetAllInstances() []*model.ConfigInstance
GetAllInstances returns all arrs instances from current configuration
func (*Manager) GetInstance ¶
func (m *Manager) GetInstance(instanceType, instanceName string) *model.ConfigInstance
GetInstance returns a specific instance by type and name (nil if not found)
Click to show internal directories.
Click to hide internal directories.