Documentation
¶
Overview ¶
Package mock_internal is a generated GoMock package.
Package mock_internal is a generated GoMock package.
Package mock_internal is a generated GoMock package.
Index ¶
- type MockActionConfigFactory
- type MockActionConfigFactoryMockRecorder
- type MockActionListFactory
- type MockActionListFactoryMockRecorder
- type MockChartLoader
- type MockChartLoaderMockRecorder
- type MockFsHelper
- type MockFsHelperMockRecorder
- 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) (internal.HelmInstaller, *cli.EnvSettings, error)
- func (m *MockHelmClient) NewUninstall(kubeConfig, kubeContext, namespace string) (internal.HelmUninstaller, error)
- func (m *MockHelmClient) ReleaseExists(kubeConfig, kubeContext, namespace, releaseName string) (bool, error)
- func (m *MockHelmClient) ReleaseList(kubeConfig, kubeContext, namespace string) (internal.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 MockReleaseListRunner
- type MockReleaseListRunnerMockRecorder
- type MockResourceFetcher
- type MockResourceFetcherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockActionConfigFactory ¶
type MockActionConfigFactory struct {
// contains filtered or unexported fields
}
MockActionConfigFactory is a mock of ActionConfigFactory interface
func NewMockActionConfigFactory ¶
func NewMockActionConfigFactory(ctrl *gomock.Controller) *MockActionConfigFactory
NewMockActionConfigFactory creates a new mock instance
func (*MockActionConfigFactory) EXPECT ¶
func (m *MockActionConfigFactory) EXPECT() *MockActionConfigFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockActionConfigFactory) NewActionConfig ¶
func (m *MockActionConfigFactory) NewActionConfig(kubeConfig, helmKubeContext, namespace string) (*action.Configuration, *cli.EnvSettings, error)
NewActionConfig mocks base method
type MockActionConfigFactoryMockRecorder ¶
type MockActionConfigFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockActionConfigFactoryMockRecorder is the mock recorder for MockActionConfigFactory
func (*MockActionConfigFactoryMockRecorder) NewActionConfig ¶
func (mr *MockActionConfigFactoryMockRecorder) NewActionConfig(kubeConfig, helmKubeContext, namespace interface{}) *gomock.Call
NewActionConfig indicates an expected call of NewActionConfig
type MockActionListFactory ¶
type MockActionListFactory struct {
// contains filtered or unexported fields
}
MockActionListFactory is a mock of ActionListFactory interface
func NewMockActionListFactory ¶
func NewMockActionListFactory(ctrl *gomock.Controller) *MockActionListFactory
NewMockActionListFactory creates a new mock instance
func (*MockActionListFactory) EXPECT ¶
func (m *MockActionListFactory) EXPECT() *MockActionListFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockActionListFactory) ReleaseList ¶
func (m *MockActionListFactory) ReleaseList(kubeConfig, helmKubeContext, namespace string) (internal.ReleaseListRunner, error)
ReleaseList mocks base method
type MockActionListFactoryMockRecorder ¶
type MockActionListFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockActionListFactoryMockRecorder is the mock recorder for MockActionListFactory
func (*MockActionListFactoryMockRecorder) ReleaseList ¶
func (mr *MockActionListFactoryMockRecorder) ReleaseList(kubeConfig, helmKubeContext, namespace interface{}) *gomock.Call
ReleaseList indicates an expected call of ReleaseList
type MockChartLoader ¶
type MockChartLoader struct {
// contains filtered or unexported fields
}
MockChartLoader is a mock of ChartLoader interface
func NewMockChartLoader ¶
func NewMockChartLoader(ctrl *gomock.Controller) *MockChartLoader
NewMockChartLoader creates a new mock instance
func (*MockChartLoader) EXPECT ¶
func (m *MockChartLoader) EXPECT() *MockChartLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockChartLoaderMockRecorder ¶
type MockChartLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockChartLoaderMockRecorder is the mock recorder for MockChartLoader
func (*MockChartLoaderMockRecorder) Load ¶
func (mr *MockChartLoaderMockRecorder) Load(name interface{}) *gomock.Call
Load indicates an expected call of Load
type MockFsHelper ¶
type MockFsHelper struct {
// contains filtered or unexported fields
}
MockFsHelper is a mock of FsHelper interface
func NewMockFsHelper ¶
func NewMockFsHelper(ctrl *gomock.Controller) *MockFsHelper
NewMockFsHelper creates a new mock instance
func (*MockFsHelper) EXPECT ¶
func (m *MockFsHelper) EXPECT() *MockFsHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFsHelper) NewTempFile ¶
func (m *MockFsHelper) NewTempFile(dir, prefix string) (afero.File, error)
NewTempFile mocks base method
func (*MockFsHelper) RemoveAll ¶
func (m *MockFsHelper) RemoveAll(path string) error
RemoveAll mocks base method
type MockFsHelperMockRecorder ¶
type MockFsHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockFsHelperMockRecorder is the mock recorder for MockFsHelper
func (*MockFsHelperMockRecorder) NewTempFile ¶
func (mr *MockFsHelperMockRecorder) NewTempFile(dir, prefix interface{}) *gomock.Call
NewTempFile indicates an expected call of NewTempFile
func (*MockFsHelperMockRecorder) RemoveAll ¶
func (mr *MockFsHelperMockRecorder) RemoveAll(path interface{}) *gomock.Call
RemoveAll indicates an expected call of RemoveAll
func (*MockFsHelperMockRecorder) WriteFile ¶
func (mr *MockFsHelperMockRecorder) WriteFile(filename, data, perm interface{}) *gomock.Call
WriteFile indicates an expected call of WriteFile
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) (internal.HelmInstaller, *cli.EnvSettings, error)
NewInstall mocks base method
func (*MockHelmClient) NewUninstall ¶
func (m *MockHelmClient) NewUninstall(kubeConfig, kubeContext, namespace string) (internal.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) (internal.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 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
type MockResourceFetcher ¶
type MockResourceFetcher struct {
// contains filtered or unexported fields
}
MockResourceFetcher is a mock of ResourceFetcher interface
func NewMockResourceFetcher ¶
func NewMockResourceFetcher(ctrl *gomock.Controller) *MockResourceFetcher
NewMockResourceFetcher creates a new mock instance
func (*MockResourceFetcher) EXPECT ¶
func (m *MockResourceFetcher) EXPECT() *MockResourceFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResourceFetcher) GetResource ¶
func (m *MockResourceFetcher) GetResource(uri string) (io.ReadCloser, error)
GetResource mocks base method
type MockResourceFetcherMockRecorder ¶
type MockResourceFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceFetcherMockRecorder is the mock recorder for MockResourceFetcher
func (*MockResourceFetcherMockRecorder) GetResource ¶
func (mr *MockResourceFetcherMockRecorder) GetResource(uri interface{}) *gomock.Call
GetResource indicates an expected call of GetResource