mockhelmclient

package
v0.12.9 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package mockhelmclient 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) AddOrUpdateChartRepo

func (m *MockClient) AddOrUpdateChartRepo(entry repo.Entry) error

AddOrUpdateChartRepo 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) GetChart added in v0.11.3

func (m *MockClient) GetChart(chartName string, chartPathOptions *action.ChartPathOptions) (*chart.Chart, string, error)

GetChart mocks base method.

func (*MockClient) GetProviders added in v0.12.7

func (m *MockClient) GetProviders() getter.Providers

GetProviders mocks base method.

func (*MockClient) GetRelease added in v0.5.0

func (m *MockClient) GetRelease(name string) (*release.Release, error)

GetRelease mocks base method.

func (*MockClient) GetReleaseValues added in v0.5.0

func (m *MockClient) GetReleaseValues(name string, allValues bool) (map[string]any, error)

GetReleaseValues mocks base method.

func (*MockClient) GetSettings added in v0.12.7

func (m *MockClient) GetSettings() *cli.EnvSettings

GetSettings mocks base method.

func (*MockClient) InstallChart added in v0.9.0

InstallChart mocks base method.

func (*MockClient) InstallOrUpgradeChart

func (m *MockClient) InstallOrUpgradeChart(ctx context.Context, spec *helmclient.ChartSpec, opts *helmclient.GenericHelmOptions) (*release.Release, error)

InstallOrUpgradeChart mocks base method.

func (*MockClient) LintChart added in v0.4.0

func (m *MockClient) LintChart(spec *helmclient.ChartSpec) error

LintChart mocks base method.

func (*MockClient) ListDeployedReleases added in v0.5.0

func (m *MockClient) ListDeployedReleases() ([]*release.Release, error)

ListDeployedReleases mocks base method.

func (*MockClient) ListReleaseHistory added in v0.8.2

func (m *MockClient) ListReleaseHistory(name string, max int) ([]*release.Release, error)

ListReleaseHistory mocks base method.

func (*MockClient) ListReleasesByStateMask added in v0.9.0

func (m *MockClient) ListReleasesByStateMask(arg0 action.ListStates) ([]*release.Release, error)

ListReleasesByStateMask mocks base method.

func (*MockClient) RollbackRelease added in v0.6.0

func (m *MockClient) RollbackRelease(spec *helmclient.ChartSpec) error

RollbackRelease mocks base method.

func (*MockClient) RunChartTests added in v0.12.4

func (m *MockClient) RunChartTests(releaseName string) (bool, error)

RunChartTests mocks base method.

func (*MockClient) SetDebugLog added in v0.8.1

func (m *MockClient) SetDebugLog(debugLog action.DebugLog)

SetDebugLog mocks base method.

func (*MockClient) TemplateChart added in v0.4.0

func (m *MockClient) TemplateChart(spec *helmclient.ChartSpec, options *helmclient.HelmTemplateOptions) ([]byte, error)

TemplateChart mocks base method.

func (*MockClient) UninstallRelease

func (m *MockClient) UninstallRelease(spec *helmclient.ChartSpec) error

UninstallRelease mocks base method.

func (*MockClient) UninstallReleaseByName added in v0.8.0

func (m *MockClient) UninstallReleaseByName(name string) error

UninstallReleaseByName mocks base method.

func (*MockClient) UpdateChartRepos

func (m *MockClient) UpdateChartRepos() error

UpdateChartRepos mocks base method.

func (*MockClient) UpgradeChart added in v0.9.0

UpgradeChart mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) AddOrUpdateChartRepo

func (mr *MockClientMockRecorder) AddOrUpdateChartRepo(entry any) *gomock.Call

AddOrUpdateChartRepo indicates an expected call of AddOrUpdateChartRepo.

func (*MockClientMockRecorder) GetChart added in v0.11.3

func (mr *MockClientMockRecorder) GetChart(chartName, chartPathOptions any) *gomock.Call

GetChart indicates an expected call of GetChart.

func (*MockClientMockRecorder) GetProviders added in v0.12.7

func (mr *MockClientMockRecorder) GetProviders() *gomock.Call

GetProviders indicates an expected call of GetProviders.

func (*MockClientMockRecorder) GetRelease added in v0.5.0

func (mr *MockClientMockRecorder) GetRelease(name any) *gomock.Call

GetRelease indicates an expected call of GetRelease.

func (*MockClientMockRecorder) GetReleaseValues added in v0.5.0

func (mr *MockClientMockRecorder) GetReleaseValues(name, allValues any) *gomock.Call

