Documentation
¶
Overview ¶
Package mock_types 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(kubeConfig, kubeContext, namespace, releaseName string, dryRun bool) (types.HelmInstaller, *cli.EnvSettings, error)
- func (m *MockHelmClient) NewUninstall(kubeConfig, kubeContext, namespace string) (types.HelmUninstaller, error)
- func (m *MockHelmClient) ReleaseExists(kubeConfig, kubeContext, namespace, releaseName string) (bool, error)
- func (m *MockHelmClient) ReleaseList(kubeConfig, kubeContext, namespace string) (types.ReleaseListRunner, error)
- type MockHelmClientMockRecorder
- func (mr *MockHelmClientMockRecorder) DownloadChart(chartArchiveUri interface{}) *gomock.Call
- func (mr *MockHelmClientMockRecorder) NewInstall(kubeConfig, kubeContext, namespace, releaseName, dryRun interface{}) *gomock.Call
- func (mr *MockHelmClientMockRecorder) NewUninstall(kubeConfig, kubeContext, namespace interface{}) *gomock.Call
- func (mr *MockHelmClientMockRecorder) ReleaseExists(kubeConfig, kubeContext, namespace, releaseName interface{}) *gomock.Call
- func (mr *MockHelmClientMockRecorder) ReleaseList(kubeConfig, kubeContext, namespace interface{}) *gomock.Call
- type MockHelmInstaller
- type MockHelmInstallerMockRecorder
- type MockHelmUninstaller
- type MockHelmUninstallerMockRecorder
- type MockInstaller
- type MockInstallerMockRecorder
- type MockReleaseListRunner
- type MockReleaseListRunnerMockRecorder
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(kubeConfig, kubeContext, namespace, releaseName string, dryRun bool) (types.HelmInstaller, *cli.EnvSettings, error)
NewInstall mocks base method
func (*MockHelmClient) NewUninstall ¶
func (m *MockHelmClient) NewUninstall(kubeConfig, kubeContext, namespace string) (types.HelmUninstaller, error)
NewUninstall mocks base method
func (*MockHelmClient) ReleaseExists ¶
func (m *MockHelmClient) ReleaseExists(kubeConfig, kubeContext, namespace, releaseName string) (bool, error)
ReleaseExists mocks base method
func (*MockHelmClient) ReleaseList ¶
func (m *MockHelmClient) ReleaseList(kubeConfig, kubeContext, namespace string) (types.ReleaseListRunner, 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 interface{}) *gomock.Call
DownloadChart indicates an expected call of DownloadChart
func (*MockHelmClientMockRecorder) NewInstall ¶
func (mr *MockHelmClientMockRecorder) NewInstall(kubeConfig, kubeContext, namespace, releaseName, dryRun interface{}) *gomock.Call
NewInstall indicates an expected call of NewInstall
func (*MockHelmClientMockRecorder) NewUninstall ¶
func (mr *MockHelmClientMockRecorder) NewUninstall(kubeConfig, kubeContext, namespace interface{}) *gomock.Call
NewUninstall indicates an expected call of NewUninstall
func (*MockHelmClientMockRecorder) ReleaseExists ¶
func (mr *MockHelmClientMockRecorder) ReleaseExists(kubeConfig, kubeContext, namespace, releaseName interface{}) *gomock.Call
ReleaseExists indicates an expected call of ReleaseExists
func (*MockHelmClientMockRecorder) ReleaseList ¶
func (mr *MockHelmClientMockRecorder) ReleaseList(kubeConfig, kubeContext, namespace interface{}) *gomock.Call
ReleaseList indicates an expected call of ReleaseList
type MockHelmInstaller ¶
type MockHelmInstaller struct {
// contains filtered or unexported fields
}
MockHelmInstaller is a mock of HelmInstaller interface
func NewMockHelmInstaller ¶
func NewMockHelmInstaller(ctrl *gomock.Controller) *MockHelmInstaller
NewMockHelmInstaller creates a new mock instance
func (*MockHelmInstaller) EXPECT ¶
func (m *MockHelmInstaller) EXPECT() *MockHelmInstallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockHelmInstallerMockRecorder ¶
type MockHelmInstallerMockRecorder struct {
// contains filtered or unexported fields
}
MockHelmInstallerMockRecorder is the mock recorder for MockHelmInstaller
func (*MockHelmInstallerMockRecorder) Run ¶
func (mr *MockHelmInstallerMockRecorder) Run(chrt, vals interface{}) *gomock.Call
Run indicates an expected call of Run
type MockHelmUninstaller ¶
type MockHelmUninstaller struct {
// contains filtered or unexported fields
}
MockHelmUninstaller is a mock of HelmUninstaller interface
func NewMockHelmUninstaller ¶
func NewMockHelmUninstaller(ctrl *gomock.Controller) *MockHelmUninstaller
NewMockHelmUninstaller creates a new mock instance
func (*MockHelmUninstaller) EXPECT ¶
func (m *MockHelmUninstaller) EXPECT() *MockHelmUninstallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHelmUninstaller) Run ¶
func (m *MockHelmUninstaller) Run(name string) (*release.UninstallReleaseResponse, error)
Run mocks base method
type MockHelmUninstallerMockRecorder ¶
type MockHelmUninstallerMockRecorder struct {
// contains filtered or unexported fields
}
MockHelmUninstallerMockRecorder is the mock recorder for MockHelmUninstaller
func (*MockHelmUninstallerMockRecorder) Run ¶
func (mr *MockHelmUninstallerMockRecorder) Run(name interface{}) *gomock.Call
Run indicates an expected call of Run
type MockInstaller ¶
type MockInstaller struct {
// contains filtered or unexported fields
}
MockInstaller is a mock of Installer interface
func NewMockInstaller ¶
func NewMockInstaller(ctrl *gomock.Controller) *MockInstaller
NewMockInstaller creates a new mock instance
func (*MockInstaller) EXPECT ¶
func (m *MockInstaller) EXPECT() *MockInstallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInstaller) Install ¶
func (m *MockInstaller) Install(installerConfig *types.InstallerConfig) error
Install mocks base method
type MockInstallerMockRecorder ¶
type MockInstallerMockRecorder struct {
// contains filtered or unexported fields
}
MockInstallerMockRecorder is the mock recorder for MockInstaller
func (*MockInstallerMockRecorder) Install ¶
func (mr *MockInstallerMockRecorder) Install(installerConfig interface{}) *gomock.Call
Install indicates an expected call of Install
type MockReleaseListRunner ¶
type MockReleaseListRunner struct {
// contains filtered or unexported fields
}
MockReleaseListRunner is a mock of ReleaseListRunner interface
func NewMockReleaseListRunner ¶
func NewMockReleaseListRunner(ctrl *gomock.Controller) *MockReleaseListRunner
NewMockReleaseListRunner creates a new mock instance
func (*MockReleaseListRunner) EXPECT ¶
func (m *MockReleaseListRunner) EXPECT() *MockReleaseListRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReleaseListRunner) Run ¶
func (m *MockReleaseListRunner) Run() ([]*release.Release, error)
Run mocks base method
func (*MockReleaseListRunner) SetFilter ¶
func (m *MockReleaseListRunner) SetFilter(filter string)
SetFilter mocks base method
type MockReleaseListRunnerMockRecorder ¶
type MockReleaseListRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockReleaseListRunnerMockRecorder is the mock recorder for MockReleaseListRunner
func (*MockReleaseListRunnerMockRecorder) Run ¶
func (mr *MockReleaseListRunnerMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run
func (*MockReleaseListRunnerMockRecorder) SetFilter ¶
func (mr *MockReleaseListRunnerMockRecorder) SetFilter(filter interface{}) *gomock.Call
SetFilter indicates an expected call of SetFilter