mockhelmclient

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 6 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) DeleteChartFromCache

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

DeleteChartFromCache 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 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]interface{}, error)

GetReleaseValues mocks base method.

func (*MockClient) InstallOrUpgradeChart

func (m *MockClient) InstallOrUpgradeChart(ctx context.Context, spec *helmclient.ChartSpec) (*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) RollbackRelease added in v0.6.0

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

RollbackRelease mocks base method.

func (*MockClient) TemplateChart added in v0.4.0

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) UpdateChartRepos

func (m *MockClient) UpdateChartRepos() error

UpdateChartRepos 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) DeleteChartFromCache

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

DeleteChartFromCache indicates an expected call of DeleteChartFromCache.

func (*MockClientMockRecorder) GetRelease added in v0.5.0

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

GetRelease indicates an expected call of GetRelease.

func (*MockClientMockRecorder) GetReleaseValues added in v0.5.0

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

GetReleaseValues indicates an expected call of GetReleaseValues.

func (*MockClientMockRecorder) InstallOrUpgradeChart

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

InstallOrUpgradeChart indicates an expected call of InstallOrUpgradeChart.

func (*MockClientMockRecorder) LintChart added in v0.4.0

func (mr *MockClientMockRecorder) LintChart(spec interface{}) *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) RollbackRelease added in v0.6.0

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

RollbackRelease indicates an expected call of RollbackRelease.

func (*MockClientMockRecorder) TemplateChart added in v0.4.0

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) UpdateChartRepos

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

UpdateChartRepos indicates an expected call of UpdateChartRepos.

Jump to

Keyboard shortcuts

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