Documentation
¶
Index ¶
- type Client
- func (_m *Client) ConfigurationValueExists(name string) (bool, error)
- func (_m *Client) GetConfiguration(configStruct interface{}) (interface{}, error)
- func (_m *Client) GetConfigurationKeys(name string) ([]string, error)
- func (_m *Client) GetConfigurationValue(name string) ([]byte, error)
- func (_m *Client) GetConfigurationValueByFullPath(fullPath string) ([]byte, error)
- func (_m *Client) HasConfiguration() (bool, error)
- func (_m *Client) HasSubConfiguration(name string) (bool, error)
- func (_m *Client) IsAlive() bool
- func (_m *Client) PutConfiguration(configStruct interface{}, overwrite bool) error
- func (_m *Client) PutConfigurationMap(_a0 map[string]interface{}, overwrite bool) error
- func (_m *Client) PutConfigurationValue(name string, value []byte) error
- func (_m *Client) StopWatching()
- func (_m *Client) WatchForChanges(updateChannel chan<- interface{}, errorChannel chan<- error, _a2 interface{}, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
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. The first argument is typically a *testing.T value.
func (*Client) ConfigurationValueExists ¶
ConfigurationValueExists provides a mock function with given fields: name
func (*Client) GetConfiguration ¶
GetConfiguration provides a mock function with given fields: configStruct
func (*Client) GetConfigurationKeys ¶
GetConfigurationKeys provides a mock function with given fields: name
func (*Client) GetConfigurationValue ¶
GetConfigurationValue provides a mock function with given fields: name
func (*Client) GetConfigurationValueByFullPath ¶
GetConfigurationValueByFullPath provides a mock function with given fields: fullPath
func (*Client) HasConfiguration ¶
HasConfiguration provides a mock function with no fields
func (*Client) HasSubConfiguration ¶
HasSubConfiguration provides a mock function with given fields: name
func (*Client) PutConfiguration ¶
PutConfiguration provides a mock function with given fields: configStruct, overwrite
func (*Client) PutConfigurationMap ¶
PutConfigurationMap provides a mock function with given fields: _a0, overwrite
func (*Client) PutConfigurationValue ¶
PutConfigurationValue provides a mock function with given fields: name, value
func (*Client) StopWatching ¶
func (_m *Client) StopWatching()
StopWatching provides a mock function with no fields
func (*Client) WatchForChanges ¶
func (_m *Client) WatchForChanges(updateChannel chan<- interface{}, errorChannel chan<- error, _a2 interface{}, waitKey string, getMsgClientCb func() messaging.MessageClient)
WatchForChanges provides a mock function with given fields: updateChannel, errorChannel, _a2, waitKey, getMsgClientCb