GetReleaseValues indicates an expected call of GetReleaseValues.

func (*MockClientMockRecorder) GetSettings added in v0.12.7

func (mr *MockClientMockRecorder) GetSettings() *gomock.Call

GetSettings indicates an expected call of GetSettings.

func (*MockClientMockRecorder) InstallChart added in v0.9.0

func (mr *MockClientMockRecorder) InstallChart(ctx, spec, opts any) *gomock.Call

InstallChart indicates an expected call of InstallChart.

func (*MockClientMockRecorder) InstallOrUpgradeChart

func (mr *MockClientMockRecorder) InstallOrUpgradeChart(ctx, spec, opts any) *gomock.Call

InstallOrUpgradeChart indicates an expected call of InstallOrUpgradeChart.

func (*MockClientMockRecorder) LintChart added in v0.4.0

func (mr *MockClientMockRecorder) LintChart(spec any) *gomock.Call

LintChart indicates an expected call of LintChart.

func (*MockClientMockRecorder) ListDeployedReleases added in v0.5.0

func (mr *MockClientMockRecorder) ListDeployedReleases() *gomock.Call

ListDeployedReleases indicates an expected call of ListDeployedReleases.

func (*MockClientMockRecorder) ListReleaseHistory added in v0.8.2

func (mr *MockClientMockRecorder) ListReleaseHistory(name, max any) *gomock.Call

ListReleaseHistory indicates an expected call of ListReleaseHistory.

func (*MockClientMockRecorder) ListReleasesByStateMask added in v0.9.0

func (mr *MockClientMockRecorder) ListReleasesByStateMask(arg0 any) *gomock.Call

ListReleasesByStateMask indicates an expected call of ListReleasesByStateMask.

func (*MockClientMockRecorder) RollbackRelease added in v0.6.0

func (mr *MockClientMockRecorder) RollbackRelease(spec any) *gomock.Call

RollbackRelease indicates an expected call of RollbackRelease.

func (*MockClientMockRecorder) RunChartTests added in v0.12.4

func (mr *MockClientMockRecorder) RunChartTests(releaseName any) *gomock.Call

RunChartTests indicates an expected call of RunChartTests.

func (*MockClientMockRecorder) SetDebugLog added in v0.8.1

func (mr *MockClientMockRecorder) SetDebugLog(debugLog any) *gomock.Call

SetDebugLog indicates an expected call of SetDebugLog.

func (*MockClientMockRecorder) TemplateChart added in v0.4.0

func (mr *MockClientMockRecorder) TemplateChart(spec, options any) *gomock.Call

TemplateChart indicates an expected call of TemplateChart.

func (*MockClientMockRecorder) UninstallRelease

func (mr *MockClientMockRecorder) UninstallRelease(spec any) *gomock.Call

UninstallRelease indicates an expected call of UninstallRelease.

func (*MockClientMockRecorder) UninstallReleaseByName added in v0.8.0

func (mr *MockClientMockRecorder) UninstallReleaseByName(name any) *gomock.Call

UninstallReleaseByName indicates an expected call of UninstallReleaseByName.

func (*MockClientMockRecorder) UpdateChartRepos

func (mr *MockClientMockRecorder) UpdateChartRepos() *gomock.Call

UpdateChartRepos indicates an expected call of UpdateChartRepos.

func (*MockClientMockRecorder) UpgradeChart added in v0.9.0

func (mr *MockClientMockRecorder) UpgradeChart(ctx, spec, opts any) *gomock.Call

UpgradeChart indicates an expected call of UpgradeChart.

type MockRollBack added in v0.11.0

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

MockRollBack is a mock of RollBack interface.

func NewMockRollBack added in v0.11.0

func NewMockRollBack(ctrl *gomock.Controller) *MockRollBack

NewMockRollBack creates a new mock instance.

func (*MockRollBack) EXPECT added in v0.11.0

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

func (*MockRollBack) RollbackRelease added in v0.11.0

func (m *MockRollBack) RollbackRelease(spec *helmclient.ChartSpec) error

RollbackRelease mocks base method.

type MockRollBackMockRecorder added in v0.11.0

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

MockRollBackMockRecorder is the mock recorder for MockRollBack.

func (*MockRollBackMockRecorder) RollbackRelease added in v0.11.0

func (mr *MockRollBackMockRecorder) RollbackRelease(spec any) *gomock.Call

RollbackRelease indicates an expected call of RollbackRelease.

Jump to

Keyboard shortcuts

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