mocks

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t mockConstructorTestingTNewClient) *Client

NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Client) ConfigurationValueExists

func (_m *Client) ConfigurationValueExists(name string) (bool, error)

ConfigurationValueExists provides a mock function with given fields: name

func (*Client) GetConfiguration

func (_m *Client) GetConfiguration(configStruct interface{}) (interface{}, error)

GetConfiguration provides a mock function with given fields: configStruct

func (*Client) GetConfigurationKeys

func (_m *Client) GetConfigurationKeys(name string) ([]string, error)

GetConfigurationKeys provides a mock function with given fields: name

func (*Client) GetConfigurationValue

func (_m *Client) GetConfigurationValue(name string) ([]byte, error)

GetConfigurationValue provides a mock function with given fields: name

func (*Client) GetConfigurationValueByFullPath

func (_m *Client) GetConfigurationValueByFullPath(fullPath string) ([]byte, error)

GetConfigurationValueByFullPath provides a mock function with given fields: fullPath

func (*Client) HasConfiguration

func (_m *Client) HasConfiguration() (bool, error)

HasConfiguration provides a mock function with given fields:

func (*Client) HasSubConfiguration

func (_m *Client) HasSubConfiguration(name string) (bool, error)

HasSubConfiguration provides a mock function with given fields: name

func (*Client) IsAlive

func (_m *Client) IsAlive() bool

IsAlive provides a mock function with given fields:

func (*Client) PutConfiguration

func (_m *Client) PutConfiguration(configStruct interface{}, overwrite bool) error

PutConfiguration provides a mock function with given fields: configStruct, overwrite

func (*Client) PutConfigurationMap

func (_m *Client) PutConfigurationMap(_a0 map[string]interface{}, overwrite bool) error

PutConfigurationMap provides a mock function with given fields: _a0, overwrite

func (*Client) PutConfigurationValue

func (_m *Client) PutConfigurationValue(name string, value []byte) error

PutConfigurationValue provides a mock function with given fields: name, value

func (*Client) StopWatching

func (_m *Client) StopWatching()

StopWatching provides a mock function with given fields:

func (*Client) WatchForChanges

func (_m *Client) WatchForChanges(updateChannel chan<- interface{}, errorChannel chan<- error, _a2 interface{}, waitKey string)

WatchForChanges provides a mock function with given fields: updateChannel, errorChannel, _a2, waitKey

Jump to

Keyboard shortcuts

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