mocks

package
v0.16.2 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCNIReconciler

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

MockCNIReconciler is a mock of CNIReconciler interface.

func NewMockCNIReconciler

func NewMockCNIReconciler(ctrl *gomock.Controller) *MockCNIReconciler

NewMockCNIReconciler creates a new mock instance.

func (*MockCNIReconciler) EXPECT

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

func (*MockCNIReconciler) Reconcile

func (m *MockCNIReconciler) Reconcile(ctx context.Context, logger logr.Logger, client client.Client, spec *cluster.Spec) (controller.Result, error)

Reconcile mocks base method.

type MockCNIReconcilerMockRecorder

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

MockCNIReconcilerMockRecorder is the mock recorder for MockCNIReconciler.

func (*MockCNIReconcilerMockRecorder) Reconcile

func (mr *MockCNIReconcilerMockRecorder) Reconcile(ctx, logger, client, spec interface{}) *gomock.Call

Reconcile indicates an expected call of Reconcile.

type MockIPValidator

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

MockIPValidator is a mock of IPValidator interface.

func NewMockIPValidator

func NewMockIPValidator(ctrl *gomock.Controller) *MockIPValidator

NewMockIPValidator creates a new mock instance.

func (*MockIPValidator) EXPECT

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

func (*MockIPValidator) ValidateControlPlaneIP

func (m *MockIPValidator) ValidateControlPlaneIP(ctx context.Context, log logr.Logger, spec *cluster.Spec) (controller.Result, error)

ValidateControlPlaneIP mocks base method.

type MockIPValidatorMockRecorder

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

MockIPValidatorMockRecorder is the mock recorder for MockIPValidator.

func (*MockIPValidatorMockRecorder) ValidateControlPlaneIP

func (mr *MockIPValidatorMockRecorder) ValidateControlPlaneIP(ctx, log, spec interface{}) *gomock.Call

ValidateControlPlaneIP indicates an expected call of ValidateControlPlaneIP.

type MockRemoteClientRegistry

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

MockRemoteClientRegistry is a mock of RemoteClientRegistry interface.

func NewMockRemoteClientRegistry

func NewMockRemoteClientRegistry(ctrl *gomock.Controller) *MockRemoteClientRegistry

NewMockRemoteClientRegistry creates a new mock instance.

func (*MockRemoteClientRegistry) EXPECT

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

func (*MockRemoteClientRegistry) GetClient

GetClient mocks base method.

type MockRemoteClientRegistryMockRecorder

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

MockRemoteClientRegistryMockRecorder is the mock recorder for MockRemoteClientRegistry.

func (*MockRemoteClientRegistryMockRecorder) GetClient

func (mr *MockRemoteClientRegistryMockRecorder) GetClient(ctx, cluster interface{}) *gomock.Call

GetClient indicates an expected call of GetClient.

Jump to

Keyboard shortcuts

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