mock_config

package
v0.0.0-...-97dd610 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_config is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGovernanceConfig

type MockGovernanceConfig struct {
	// contains filtered or unexported fields
}

MockGovernanceConfig is a mock of GovernanceConfig interface.

func NewMockGovernanceConfig

func NewMockGovernanceConfig(ctrl *gomock.Controller) *MockGovernanceConfig

NewMockGovernanceConfig creates a new mock instance.

func (*MockGovernanceConfig) DeleteConfig

func (m *MockGovernanceConfig) DeleteConfig(key string) error

DeleteConfig mocks base method.

func (*MockGovernanceConfig) DeleteConfigWithGroup

func (m *MockGovernanceConfig) DeleteConfigWithGroup(group, key string) error

DeleteConfigWithGroup mocks base method.

func (*MockGovernanceConfig) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGovernanceConfig) GetConfig

func (m *MockGovernanceConfig) GetConfig(key string) (string, error)

GetConfig mocks base method.

func (*MockGovernanceConfig) GetConfigWithGroup

func (m *MockGovernanceConfig) GetConfigWithGroup(group, key string) (string, error)

GetConfigWithGroup mocks base method.

func (*MockGovernanceConfig) GetList

func (m *MockGovernanceConfig) GetList(group string) (map[string]string, error)

GetList mocks base method.

func (*MockGovernanceConfig) Register

func (m *MockGovernanceConfig) Register(url *common.URL) error

Register mocks base method.

func (*MockGovernanceConfig) SetConfig

func (m *MockGovernanceConfig) SetConfig(key, value string) error

SetConfig mocks base method.

func (*MockGovernanceConfig) SetConfigWithGroup

func (m *MockGovernanceConfig) SetConfigWithGroup(group, key, value string) error

SetConfigWithGroup mocks base method.

func (*MockGovernanceConfig) UnRegister

func (m *MockGovernanceConfig) UnRegister(url *common.URL) error

UnRegister mocks base method.

type MockGovernanceConfigMockRecorder

type MockGovernanceConfigMockRecorder struct {
	// contains filtered or unexported fields
}

MockGovernanceConfigMockRecorder is the mock recorder for MockGovernanceConfig.

func (*MockGovernanceConfigMockRecorder) DeleteConfig

func (mr *MockGovernanceConfigMockRecorder) DeleteConfig(key interface{}) *gomock.Call

DeleteConfig indicates an expected call of DeleteConfig.

func (*MockGovernanceConfigMockRecorder) DeleteConfigWithGroup

func (mr *MockGovernanceConfigMockRecorder) DeleteConfigWithGroup(group, key interface{}) *gomock.Call

DeleteConfigWithGroup indicates an expected call of DeleteConfigWithGroup.

func (*MockGovernanceConfigMockRecorder) GetConfig

func (mr *MockGovernanceConfigMockRecorder) GetConfig(key interface{}) *gomock.Call

GetConfig indicates an expected call of GetConfig.

func (*MockGovernanceConfigMockRecorder) GetConfigWithGroup

func (mr *MockGovernanceConfigMockRecorder) GetConfigWithGroup(group, key interface{}) *gomock.Call

GetConfigWithGroup indicates an expected call of GetConfigWithGroup.

func (*MockGovernanceConfigMockRecorder) GetList

func (mr *MockGovernanceConfigMockRecorder) GetList(group interface{}) *gomock.Call

GetList indicates an expected call of GetList.

func (*MockGovernanceConfigMockRecorder) Register

func (mr *MockGovernanceConfigMockRecorder) Register(url interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockGovernanceConfigMockRecorder) SetConfig

func (mr *MockGovernanceConfigMockRecorder) SetConfig(key, value interface{}) *gomock.Call

SetConfig indicates an expected call of SetConfig.

func (*MockGovernanceConfigMockRecorder) SetConfigWithGroup

func (mr *MockGovernanceConfigMockRecorder) SetConfigWithGroup(group, key, value interface{}) *gomock.Call

SetConfigWithGroup indicates an expected call of SetConfigWithGroup.

func (*MockGovernanceConfigMockRecorder) UnRegister

func (mr *MockGovernanceConfigMockRecorder) UnRegister(url interface{}) *gomock.Call

UnRegister indicates an expected call of UnRegister.

Jump to

Keyboard shortcuts

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