config

package
v0.0.0-...-232f9ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	mock.Mock
}

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

func (_m *Controller) UserConfigs(ctx context.Context) (map[string]*models.Value, error)

UserConfigs provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL