Documentation ¶
Overview ¶
Package mockhelmclient is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AddOrUpdateChartRepo(entry repo.Entry) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetRelease(name string) (*release.Release, error)
- func (m *MockClient) GetReleaseValues(name string, allValues bool) (map[string]interface{}, error)
- func (m *MockClient) InstallChart(ctx context.Context, spec *helmclient.ChartSpec) (*release.Release, error)
- func (m *MockClient) InstallOrUpgradeChart(ctx context.Context, spec *helmclient.ChartSpec) (*release.Release, error)
- func (m *MockClient) LintChart(spec *helmclient.ChartSpec) error
- func (m *MockClient) ListDeployedReleases() ([]*release.Release, error)
- func (m *MockClient) ListReleaseHistory(name string, max int) ([]*release.Release, error)
- func (m *MockClient) ListReleasesByStateMask(arg0 action.ListStates) ([]*release.Release, error)
- func (m *MockClient) RollbackRelease(spec *helmclient.ChartSpec, version int) error
- func (m *MockClient) SetDebugLog(debugLog action.DebugLog)
- func (m *MockClient) TemplateChart(spec *helmclient.ChartSpec) ([]byte, error)
- func (m *MockClient) UninstallRelease(spec *helmclient.ChartSpec) error
- func (m *MockClient) UninstallReleaseByName(name string) error
- func (m *MockClient) UpdateChartRepos() error
- func (m *MockClient) UpgradeChart(ctx context.Context, spec *helmclient.ChartSpec) (*release.Release, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AddOrUpdateChartRepo(entry interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetRelease(name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetReleaseValues(name, allValues interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallChart(ctx, spec interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallOrUpgradeChart(ctx, spec interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) LintChart(spec interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListDeployedReleases() *gomock.Call
- func (mr *MockClientMockRecorder) ListReleaseHistory(name, max interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListReleasesByStateMask(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RollbackRelease(spec, version interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SetDebugLog(debugLog interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TemplateChart(spec interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallRelease(spec interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallReleaseByName(name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateChartRepos() *gomock.Call
- func (mr *MockClientMockRecorder) UpgradeChart(ctx, spec interface{}) *gomock.Call
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 ¶
func (m *MockClient) InstallChart(ctx context.Context, spec *helmclient.ChartSpec) (*release.Release, error)
InstallChart 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 ¶
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 ¶
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, version int) 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 ¶
func (m *MockClient) UpgradeChart(ctx context.Context, spec *helmclient.ChartSpec) (*release.Release, error)
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 interface{}) *gomock.Call
InstallChart indicates an expected call of InstallChart.
func (*MockClientMockRecorder) InstallOrUpgradeChart ¶
func (mr *MockClientMockRecorder) InstallOrUpgradeChart(ctx, spec 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, version 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 interface{}) *gomock.Call
UpgradeChart indicates an expected call of UpgradeChart.