Documentation ¶
Overview ¶
Package mock_backendconfig is a generated GoMock package.
Index ¶
- type MockBackendConfig
- func (m *MockBackendConfig) AccessToken() string
- func (m *MockBackendConfig) EXPECT() *MockBackendConfigMockRecorder
- func (m *MockBackendConfig) Get(arg0 context.Context) (map[string]backendconfig.ConfigT, error)
- func (m *MockBackendConfig) Identity() identity.Identifier
- func (m *MockBackendConfig) SetUp() error
- func (m *MockBackendConfig) StartWithIDs(arg0 context.Context, arg1 string)
- func (m *MockBackendConfig) Stop()
- func (m *MockBackendConfig) Subscribe(arg0 context.Context, arg1 backendconfig.Topic) pubsub.DataChannel
- func (m *MockBackendConfig) WaitForConfig(arg0 context.Context)
- type MockBackendConfigMockRecorder
- func (mr *MockBackendConfigMockRecorder) AccessToken() *gomock.Call
- func (mr *MockBackendConfigMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockBackendConfigMockRecorder) Identity() *gomock.Call
- func (mr *MockBackendConfigMockRecorder) SetUp() *gomock.Call
- func (mr *MockBackendConfigMockRecorder) StartWithIDs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendConfigMockRecorder) Stop() *gomock.Call
- func (mr *MockBackendConfigMockRecorder) Subscribe(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendConfigMockRecorder) WaitForConfig(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBackendConfig ¶
type MockBackendConfig struct {
// contains filtered or unexported fields
}
MockBackendConfig is a mock of BackendConfig interface.
func NewMockBackendConfig ¶
func NewMockBackendConfig(ctrl *gomock.Controller) *MockBackendConfig
NewMockBackendConfig creates a new mock instance.
func (*MockBackendConfig) AccessToken ¶
func (m *MockBackendConfig) AccessToken() string
AccessToken mocks base method.
func (*MockBackendConfig) EXPECT ¶
func (m *MockBackendConfig) EXPECT() *MockBackendConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackendConfig) Get ¶
func (m *MockBackendConfig) Get(arg0 context.Context) (map[string]backendconfig.ConfigT, error)
Get mocks base method.
func (*MockBackendConfig) Identity ¶ added in v1.2.0
func (m *MockBackendConfig) Identity() identity.Identifier
Identity mocks base method.
func (*MockBackendConfig) SetUp ¶
func (m *MockBackendConfig) SetUp() error
SetUp mocks base method.
func (*MockBackendConfig) StartWithIDs ¶
func (m *MockBackendConfig) StartWithIDs(arg0 context.Context, arg1 string)
StartWithIDs mocks base method.
func (*MockBackendConfig) Subscribe ¶
func (m *MockBackendConfig) Subscribe(arg0 context.Context, arg1 backendconfig.Topic) pubsub.DataChannel
Subscribe mocks base method.
func (*MockBackendConfig) WaitForConfig ¶
func (m *MockBackendConfig) WaitForConfig(arg0 context.Context)
WaitForConfig mocks base method.
type MockBackendConfigMockRecorder ¶
type MockBackendConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendConfigMockRecorder is the mock recorder for MockBackendConfig.
func (*MockBackendConfigMockRecorder) AccessToken ¶
func (mr *MockBackendConfigMockRecorder) AccessToken() *gomock.Call
AccessToken indicates an expected call of AccessToken.
func (*MockBackendConfigMockRecorder) Get ¶
func (mr *MockBackendConfigMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockBackendConfigMockRecorder) Identity ¶ added in v1.2.0
func (mr *MockBackendConfigMockRecorder) Identity() *gomock.Call
Identity indicates an expected call of Identity.
func (*MockBackendConfigMockRecorder) SetUp ¶
func (mr *MockBackendConfigMockRecorder) SetUp() *gomock.Call
SetUp indicates an expected call of SetUp.
func (*MockBackendConfigMockRecorder) StartWithIDs ¶
func (mr *MockBackendConfigMockRecorder) StartWithIDs(arg0, arg1 interface{}) *gomock.Call
StartWithIDs indicates an expected call of StartWithIDs.
func (*MockBackendConfigMockRecorder) Stop ¶
func (mr *MockBackendConfigMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockBackendConfigMockRecorder) Subscribe ¶
func (mr *MockBackendConfigMockRecorder) Subscribe(arg0, arg1 interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
func (*MockBackendConfigMockRecorder) WaitForConfig ¶
func (mr *MockBackendConfigMockRecorder) WaitForConfig(arg0 interface{}) *gomock.Call
WaitForConfig indicates an expected call of WaitForConfig.