mocks

package
v0.19.5 Latest Latest
Warning

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

Go to latest
Published: May 1, 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) InstallChartWithValuesFile added in v0.17.6

func (m *MockClient) InstallChartWithValuesFile(ctx context.Context, chart, ociURI, version, kubeconfigFilePath, valuesFilePath string) error

InstallChartWithValuesFile mocks base method.

func (*MockClient) ListCharts added in v0.17.6

func (m *MockClient) ListCharts(ctx context.Context, kubeconfigFilePath 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) UpgradeChartWithValuesFile added in v0.17.6

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

UpgradeChartWithValuesFile 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) InstallChartWithValuesFile added in v0.17.6

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

InstallChartWithValuesFile indicates an expected call of InstallChartWithValuesFile.

func (*MockClientMockRecorder) ListCharts added in v0.17.6

func (mr *MockClientMockRecorder) ListCharts(ctx, kubeconfigFilePath 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) UpgradeChartWithValuesFile added in v0.17.6

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

UpgradeChartWithValuesFile indicates an expected call of UpgradeChartWithValuesFile.

Jump to

Keyboard shortcuts

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