Documentation ¶
Index ¶
- type Controller
- func (_m *Controller) AllConfigs(ctx context.Context) (map[string]interface{}, error)
- func (_m *Controller) ConvertForGet(ctx context.Context, cfg map[string]interface{}, internal bool) (map[string]*models.Value, error)
- func (_m *Controller) OverwriteConfig(ctx context.Context) error
- func (_m *Controller) UpdateUserConfigs(ctx context.Context, conf map[string]interface{}) error
- func (_m *Controller) UserConfigs(ctx context.Context) (map[string]*models.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
Controller is an autogenerated mock type for the Controller type
func NewController ¶
func NewController(t interface { mock.TestingT Cleanup(func()) }) *Controller
NewController creates a new instance of Controller. 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 (*Controller) AllConfigs ¶
func (_m *Controller) AllConfigs(ctx context.Context) (map[string]interface{}, error)
AllConfigs provides a mock function with given fields: ctx
func (*Controller) ConvertForGet ¶
func (_m *Controller) ConvertForGet(ctx context.Context, cfg map[string]interface{}, internal bool) (map[string]*models.Value, error)
ConvertForGet provides a mock function with given fields: ctx, cfg, internal
func (*Controller) OverwriteConfig ¶
func (_m *Controller) OverwriteConfig(ctx context.Context) error
OverwriteConfig provides a mock function with given fields: ctx
func (*Controller) UpdateUserConfigs ¶
func (_m *Controller) UpdateUserConfigs(ctx context.Context, conf map[string]interface{}) error
UpdateUserConfigs provides a mock function with given fields: ctx, conf
func (*Controller) UserConfigs ¶
UserConfigs provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.