Documentation ¶
Overview ¶
Package mock_helminstall is a generated GoMock package.
Package mock_helminstall is a generated GoMock package.
Package mock_helminstall is a generated GoMock package.
Package mock_helminstall is a generated GoMock package.
Index ¶
- type MockActionConfigLoader
- type MockActionConfigLoaderMockRecorder
- type MockActionListLoader
- type MockActionListLoaderMockRecorder
- type MockChartLoader
- type MockChartLoaderMockRecorder
- type MockFs
- type MockFsMockRecorder
- 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) (helminstall.HelmInstaller, *cli.EnvSettings, error)
- func (m *MockHelmClient) NewUninstall(namespace string) (helminstall.HelmUninstaller, error)
- func (m *MockHelmClient) ReleaseExists(namespace, releaseName string) (bool, error)
- func (m *MockHelmClient) ReleaseList(namespace string) (helminstall.ReleaseListRunner, error)
- type MockHelmClientMockRecorder
- func (mr *MockHelmClientMockRecorder) DownloadChart(chartArchiveUri interface{}) *gomock.Call
- func (mr *MockHelmClientMockRecorder) NewInstall(namespace, releaseName, dryRun interface{}) *gomock.Call
- func (mr *MockHelmClientMockRecorder) NewUninstall(namespace interface{}) *gomock.Call
- func (mr *MockHelmClientMockRecorder) ReleaseExists(namespace, releaseName interface{}) *gomock.Call
- func (mr *MockHelmClientMockRecorder) ReleaseList(namespace interface{}) *gomock.Call
- type MockHelmInstall
- type MockHelmInstallMockRecorder
- type MockHelmUninstall
- type MockHelmUninstallMockRecorder
- type MockInstaller
- type MockInstallerMockRecorder
- type MockNamespaceCLient
- func (m *MockNamespaceCLient) Create(ns *v1.Namespace) (*v1.Namespace, error)
- func (m *MockNamespaceCLient) Delete(name string, options *v10.DeleteOptions) error
- func (m *MockNamespaceCLient) EXPECT() *MockNamespaceCLientMockRecorder
- func (m *MockNamespaceCLient) Get(name string, options v10.GetOptions) (*v1.Namespace, error)
- func (m *MockNamespaceCLient) List(opts v10.ListOptions) (*v1.NamespaceList, error)
- type MockNamespaceCLientMockRecorder
- func (mr *MockNamespaceCLientMockRecorder) Create(ns interface{}) *gomock.Call
- func (mr *MockNamespaceCLientMockRecorder) Delete(name, options interface{}) *gomock.Call
- func (mr *MockNamespaceCLientMockRecorder) Get(name, options interface{}) *gomock.Call
- func (mr *MockNamespaceCLientMockRecorder) List(opts interface{}) *gomock.Call
- 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 MockActionConfigLoader ¶
type MockActionConfigLoader struct {
// contains filtered or unexported fields
}
MockActionConfigLoader is a mock of ActionConfigFactory interface
func NewMockActionConfigLoader ¶
func NewMockActionConfigLoader(ctrl *gomock.Controller) *MockActionConfigLoader
NewMockActionConfigLoader creates a new mock instance
func (*MockActionConfigLoader) EXPECT ¶
func (m *MockActionConfigLoader) EXPECT() *MockActionConfigLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockActionConfigLoader) NewActionConfig ¶
func (m *MockActionConfigLoader) NewActionConfig(namespace string) (*action.Configuration, *cli.EnvSettings, error)
NewActionConfig mocks base method
type MockActionConfigLoaderMockRecorder ¶
type MockActionConfigLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockActionConfigLoaderMockRecorder is the mock recorder for MockActionConfigLoader
func (*MockActionConfigLoaderMockRecorder) NewActionConfig ¶
func (mr *MockActionConfigLoaderMockRecorder) NewActionConfig(namespace interface{}) *gomock.Call
NewActionConfig indicates an expected call of NewActionConfig
type MockActionListLoader ¶
type MockActionListLoader struct {
// contains filtered or unexported fields
}
MockActionListLoader is a mock of ActionListFactory interface
func NewMockActionListLoader ¶
func NewMockActionListLoader(ctrl *gomock.Controller) *MockActionListLoader
NewMockActionListLoader creates a new mock instance
func (*MockActionListLoader) EXPECT ¶
func (m *MockActionListLoader) EXPECT() *MockActionListLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockActionListLoader) ReleaseList ¶
func (m *MockActionListLoader) ReleaseList(namespace string) (helminstall.ReleaseListRunner, error)
ReleaseList mocks base method
type MockActionListLoaderMockRecorder ¶
type MockActionListLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockActionListLoaderMockRecorder is the mock recorder for MockActionListLoader
func (*MockActionListLoaderMockRecorder) ReleaseList ¶
func (mr *MockActionListLoaderMockRecorder) ReleaseList(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 MockFs ¶
type MockFs struct {
// contains filtered or unexported fields
}
MockFs is a mock of FsHelper interface
func NewMockFs ¶
func NewMockFs(ctrl *gomock.Controller) *MockFs
NewMockFs creates a new mock instance
func (*MockFs) EXPECT ¶
func (m *MockFs) EXPECT() *MockFsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFs) NewTempFile ¶
NewTempFile mocks base method
type MockFsMockRecorder ¶
type MockFsMockRecorder struct {
// contains filtered or unexported fields
}
MockFsMockRecorder is the mock recorder for MockFs
func (*MockFsMockRecorder) NewTempFile ¶
func (mr *MockFsMockRecorder) NewTempFile(dir, prefix interface{}) *gomock.Call
NewTempFile indicates an expected call of NewTempFile
func (*MockFsMockRecorder) RemoveAll ¶
func (mr *MockFsMockRecorder) RemoveAll(path interface{}) *gomock.Call
RemoveAll indicates an expected call of RemoveAll
func (*MockFsMockRecorder) WriteFile ¶
func (mr *MockFsMockRecorder) 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(namespace, releaseName string, dryRun bool) (helminstall.HelmInstaller, *cli.EnvSettings, error)
NewInstall mocks base method
func (*MockHelmClient) NewUninstall ¶
func (m *MockHelmClient) NewUninstall(namespace string) (helminstall.HelmUninstaller, 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) (helminstall.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(namespace, releaseName, dryRun interface{}) *gomock.Call
NewInstall indicates an expected call of NewInstall
func (*MockHelmClientMockRecorder) NewUninstall ¶
func (mr *MockHelmClientMockRecorder) NewUninstall(namespace interface{}) *gomock.Call
NewUninstall indicates an expected call of NewUninstall
func (*MockHelmClientMockRecorder) ReleaseExists ¶
func (mr *MockHelmClientMockRecorder) ReleaseExists(namespace, releaseName interface{}) *gomock.Call
ReleaseExists indicates an expected call of ReleaseExists
func (*MockHelmClientMockRecorder) ReleaseList ¶
func (mr *MockHelmClientMockRecorder) ReleaseList(namespace interface{}) *gomock.Call
ReleaseList indicates an expected call of ReleaseList
type MockHelmInstall ¶
type MockHelmInstall struct {
// contains filtered or unexported fields
}
MockHelmInstall is a mock of HelmInstaller interface
func NewMockHelmInstall ¶
func NewMockHelmInstall(ctrl *gomock.Controller) *MockHelmInstall
NewMockHelmInstall creates a new mock instance
func (*MockHelmInstall) EXPECT ¶
func (m *MockHelmInstall) EXPECT() *MockHelmInstallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockHelmInstallMockRecorder ¶
type MockHelmInstallMockRecorder struct {
// contains filtered or unexported fields
}
MockHelmInstallMockRecorder is the mock recorder for MockHelmInstall
func (*MockHelmInstallMockRecorder) Run ¶
func (mr *MockHelmInstallMockRecorder) Run(chrt, vals interface{}) *gomock.Call
Run indicates an expected call of Run
type MockHelmUninstall ¶
type MockHelmUninstall struct {
// contains filtered or unexported fields
}
MockHelmUninstall is a mock of HelmUninstaller interface
func NewMockHelmUninstall ¶
func NewMockHelmUninstall(ctrl *gomock.Controller) *MockHelmUninstall
NewMockHelmUninstall creates a new mock instance
func (*MockHelmUninstall) EXPECT ¶
func (m *MockHelmUninstall) EXPECT() *MockHelmUninstallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHelmUninstall) Run ¶
func (m *MockHelmUninstall) Run(name string) (*release.UninstallReleaseResponse, error)
Run mocks base method
type MockHelmUninstallMockRecorder ¶
type MockHelmUninstallMockRecorder struct {
// contains filtered or unexported fields
}
MockHelmUninstallMockRecorder is the mock recorder for MockHelmUninstall
func (*MockHelmUninstallMockRecorder) Run ¶
func (mr *MockHelmUninstallMockRecorder) 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 *helminstall.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 MockNamespaceCLient ¶
type MockNamespaceCLient struct {
// contains filtered or unexported fields
}
MockNamespaceCLient is a mock of NamespaceCLient interface
func NewMockNamespaceCLient ¶
func NewMockNamespaceCLient(ctrl *gomock.Controller) *MockNamespaceCLient
NewMockNamespaceCLient creates a new mock instance
func (*MockNamespaceCLient) Delete ¶
func (m *MockNamespaceCLient) Delete(name string, options *v10.DeleteOptions) error
Delete mocks base method
func (*MockNamespaceCLient) EXPECT ¶
func (m *MockNamespaceCLient) EXPECT() *MockNamespaceCLientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNamespaceCLient) Get ¶
func (m *MockNamespaceCLient) Get(name string, options v10.GetOptions) (*v1.Namespace, error)
Get mocks base method
func (*MockNamespaceCLient) List ¶
func (m *MockNamespaceCLient) List(opts v10.ListOptions) (*v1.NamespaceList, error)
List mocks base method
type MockNamespaceCLientMockRecorder ¶
type MockNamespaceCLientMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespaceCLientMockRecorder is the mock recorder for MockNamespaceCLient
func (*MockNamespaceCLientMockRecorder) Create ¶
func (mr *MockNamespaceCLientMockRecorder) Create(ns interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockNamespaceCLientMockRecorder) Delete ¶
func (mr *MockNamespaceCLientMockRecorder) Delete(name, options interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockNamespaceCLientMockRecorder) Get ¶
func (mr *MockNamespaceCLientMockRecorder) Get(name, options interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockNamespaceCLientMockRecorder) List ¶
func (mr *MockNamespaceCLientMockRecorder) List(opts interface{}) *gomock.Call
List indicates an expected call of List
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