mock_helminstall

package
v0.13.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

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

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

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

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockChartLoader) Load

func (m *MockChartLoader) Load(name string) (*chart.Chart, error)

Load mocks base method

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

func (m *MockFs) NewTempFile(dir, prefix string) (afero.File, error)

NewTempFile mocks base method

func (*MockFs) RemoveAll

func (m *MockFs) RemoveAll(path string) error

RemoveAll mocks base method

func (*MockFs) WriteFile

func (m *MockFs) WriteFile(filename string, data []byte, perm os.FileMode) error

WriteFile 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

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockHelmInstall) Run

func (m *MockHelmInstall) Run(chrt *chart.Chart, vals map[string]interface{}) (*release.Release, error)

Run mocks base method

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockHelmUninstall) Run

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

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) Create

func (m *MockNamespaceCLient) Create(ns *v1.Namespace) (*v1.Namespace, error)

Create mocks base method

func (*MockNamespaceCLient) Delete

func (m *MockNamespaceCLient) Delete(name string, options *v10.DeleteOptions) error

Delete mocks base method

func (*MockNamespaceCLient) EXPECT

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

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

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL