mocks

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 4 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 MockTargetClusterClient

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

MockTargetClusterClient is a mock of TargetClusterClient interface.

func NewMockTargetClusterClient

func NewMockTargetClusterClient(ctrl *gomock.Controller) *MockTargetClusterClient

NewMockTargetClusterClient creates a new mock instance.

func (*MockTargetClusterClient) EXPECT

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

func (*MockTargetClusterClient) GetKubeconfigFile

func (m *MockTargetClusterClient) GetKubeconfigFile(ctx context.Context, clusterName string) (string, error)

GetKubeconfigFile mocks base method.

func (*MockTargetClusterClient) GetKubeconfigString

func (m *MockTargetClusterClient) GetKubeconfigString(ctx context.Context, clusterName string) ([]byte, error)

GetKubeconfigString mocks base method.

func (*MockTargetClusterClient) GetServerVersion

func (m *MockTargetClusterClient) GetServerVersion(ctx context.Context, clusterName string) (*version.Info, error)

GetServerVersion mocks base method.

type MockTargetClusterClientMockRecorder

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

MockTargetClusterClientMockRecorder is the mock recorder for MockTargetClusterClient.

func (*MockTargetClusterClientMockRecorder) GetKubeconfigFile

func (mr *MockTargetClusterClientMockRecorder) GetKubeconfigFile(ctx, clusterName interface{}) *gomock.Call

GetKubeconfigFile indicates an expected call of GetKubeconfigFile.

func (*MockTargetClusterClientMockRecorder) GetKubeconfigString

func (mr *MockTargetClusterClientMockRecorder) GetKubeconfigString(ctx, clusterName interface{}) *gomock.Call

GetKubeconfigString indicates an expected call of GetKubeconfigString.

func (*MockTargetClusterClientMockRecorder) GetServerVersion

func (mr *MockTargetClusterClientMockRecorder) GetServerVersion(ctx, clusterName interface{}) *gomock.Call

GetServerVersion indicates an expected call of GetServerVersion.

Jump to

Keyboard shortcuts

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