Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: antrea.io/antrea/third_party/proxy (interfaces: Provider)
Generated by this command:
mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination third_party/proxy/testing/mock_proxy.go -package testing antrea.io/antrea/third_party/proxy Provider
Package testing is a generated GoMock package.
Index ¶
- type MockProvider
- func (m *MockProvider) EXPECT() *MockProviderMockRecorder
- func (m *MockProvider) OnEndpointSliceAdd(arg0 *v10.EndpointSlice)
- func (m *MockProvider) OnEndpointSliceDelete(arg0 *v10.EndpointSlice)
- func (m *MockProvider) OnEndpointSliceUpdate(arg0, arg1 *v10.EndpointSlice)
- func (m *MockProvider) OnEndpointSlicesSynced()
- 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) OnNodeAdd(arg0 *v1.Node)
- func (m *MockProvider) OnNodeDelete(arg0 *v1.Node)
- func (m *MockProvider) OnNodeSynced()
- func (m *MockProvider) OnNodeUpdate(arg0, arg1 *v1.Node)
- 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) OnEndpointSliceAdd(arg0 any) *gomock.Call
- func (mr *MockProviderMockRecorder) OnEndpointSliceDelete(arg0 any) *gomock.Call
- func (mr *MockProviderMockRecorder) OnEndpointSliceUpdate(arg0, arg1 any) *gomock.Call
- func (mr *MockProviderMockRecorder) OnEndpointSlicesSynced() *gomock.Call
- func (mr *MockProviderMockRecorder) OnEndpointsAdd(arg0 any) *gomock.Call
- func (mr *MockProviderMockRecorder) OnEndpointsDelete(arg0 any) *gomock.Call
- func (mr *MockProviderMockRecorder) OnEndpointsSynced() *gomock.Call
- func (mr *MockProviderMockRecorder) OnEndpointsUpdate(arg0, arg1 any) *gomock.Call
- func (mr *MockProviderMockRecorder) OnNodeAdd(arg0 any) *gomock.Call
- func (mr *MockProviderMockRecorder) OnNodeDelete(arg0 any) *gomock.Call
- func (mr *MockProviderMockRecorder) OnNodeSynced() *gomock.Call
- func (mr *MockProviderMockRecorder) OnNodeUpdate(arg0, arg1 any) *gomock.Call
- func (mr *MockProviderMockRecorder) OnServiceAdd(arg0 any) *gomock.Call
- func (mr *MockProviderMockRecorder) OnServiceDelete(arg0 any) *gomock.Call
- func (mr *MockProviderMockRecorder) OnServiceSynced() *gomock.Call
- func (mr *MockProviderMockRecorder) OnServiceUpdate(arg0, arg1 any) *gomock.Call
- func (mr *MockProviderMockRecorder) Run(arg0 any) *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) OnEndpointSliceAdd ¶ added in v1.11.0
func (m *MockProvider) OnEndpointSliceAdd(arg0 *v10.EndpointSlice)
OnEndpointSliceAdd mocks base method.
func (*MockProvider) OnEndpointSliceDelete ¶ added in v1.11.0
func (m *MockProvider) OnEndpointSliceDelete(arg0 *v10.EndpointSlice)
OnEndpointSliceDelete mocks base method.
func (*MockProvider) OnEndpointSliceUpdate ¶ added in v1.11.0
func (m *MockProvider) OnEndpointSliceUpdate(arg0, arg1 *v10.EndpointSlice)
OnEndpointSliceUpdate mocks base method.
func (*MockProvider) OnEndpointSlicesSynced ¶ added in v1.11.0
func (m *MockProvider) OnEndpointSlicesSynced()
OnEndpointSlicesSynced mocks base method.
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) OnNodeAdd ¶ added in v1.11.0
func (m *MockProvider) OnNodeAdd(arg0 *v1.Node)
OnNodeAdd mocks base method.
func (*MockProvider) OnNodeDelete ¶ added in v1.11.0
func (m *MockProvider) OnNodeDelete(arg0 *v1.Node)
OnNodeDelete mocks base method.
func (*MockProvider) OnNodeSynced ¶ added in v1.11.0
func (m *MockProvider) OnNodeSynced()
OnNodeSynced mocks base method.
func (*MockProvider) OnNodeUpdate ¶ added in v1.11.0
func (m *MockProvider) OnNodeUpdate(arg0, arg1 *v1.Node)
OnNodeUpdate 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) OnEndpointSliceAdd ¶ added in v1.11.0
func (mr *MockProviderMockRecorder) OnEndpointSliceAdd(arg0 any) *gomock.Call
OnEndpointSliceAdd indicates an expected call of OnEndpointSliceAdd.
func (*MockProviderMockRecorder) OnEndpointSliceDelete ¶ added in v1.11.0
func (mr *MockProviderMockRecorder) OnEndpointSliceDelete(arg0 any) *gomock.Call
OnEndpointSliceDelete indicates an expected call of OnEndpointSliceDelete.
func (*MockProviderMockRecorder) OnEndpointSliceUpdate ¶ added in v1.11.0
func (mr *MockProviderMockRecorder) OnEndpointSliceUpdate(arg0, arg1 any) *gomock.Call
OnEndpointSliceUpdate indicates an expected call of OnEndpointSliceUpdate.
func (*MockProviderMockRecorder) OnEndpointSlicesSynced ¶ added in v1.11.0
func (mr *MockProviderMockRecorder) OnEndpointSlicesSynced() *gomock.Call
OnEndpointSlicesSynced indicates an expected call of OnEndpointSlicesSynced.
func (*MockProviderMockRecorder) OnEndpointsAdd ¶
func (mr *MockProviderMockRecorder) OnEndpointsAdd(arg0 any) *gomock.Call
OnEndpointsAdd indicates an expected call of OnEndpointsAdd.
func (*MockProviderMockRecorder) OnEndpointsDelete ¶
func (mr *MockProviderMockRecorder) OnEndpointsDelete(arg0 any) *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 any) *gomock.Call
OnEndpointsUpdate indicates an expected call of OnEndpointsUpdate.
func (*MockProviderMockRecorder) OnNodeAdd ¶ added in v1.11.0
func (mr *MockProviderMockRecorder) OnNodeAdd(arg0 any) *gomock.Call
OnNodeAdd indicates an expected call of OnNodeAdd.
func (*MockProviderMockRecorder) OnNodeDelete ¶ added in v1.11.0
func (mr *MockProviderMockRecorder) OnNodeDelete(arg0 any) *gomock.Call
OnNodeDelete indicates an expected call of OnNodeDelete.
func (*MockProviderMockRecorder) OnNodeSynced ¶ added in v1.11.0
func (mr *MockProviderMockRecorder) OnNodeSynced() *gomock.Call
OnNodeSynced indicates an expected call of OnNodeSynced.
func (*MockProviderMockRecorder) OnNodeUpdate ¶ added in v1.11.0
func (mr *MockProviderMockRecorder) OnNodeUpdate(arg0, arg1 any) *gomock.Call
OnNodeUpdate indicates an expected call of OnNodeUpdate.
func (*MockProviderMockRecorder) OnServiceAdd ¶
func (mr *MockProviderMockRecorder) OnServiceAdd(arg0 any) *gomock.Call
OnServiceAdd indicates an expected call of OnServiceAdd.
func (*MockProviderMockRecorder) OnServiceDelete ¶
func (mr *MockProviderMockRecorder) OnServiceDelete(arg0 any) *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 any) *gomock.Call
OnServiceUpdate indicates an expected call of OnServiceUpdate.
func (*MockProviderMockRecorder) Run ¶
func (mr *MockProviderMockRecorder) Run(arg0 any) *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.