testing

package
v1.8.1 Latest Latest
Warning

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

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

Documentation

Overview

Package testing is a generated GoMock package.

Index

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

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) Run

func (m *MockProvider) Run(arg0 <-chan struct{})

Run mocks base method

func (*MockProvider) SyncLoop

func (m *MockProvider) SyncLoop()

SyncLoop 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

Jump to

Keyboard shortcuts

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