Documentation ¶
Overview ¶
Package mockhelmclient is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AddOrUpdateChartRepo(entry repo.Entry) error
- func (m *MockClient) DeleteChartFromCache(spec *helmclient.ChartSpec) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) InstallOrUpgradeChart(ctx context.Context, spec *helmclient.ChartSpec) error
- func (m *MockClient) LintChart(spec *helmclient.ChartSpec) error
- func (m *MockClient) TemplateChart(spec *helmclient.ChartSpec) ([]byte, error)
- func (m *MockClient) UninstallRelease(spec *helmclient.ChartSpec) error
- func (m *MockClient) UpdateChartRepos() error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AddOrUpdateChartRepo(entry interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteChartFromCache(spec interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallOrUpgradeChart(ctx, spec interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) LintChart(spec interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TemplateChart(spec interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallRelease(spec interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateChartRepos() *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) 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) InstallOrUpgradeChart ¶
func (m *MockClient) InstallOrUpgradeChart(ctx context.Context, spec *helmclient.ChartSpec) 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) 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) 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) 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