mockhelmclient

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 7 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) GetRelease

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

GetRelease mocks base method.

func (*MockClient) GetReleaseValues

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

GetReleaseValues mocks base method.

func (*MockClient) InstallChart

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

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

LintChart mocks base method.

func (*MockClient) ListDeployedReleases

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

ListDeployedReleases mocks base method.

func (*MockClient) ListReleaseHistory

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

ListReleaseHistory mocks base method.

func (*MockClient) ListReleasesByStateMask

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

ListReleasesByStateMask mocks base method.

func (*MockClient) RollbackRelease

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

RollbackRelease mocks base method.

func (*MockClient) SetDebugLog

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

SetDebugLog mocks base method.

func (*MockClient) TemplateChart

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

TemplateChart mocks base method.

func (*MockClient) UninstallRelease

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

UninstallRelease mocks base method.

func (*MockClient) UninstallReleaseByName

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

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 interface{}) *gomock.Call

AddOrUpdateChartRepo indicates an expected call of AddOrUpdateChartRepo.

func (*MockClientMockRecorder) GetRelease

func (mr *MockClientMockRecorder) GetRelease(name interface{}) *gomock.Call

GetRelease indicates an expected call of GetRelease.

func (*MockClientMockRecorder) GetReleaseValues

func (mr *MockClientMockRecorder) GetReleaseValues(name, allValues interface{}) *gomock.Call

GetReleaseValues indicates an expected call of GetReleaseValues.

func (*MockClientMockRecorder) InstallChart

func (mr *MockClientMockRecorder) InstallChart(ctx, spec, opts interface{}) *gomock.Call

InstallChart indicates an expected call of InstallChart.

func (*MockClientMockRecorder) InstallOrUpgradeChart

func (mr *MockClientMockRecorder) InstallOrUpgradeChart(ctx, spec, opts interface{}) *gomock.Call

InstallOrUpgradeChart indicates an expected call of InstallOrUpgradeChart.

func (*MockClientMockRecorder) LintChart

func (mr *MockClientMockRecorder) LintChart(spec interface{}) *gomock.Call

LintChart indicates an expected call of LintChart.

func (*MockClientMockRecorder) ListDeployedReleases

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

ListDeployedReleases indicates an expected call of ListDeployedReleases.

func (*MockClientMockRecorder) ListReleaseHistory

func (mr *MockClientMockRecorder) ListReleaseHistory(name, max interface{}) *gomock.Call

ListReleaseHistory indicates an expected call of ListReleaseHistory.

func (*MockClientMockRecorder) ListReleasesByStateMask

func (mr *MockClientMockRecorder) ListReleasesByStateMask(arg0 interface{}) *gomock.Call

ListReleasesByStateMask indicates an expected call of ListReleasesByStateMask.

func (*MockClientMockRecorder) RollbackRelease

func (mr *MockClientMockRecorder) RollbackRelease(spec interface{}) *gomock.Call

RollbackRelease indicates an expected call of RollbackRelease.

func (*MockClientMockRecorder) SetDebugLog

func (mr *MockClientMockRecorder) SetDebugLog(debugLog interface{}) *gomock.Call

SetDebugLog indicates an expected call of SetDebugLog.

func (*MockClientMockRecorder) TemplateChart

func (mr *MockClientMockRecorder) TemplateChart(spec interface{}) *gomock.Call

TemplateChart indicates an expected call of TemplateChart.

func (*MockClientMockRecorder) UninstallRelease

func (mr *MockClientMockRecorder) UninstallRelease(spec interface{}) *gomock.Call

UninstallRelease indicates an expected call of UninstallRelease.

func (*MockClientMockRecorder) UninstallReleaseByName

func (mr *MockClientMockRecorder) UninstallReleaseByName(name interface{}) *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

func (mr *MockClientMockRecorder) UpgradeChart(ctx, spec, opts interface{}) *gomock.Call

UpgradeChart indicates an expected call of UpgradeChart.

type MockRollBack

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

MockRollBack is a mock of RollBack interface.

func NewMockRollBack

func NewMockRollBack(ctrl *gomock.Controller) *MockRollBack

NewMockRollBack creates a new mock instance.

func (*MockRollBack) EXPECT

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

func (*MockRollBack) RollbackRelease

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

RollbackRelease mocks base method.

type MockRollBackMockRecorder

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

MockRollBackMockRecorder is the mock recorder for MockRollBack.

func (*MockRollBackMockRecorder) RollbackRelease

func (mr *MockRollBackMockRecorder) RollbackRelease(spec interface{}) *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