Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockProvider
- func (m *MockProvider) EXPECT() *MockProviderMockRecorder
- func (m *MockProvider) OnEndpointsAdd(arg0 *v1.Endpoints)
- func (m *MockProvider) OnEndpointsDelete(arg0 *v1.Endpoints)
- func (m *MockProvider) OnEndpointsSynced()
- func (m *MockProvider) OnEndpointsUpdate(arg0, arg1 *v1.Endpoints)
- func (m *MockProvider) OnServiceAdd(arg0 *v1.Service)
- func (m *MockProvider) OnServiceDelete(arg0 *v1.Service)
- func (m *MockProvider) OnServiceSynced()
- func (m *MockProvider) OnServiceUpdate(arg0, arg1 *v1.Service)
- func (m *MockProvider) Run(arg0 <-chan struct{})
- func (m *MockProvider) SyncLoop()
- func (m *MockProvider) SyncedOnce() bool
- type MockProviderMockRecorder
- func (mr *MockProviderMockRecorder) OnEndpointsAdd(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) OnEndpointsDelete(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) OnEndpointsSynced() *gomock.Call
- func (mr *MockProviderMockRecorder) OnEndpointsUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) OnServiceAdd(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) OnServiceDelete(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) OnServiceSynced() *gomock.Call
- func (mr *MockProviderMockRecorder) OnServiceUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) Run(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) SyncLoop() *gomock.Call
- func (mr *MockProviderMockRecorder) SyncedOnce() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProvider ¶
type MockProvider struct {
// contains filtered or unexported fields
}
MockProvider is a mock of Provider interface
func NewMockProvider ¶
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
NewMockProvider creates a new mock instance
func (*MockProvider) EXPECT ¶
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProvider) OnEndpointsAdd ¶
func (m *MockProvider) OnEndpointsAdd(arg0 *v1.Endpoints)
OnEndpointsAdd mocks base method
func (*MockProvider) OnEndpointsDelete ¶
func (m *MockProvider) OnEndpointsDelete(arg0 *v1.Endpoints)
OnEndpointsDelete mocks base method
func (*MockProvider) OnEndpointsSynced ¶
func (m *MockProvider) OnEndpointsSynced()
OnEndpointsSynced mocks base method
func (*MockProvider) OnEndpointsUpdate ¶
func (m *MockProvider) OnEndpointsUpdate(arg0, arg1 *v1.Endpoints)
OnEndpointsUpdate mocks base method
func (*MockProvider) OnServiceAdd ¶
func (m *MockProvider) OnServiceAdd(arg0 *v1.Service)
OnServiceAdd mocks base method
func (*MockProvider) OnServiceDelete ¶
func (m *MockProvider) OnServiceDelete(arg0 *v1.Service)
OnServiceDelete mocks base method
func (*MockProvider) OnServiceSynced ¶
func (m *MockProvider) OnServiceSynced()
OnServiceSynced mocks base method
func (*MockProvider) OnServiceUpdate ¶
func (m *MockProvider) OnServiceUpdate(arg0, arg1 *v1.Service)
OnServiceUpdate mocks base method
func (*MockProvider) SyncedOnce ¶ added in v1.4.0
func (m *MockProvider) SyncedOnce() bool
SyncedOnce mocks base method
type MockProviderMockRecorder ¶
type MockProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderMockRecorder is the mock recorder for MockProvider
func (*MockProviderMockRecorder) OnEndpointsAdd ¶
func (mr *MockProviderMockRecorder) OnEndpointsAdd(arg0 interface{}) *gomock.Call
OnEndpointsAdd indicates an expected call of OnEndpointsAdd
func (*MockProviderMockRecorder) OnEndpointsDelete ¶
func (mr *MockProviderMockRecorder) OnEndpointsDelete(arg0 interface{}) *gomock.Call
OnEndpointsDelete indicates an expected call of OnEndpointsDelete
func (*MockProviderMockRecorder) OnEndpointsSynced ¶
func (mr *MockProviderMockRecorder) OnEndpointsSynced() *gomock.Call
OnEndpointsSynced indicates an expected call of OnEndpointsSynced
func (*MockProviderMockRecorder) OnEndpointsUpdate ¶
func (mr *MockProviderMockRecorder) OnEndpointsUpdate(arg0, arg1 interface{}) *gomock.Call
OnEndpointsUpdate indicates an expected call of OnEndpointsUpdate
func (*MockProviderMockRecorder) OnServiceAdd ¶
func (mr *MockProviderMockRecorder) OnServiceAdd(arg0 interface{}) *gomock.Call
OnServiceAdd indicates an expected call of OnServiceAdd
func (*MockProviderMockRecorder) OnServiceDelete ¶
func (mr *MockProviderMockRecorder) OnServiceDelete(arg0 interface{}) *gomock.Call
OnServiceDelete indicates an expected call of OnServiceDelete
func (*MockProviderMockRecorder) OnServiceSynced ¶
func (mr *MockProviderMockRecorder) OnServiceSynced() *gomock.Call
OnServiceSynced indicates an expected call of OnServiceSynced
func (*MockProviderMockRecorder) OnServiceUpdate ¶
func (mr *MockProviderMockRecorder) OnServiceUpdate(arg0, arg1 interface{}) *gomock.Call
OnServiceUpdate indicates an expected call of OnServiceUpdate
func (*MockProviderMockRecorder) Run ¶
func (mr *MockProviderMockRecorder) Run(arg0 interface{}) *gomock.Call
Run indicates an expected call of Run
func (*MockProviderMockRecorder) SyncLoop ¶
func (mr *MockProviderMockRecorder) SyncLoop() *gomock.Call
SyncLoop indicates an expected call of SyncLoop
func (*MockProviderMockRecorder) SyncedOnce ¶ added in v1.4.0
func (mr *MockProviderMockRecorder) SyncedOnce() *gomock.Call
SyncedOnce indicates an expected call of SyncedOnce