Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) Get(ctx context.Context, key string) *metadata.ConfigureValue
- func (_m *Manager) GetAll(ctx context.Context) map[string]interface{}
- func (_m *Manager) GetDatabaseCfg() *models.Database
- func (_m *Manager) GetUserCfgs(ctx context.Context) map[string]interface{}
- func (_m *Manager) Load(ctx context.Context) error
- func (_m *Manager) Save(ctx context.Context) error
- func (_m *Manager) Set(ctx context.Context, key string, value interface{})
- func (_m *Manager) UpdateConfig(ctx context.Context, cfgs map[string]interface{}) error
- func (_m *Manager) ValidateCfg(ctx context.Context, cfgs map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶
NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Manager) GetDatabaseCfg ¶
GetDatabaseCfg provides a mock function with given fields:
func (*Manager) GetUserCfgs ¶
GetUserCfgs provides a mock function with given fields: ctx
func (*Manager) UpdateConfig ¶
UpdateConfig provides a mock function with given fields: ctx, cfgs
Click to show internal directories.
Click to hide internal directories.