mocks

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) Delete added in v0.17.6

func (m *MockClient) Delete(ctx context.Context, kubeconfigFilePath, installName, namespace string) error

Delete mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) InstallChart added in v0.17.6

func (m *MockClient) InstallChart(ctx context.Context, chart, ociURI, version, kubeconfigFilePath, namespace, valueFilePath string, skipCRDs bool, values []string) error

InstallChart mocks base method.

func (*MockClient) ListCharts added in v0.17.6

func (m *MockClient) ListCharts(ctx context.Context, kubeconfigFilePath, filter string) ([]string, error)

ListCharts mocks base method.

func (*MockClient) PullChart added in v0.17.6

func (m *MockClient) PullChart(ctx context.Context, ociURI, version string) error

PullChart mocks base method.

func (*MockClient) PushChart

func (m *MockClient) PushChart(ctx context.Context, chart, registry string) error

PushChart mocks base method.

func (*MockClient) RegistryLogin

func (m *MockClient) RegistryLogin(ctx context.Context, registry, username, password string) error

RegistryLogin mocks base method.

func (*MockClient) SaveChart

func (m *MockClient) SaveChart(ctx context.Context, ociURI, version, folder string) error

SaveChart mocks base method.

func (*MockClient) Template added in v0.17.6

func (m *MockClient) Template(ctx context.Context, ociURI, version, namespace string, values interface{}, kubeVersion string) ([]byte, error)

Template mocks base method.

func (*MockClient) Uninstall added in v0.20.0

func (m *MockClient) Uninstall(ctx context.Context, chart, kubeconfigFilePath, namespace string, opts ...helm.Opt) error

Uninstall mocks base method.

func (*MockClient) UpgradeInstallChartWithValuesFile added in v0.20.0

func (m *MockClient) UpgradeInstallChartWithValuesFile(ctx context.Context, chart, ociURI, version, kubeconfigFilePath, namespace, valuesFilePath string, opts ...helm.Opt) error

UpgradeInstallChartWithValuesFile mocks base method.

type MockClientBuilder added in v0.17.6

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

MockClientBuilder is a mock of ClientBuilder interface.

func NewMockClientBuilder added in v0.17.6

func NewMockClientBuilder(ctrl *gomock.Controller) *MockClientBuilder

NewMockClientBuilder creates a new mock instance.

func (*MockClientBuilder) BuildHelm added in v0.17.6

func (m *MockClientBuilder) BuildHelm(arg0 ...helm.Opt) helm.Client

BuildHelm mocks base method.

func (*MockClientBuilder) EXPECT added in v0.17.6

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

type MockClientBuilderMockRecorder added in v0.17.6

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

MockClientBuilderMockRecorder is the mock recorder for MockClientBuilder.

func (*MockClientBuilderMockRecorder) BuildHelm added in v0.17.6

func (mr *MockClientBuilderMockRecorder) BuildHelm(arg0 ...interface{}) *gomock.Call

BuildHelm indicates an expected call of BuildHelm.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Delete added in v0.17.6

func (mr *MockClientMockRecorder) Delete(ctx, kubeconfigFilePath, installName, namespace interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockClientMockRecorder) InstallChart added in v0.17.6

func (mr *MockClientMockRecorder) InstallChart(ctx, chart, ociURI, version, kubeconfigFilePath, namespace, valueFilePath, skipCRDs, values interface{}) *gomock.Call

InstallChart indicates an expected call of InstallChart.

func (*MockClientMockRecorder) ListCharts added in v0.17.6

func (mr *MockClientMockRecorder) ListCharts(ctx, kubeconfigFilePath, filter interface{}) *gomock.Call

ListCharts indicates an expected call of ListCharts.

func (*MockClientMockRecorder) PullChart added in v0.17.6

func (mr *MockClientMockRecorder) PullChart(ctx, ociURI, version interface{}) *gomock.Call

PullChart indicates an expected call of PullChart.

func (*MockClientMockRecorder) PushChart

func (mr *MockClientMockRecorder) PushChart(ctx, chart, registry interface{}) *gomock.Call

PushChart indicates an expected call of PushChart.

func (*MockClientMockRecorder) RegistryLogin

func (mr *MockClientMockRecorder) RegistryLogin(ctx, registry, username, password interface{}) *gomock.Call

RegistryLogin indicates an expected call of RegistryLogin.

func (*MockClientMockRecorder) SaveChart

func (mr *MockClientMockRecorder) SaveChart(ctx, ociURI, version, folder interface{}) *gomock.Call

SaveChart indicates an expected call of SaveChart.

func (*MockClientMockRecorder) Template added in v0.17.6

func (mr *MockClientMockRecorder) Template(ctx, ociURI, version, namespace, values, kubeVersion interface{}) *gomock.Call

Template indicates an expected call of Template.

func (*MockClientMockRecorder) Uninstall added in v0.20.0

func (mr *MockClientMockRecorder) Uninstall(ctx, chart, kubeconfigFilePath, namespace interface{}, opts ...interface{}) *gomock.Call

Uninstall indicates an expected call of Uninstall.

func (*MockClientMockRecorder) UpgradeInstallChartWithValuesFile added in v0.20.0

func (mr *MockClientMockRecorder) UpgradeInstallChartWithValuesFile(ctx, chart, ociURI, version, kubeconfigFilePath, namespace, valuesFilePath interface{}, opts ...interface{}) *gomock.Call

UpgradeInstallChartWithValuesFile indicates an expected call of UpgradeInstallChartWithValuesFile.

Jump to

Keyboard shortcuts

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