mocks

package
v0.2.19 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockAuthenticator added in v0.2.9

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

MockAuthenticator is a mock of Authenticator interface.

func NewMockAuthenticator added in v0.2.9

func NewMockAuthenticator(ctrl *gomock.Controller) *MockAuthenticator

NewMockAuthenticator creates a new mock instance.

func (*MockAuthenticator) AddSecretToAllNamespace added in v0.2.9

func (m *MockAuthenticator) AddSecretToAllNamespace(ctx context.Context) error

AddSecretToAllNamespace mocks base method.

func (*MockAuthenticator) AddToConfigMap added in v0.2.9

func (m *MockAuthenticator) AddToConfigMap(ctx context.Context, name, namespace string) error

AddToConfigMap mocks base method.

func (*MockAuthenticator) AuthFilename added in v0.2.9

func (m *MockAuthenticator) AuthFilename() string

AuthFilename mocks base method.

func (*MockAuthenticator) DelFromConfigMap added in v0.2.9

func (m *MockAuthenticator) DelFromConfigMap(ctx context.Context, name, namespace string) error

DelFromConfigMap mocks base method.

func (*MockAuthenticator) EXPECT added in v0.2.9

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

func (*MockAuthenticator) GetSecretValues added in v0.2.9

func (m *MockAuthenticator) GetSecretValues(ctx context.Context, namespace string) (map[string]interface{}, error)

GetSecretValues mocks base method.

func (*MockAuthenticator) Initialize added in v0.2.9

func (m *MockAuthenticator) Initialize(clusterName string) error

Initialize mocks base method.

type MockAuthenticatorMockRecorder added in v0.2.9

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

MockAuthenticatorMockRecorder is the mock recorder for MockAuthenticator.

func (*MockAuthenticatorMockRecorder) AddSecretToAllNamespace added in v0.2.9

func (mr *MockAuthenticatorMockRecorder) AddSecretToAllNamespace(ctx interface{}) *gomock.Call

AddSecretToAllNamespace indicates an expected call of AddSecretToAllNamespace.

func (*MockAuthenticatorMockRecorder) AddToConfigMap added in v0.2.9

func (mr *MockAuthenticatorMockRecorder) AddToConfigMap(ctx, name, namespace interface{}) *gomock.Call

AddToConfigMap indicates an expected call of AddToConfigMap.

func (*MockAuthenticatorMockRecorder) AuthFilename added in v0.2.9

func (mr *MockAuthenticatorMockRecorder) AuthFilename() *gomock.Call

AuthFilename indicates an expected call of AuthFilename.

func (*MockAuthenticatorMockRecorder) DelFromConfigMap added in v0.2.9

func (mr *MockAuthenticatorMockRecorder) DelFromConfigMap(ctx, name, namespace interface{}) *gomock.Call

DelFromConfigMap indicates an expected call of DelFromConfigMap.

func (*MockAuthenticatorMockRecorder) GetSecretValues added in v0.2.9

func (mr *MockAuthenticatorMockRecorder) GetSecretValues(ctx, namespace interface{}) *gomock.Call

GetSecretValues indicates an expected call of GetSecretValues.

func (*MockAuthenticatorMockRecorder) Initialize added in v0.2.9

func (mr *MockAuthenticatorMockRecorder) Initialize(clusterName interface{}) *gomock.Call

Initialize indicates an expected call of Initialize.

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) CreateClusterNamespace added in v0.2.9

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

CreateClusterNamespace mocks base method.

func (*MockTargetClusterClient) EXPECT

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

func (*MockTargetClusterClient) GetServerVersion

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

GetServerVersion mocks base method.

func (*MockTargetClusterClient) Initialize added in v0.2.9

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

Initialize mocks base method.

func (*MockTargetClusterClient) ToDiscoveryClient added in v0.2.9

ToDiscoveryClient mocks base method.

func (*MockTargetClusterClient) ToRESTConfig added in v0.2.9

func (m *MockTargetClusterClient) ToRESTConfig() (*rest.Config, error)

ToRESTConfig mocks base method.

func (*MockTargetClusterClient) ToRESTMapper added in v0.2.9

func (m *MockTargetClusterClient) ToRESTMapper() (meta.RESTMapper, error)

ToRESTMapper mocks base method.

func (*MockTargetClusterClient) ToRawKubeConfigLoader added in v0.2.9

func (m *MockTargetClusterClient) ToRawKubeConfigLoader() clientcmd.ClientConfig

ToRawKubeConfigLoader mocks base method.

type MockTargetClusterClientMockRecorder

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

MockTargetClusterClientMockRecorder is the mock recorder for MockTargetClusterClient.

func (*MockTargetClusterClientMockRecorder) CreateClusterNamespace added in v0.2.9

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

CreateClusterNamespace indicates an expected call of CreateClusterNamespace.

func (*MockTargetClusterClientMockRecorder) GetServerVersion

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

GetServerVersion indicates an expected call of GetServerVersion.

func (*MockTargetClusterClientMockRecorder) Initialize added in v0.2.9

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

Initialize indicates an expected call of Initialize.

func (*MockTargetClusterClientMockRecorder) ToDiscoveryClient added in v0.2.9

func (mr *MockTargetClusterClientMockRecorder) ToDiscoveryClient() *gomock.Call

ToDiscoveryClient indicates an expected call of ToDiscoveryClient.

func (*MockTargetClusterClientMockRecorder) ToRESTConfig added in v0.2.9

func (mr *MockTargetClusterClientMockRecorder) ToRESTConfig() *gomock.Call

ToRESTConfig indicates an expected call of ToRESTConfig.

func (*MockTargetClusterClientMockRecorder) ToRESTMapper added in v0.2.9

func (mr *MockTargetClusterClientMockRecorder) ToRESTMapper() *gomock.Call

ToRESTMapper indicates an expected call of ToRESTMapper.

func (*MockTargetClusterClientMockRecorder) ToRawKubeConfigLoader added in v0.2.9

func (mr *MockTargetClusterClientMockRecorder) ToRawKubeConfigLoader() *gomock.Call

ToRawKubeConfigLoader indicates an expected call of ToRawKubeConfigLoader.

Jump to

Keyboard shortcuts

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