Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockHelmClient
- func (m *MockHelmClient) DownloadChart(chartArchiveUri string) (*chart.Chart, error)
- func (m *MockHelmClient) EXPECT() *MockHelmClientMockRecorder
- func (m *MockHelmClient) NewInstall(namespace, releaseName string, dryRun bool, context string) (install.HelmInstallation, *cli.EnvSettings, error)
- func (m *MockHelmClient) NewUninstall(namespace string) (install.HelmUninstallation, error)
- func (m *MockHelmClient) ReleaseExists(namespace, releaseName string) (bool, error)
- func (m *MockHelmClient) ReleaseList(namespace string) (install.HelmReleaseListRunner, error)
- type MockHelmClientMockRecorder
- func (mr *MockHelmClientMockRecorder) DownloadChart(chartArchiveUri any) *gomock.Call
- func (mr *MockHelmClientMockRecorder) NewInstall(namespace, releaseName, dryRun, context any) *gomock.Call
- func (mr *MockHelmClientMockRecorder) NewUninstall(namespace any) *gomock.Call
- func (mr *MockHelmClientMockRecorder) ReleaseExists(namespace, releaseName any) *gomock.Call
- func (mr *MockHelmClientMockRecorder) ReleaseList(namespace any) *gomock.Call
- type MockHelmInstallation
- type MockHelmInstallationMockRecorder
- type MockHelmReleaseListRunner
- type MockHelmReleaseListRunnerMockRecorder
- type MockHelmUninstallation
- type MockHelmUninstallationMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHelmClient ¶
type MockHelmClient struct {
// contains filtered or unexported fields
}
MockHelmClient is a mock of HelmClient interface.
func NewMockHelmClient ¶
func NewMockHelmClient(ctrl *gomock.Controller) *MockHelmClient
NewMockHelmClient creates a new mock instance.
func (*MockHelmClient) DownloadChart ¶
func (m *MockHelmClient) DownloadChart(chartArchiveUri string) (*chart.Chart, error)
DownloadChart mocks base method.
func (*MockHelmClient) EXPECT ¶
func (m *MockHelmClient) EXPECT() *MockHelmClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHelmClient) NewInstall ¶
func (m *MockHelmClient) NewInstall(namespace, releaseName string, dryRun bool, context string) (install.HelmInstallation, *cli.EnvSettings, error)
NewInstall mocks base method.
func (*MockHelmClient) NewUninstall ¶
func (m *MockHelmClient) NewUninstall(namespace string) (install.HelmUninstallation, error)
NewUninstall mocks base method.
func (*MockHelmClient) ReleaseExists ¶
func (m *MockHelmClient) ReleaseExists(namespace, releaseName string) (bool, error)
ReleaseExists mocks base method.
func (*MockHelmClient) ReleaseList ¶
func (m *MockHelmClient) ReleaseList(namespace string) (install.HelmReleaseListRunner, error)
ReleaseList mocks base method.
type MockHelmClientMockRecorder ¶
type MockHelmClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHelmClientMockRecorder is the mock recorder for MockHelmClient.
func (*MockHelmClientMockRecorder) DownloadChart ¶
func (mr *MockHelmClientMockRecorder) DownloadChart(chartArchiveUri any) *gomock.Call
DownloadChart indicates an expected call of DownloadChart.
func (*MockHelmClientMockRecorder) NewInstall ¶
func (mr *MockHelmClientMockRecorder) NewInstall(namespace, releaseName, dryRun, context any) *gomock.Call
NewInstall indicates an expected call of NewInstall.
func (*MockHelmClientMockRecorder) NewUninstall ¶
func (mr *MockHelmClientMockRecorder) NewUninstall(namespace any) *gomock.Call
NewUninstall indicates an expected call of NewUninstall.
func (*MockHelmClientMockRecorder) ReleaseExists ¶
func (mr *MockHelmClientMockRecorder) ReleaseExists(namespace, releaseName any) *gomock.Call
ReleaseExists indicates an expected call of ReleaseExists.
func (*MockHelmClientMockRecorder) ReleaseList ¶
func (mr *MockHelmClientMockRecorder) ReleaseList(namespace any) *gomock.Call
ReleaseList indicates an expected call of ReleaseList.
type MockHelmInstallation ¶
type MockHelmInstallation struct {
// contains filtered or unexported fields
}
MockHelmInstallation is a mock of HelmInstallation interface.
func NewMockHelmInstallation ¶
func NewMockHelmInstallation(ctrl *gomock.Controller) *MockHelmInstallation
NewMockHelmInstallation creates a new mock instance.
func (*MockHelmInstallation) EXPECT ¶
func (m *MockHelmInstallation) EXPECT() *MockHelmInstallationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHelmInstallationMockRecorder ¶
type MockHelmInstallationMockRecorder struct {
// contains filtered or unexported fields
}
MockHelmInstallationMockRecorder is the mock recorder for MockHelmInstallation.
type MockHelmReleaseListRunner ¶
type MockHelmReleaseListRunner struct {
// contains filtered or unexported fields
}
MockHelmReleaseListRunner is a mock of HelmReleaseListRunner interface.
func NewMockHelmReleaseListRunner ¶
func NewMockHelmReleaseListRunner(ctrl *gomock.Controller) *MockHelmReleaseListRunner
NewMockHelmReleaseListRunner creates a new mock instance.
func (*MockHelmReleaseListRunner) EXPECT ¶
func (m *MockHelmReleaseListRunner) EXPECT() *MockHelmReleaseListRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHelmReleaseListRunner) Run ¶
func (m *MockHelmReleaseListRunner) Run() ([]*release.Release, error)
Run mocks base method.
func (*MockHelmReleaseListRunner) SetFilter ¶
func (m *MockHelmReleaseListRunner) SetFilter(filter string)
SetFilter mocks base method.
type MockHelmReleaseListRunnerMockRecorder ¶
type MockHelmReleaseListRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockHelmReleaseListRunnerMockRecorder is the mock recorder for MockHelmReleaseListRunner.
func (*MockHelmReleaseListRunnerMockRecorder) Run ¶
func (mr *MockHelmReleaseListRunnerMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run.
type MockHelmUninstallation ¶
type MockHelmUninstallation struct {
// contains filtered or unexported fields
}
MockHelmUninstallation is a mock of HelmUninstallation interface.
func NewMockHelmUninstallation ¶
func NewMockHelmUninstallation(ctrl *gomock.Controller) *MockHelmUninstallation
NewMockHelmUninstallation creates a new mock instance.
func (*MockHelmUninstallation) EXPECT ¶
func (m *MockHelmUninstallation) EXPECT() *MockHelmUninstallationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHelmUninstallation) Run ¶
func (m *MockHelmUninstallation) Run(name string) (*release.UninstallReleaseResponse, error)
Run mocks base method.
type MockHelmUninstallationMockRecorder ¶
type MockHelmUninstallationMockRecorder struct {
// contains filtered or unexported fields
}
MockHelmUninstallationMockRecorder is the mock recorder for MockHelmUninstallation.