mocks

package
v0.21.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 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 MockCAPIClient

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

MockCAPIClient is a mock of CAPIClient interface.

func NewMockCAPIClient

func NewMockCAPIClient(ctrl *gomock.Controller) *MockCAPIClient

NewMockCAPIClient creates a new mock instance.

func (*MockCAPIClient) EXPECT

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

func (*MockCAPIClient) InstallEtcdadmProviders

func (m *MockCAPIClient) InstallEtcdadmProviders(ctx context.Context, managementComponents *cluster.ManagementComponents, clusterSpec *cluster.Spec, cluster *types.Cluster, provider providers.Provider, installProviders []string) error

InstallEtcdadmProviders mocks base method.

func (*MockCAPIClient) Upgrade

func (m *MockCAPIClient) Upgrade(ctx context.Context, managementCluster *types.Cluster, provider providers.Provider, managementComponents *cluster.ManagementComponents, newSpec *cluster.Spec, changeDiff *clusterapi.CAPIChangeDiff) error

Upgrade mocks base method.

type MockCAPIClientMockRecorder

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

MockCAPIClientMockRecorder is the mock recorder for MockCAPIClient.

func (*MockCAPIClientMockRecorder) InstallEtcdadmProviders

func (mr *MockCAPIClientMockRecorder) InstallEtcdadmProviders(ctx, managementComponents, clusterSpec, cluster, provider, installProviders interface{}) *gomock.Call

InstallEtcdadmProviders indicates an expected call of InstallEtcdadmProviders.

func (*MockCAPIClientMockRecorder) Upgrade

func (mr *MockCAPIClientMockRecorder) Upgrade(ctx, managementCluster, provider, managementComponents, newSpec, changeDiff interface{}) *gomock.Call

Upgrade indicates an expected call of Upgrade.

type MockKubectlClient

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

MockKubectlClient is a mock of KubectlClient interface.

func NewMockKubectlClient

func NewMockKubectlClient(ctrl *gomock.Controller) *MockKubectlClient

NewMockKubectlClient creates a new mock instance.

func (*MockKubectlClient) CheckProviderExists

func (m *MockKubectlClient) CheckProviderExists(ctx context.Context, kubeconfigFile, name, namespace string) (bool, error)

CheckProviderExists mocks base method.

func (*MockKubectlClient) EXPECT

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

type MockKubectlClientMockRecorder

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

MockKubectlClientMockRecorder is the mock recorder for MockKubectlClient.

func (*MockKubectlClientMockRecorder) CheckProviderExists

func (mr *MockKubectlClientMockRecorder) CheckProviderExists(ctx, kubeconfigFile, name, namespace interface{}) *gomock.Call

CheckProviderExists indicates an expected call of CheckProviderExists.

Jump to

Keyboard shortcuts

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