mocks

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 6 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 MockClusterClient

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

MockClusterClient is a mock of ClusterClient interface.

func NewMockClusterClient

func NewMockClusterClient(ctrl *gomock.Controller) *MockClusterClient

NewMockClusterClient creates a new mock instance.

func (*MockClusterClient) ApplyKubeSpecFromBytes

func (m *MockClusterClient) ApplyKubeSpecFromBytes(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error

ApplyKubeSpecFromBytes mocks base method.

func (*MockClusterClient) ClusterExists

func (m *MockClusterClient) ClusterExists(arg0 context.Context, arg1 string) (bool, error)

ClusterExists mocks base method.

func (*MockClusterClient) CreateBootstrapCluster

func (m *MockClusterClient) CreateBootstrapCluster(arg0 context.Context, arg1 *cluster.Spec, arg2 ...bootstrapper.BootstrapClusterClientOption) (string, error)

CreateBootstrapCluster mocks base method.

func (*MockClusterClient) CreateNamespaceIfNotPresent added in v0.11.0

func (m *MockClusterClient) CreateNamespaceIfNotPresent(arg0 context.Context, arg1, arg2 string) error

CreateNamespaceIfNotPresent mocks base method.

func (*MockClusterClient) DeleteBootstrapCluster

func (m *MockClusterClient) DeleteBootstrapCluster(arg0 context.Context, arg1 *types.Cluster) error

DeleteBootstrapCluster mocks base method.

func (*MockClusterClient) EXPECT

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

func (*MockClusterClient) GetClusters

func (m *MockClusterClient) GetClusters(arg0 context.Context, arg1 *types.Cluster) ([]types.CAPICluster, error)

GetClusters mocks base method.

func (*MockClusterClient) GetKubeconfig

func (m *MockClusterClient) GetKubeconfig(arg0 context.Context, arg1 string) (string, error)

GetKubeconfig mocks base method.

func (*MockClusterClient) ValidateClustersCRD

func (m *MockClusterClient) ValidateClustersCRD(arg0 context.Context, arg1 *types.Cluster) error

ValidateClustersCRD mocks base method.

func (*MockClusterClient) WithEnv

WithEnv mocks base method.

func (*MockClusterClient) WithExtraDockerMounts

func (m *MockClusterClient) WithExtraDockerMounts() bootstrapper.BootstrapClusterClientOption

WithExtraDockerMounts mocks base method.

func (*MockClusterClient) WithExtraPortMappings added in v0.9.0

func (m *MockClusterClient) WithExtraPortMappings(arg0 []int) bootstrapper.BootstrapClusterClientOption

WithExtraPortMappings mocks base method.

type MockClusterClientMockRecorder

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

MockClusterClientMockRecorder is the mock recorder for MockClusterClient.

func (*MockClusterClientMockRecorder) ApplyKubeSpecFromBytes

func (mr *MockClusterClientMockRecorder) ApplyKubeSpecFromBytes(arg0, arg1, arg2 interface{}) *gomock.Call

ApplyKubeSpecFromBytes indicates an expected call of ApplyKubeSpecFromBytes.

func (*MockClusterClientMockRecorder) ClusterExists

func (mr *MockClusterClientMockRecorder) ClusterExists(arg0, arg1 interface{}) *gomock.Call

ClusterExists indicates an expected call of ClusterExists.

func (*MockClusterClientMockRecorder) CreateBootstrapCluster

func (mr *MockClusterClientMockRecorder) CreateBootstrapCluster(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateBootstrapCluster indicates an expected call of CreateBootstrapCluster.

func (*MockClusterClientMockRecorder) CreateNamespaceIfNotPresent added in v0.11.0

func (mr *MockClusterClientMockRecorder) CreateNamespaceIfNotPresent(arg0, arg1, arg2 interface{}) *gomock.Call

CreateNamespaceIfNotPresent indicates an expected call of CreateNamespaceIfNotPresent.

func (*MockClusterClientMockRecorder) DeleteBootstrapCluster

func (mr *MockClusterClientMockRecorder) DeleteBootstrapCluster(arg0, arg1 interface{}) *gomock.Call

DeleteBootstrapCluster indicates an expected call of DeleteBootstrapCluster.

func (*MockClusterClientMockRecorder) GetClusters

func (mr *MockClusterClientMockRecorder) GetClusters(arg0, arg1 interface{}) *gomock.Call

GetClusters indicates an expected call of GetClusters.

func (*MockClusterClientMockRecorder) GetKubeconfig

func (mr *MockClusterClientMockRecorder) GetKubeconfig(arg0, arg1 interface{}) *gomock.Call

GetKubeconfig indicates an expected call of GetKubeconfig.

func (*MockClusterClientMockRecorder) ValidateClustersCRD

func (mr *MockClusterClientMockRecorder) ValidateClustersCRD(arg0, arg1 interface{}) *gomock.Call

ValidateClustersCRD indicates an expected call of ValidateClustersCRD.

func (*MockClusterClientMockRecorder) WithEnv

func (mr *MockClusterClientMockRecorder) WithEnv(arg0 interface{}) *gomock.Call

WithEnv indicates an expected call of WithEnv.

func (*MockClusterClientMockRecorder) WithExtraDockerMounts

func (mr *MockClusterClientMockRecorder) WithExtraDockerMounts() *gomock.Call

WithExtraDockerMounts indicates an expected call of WithExtraDockerMounts.

func (*MockClusterClientMockRecorder) WithExtraPortMappings added in v0.9.0

func (mr *MockClusterClientMockRecorder) WithExtraPortMappings(arg0 interface{}) *gomock.Call

WithExtraPortMappings indicates an expected call of WithExtraPortMappings.

Jump to

Keyboard shortcuts

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