mock_helminstall

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 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 MockActionConfigFactory added in v0.14.0

type MockActionConfigFactory struct {
	// contains filtered or unexported fields
}

MockActionConfigFactory is a mock of ActionConfigFactory interface

func NewMockActionConfigFactory added in v0.14.0

func NewMockActionConfigFactory(ctrl *gomock.Controller) *MockActionConfigFactory

NewMockActionConfigFactory creates a new mock instance

func (*MockActionConfigFactory) EXPECT added in v0.14.0

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

func (*MockActionConfigFactory) NewActionConfig added in v0.14.0

func (m *MockActionConfigFactory) NewActionConfig(kubeConfig, helmKubeContext, namespace string) (*action.Configuration, *cli.EnvSettings, error)

NewActionConfig mocks base method

type MockActionConfigFactoryMockRecorder added in v0.14.0

type MockActionConfigFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockActionConfigFactoryMockRecorder is the mock recorder for MockActionConfigFactory

func (*MockActionConfigFactoryMockRecorder) NewActionConfig added in v0.14.0

func (mr *MockActionConfigFactoryMockRecorder) NewActionConfig(kubeConfig, helmKubeContext, namespace interface{}) *gomock.Call

NewActionConfig indicates an expected call of NewActionConfig

type MockActionListFactory added in v0.14.0

type MockActionListFactory struct {
	// contains filtered or unexported fields
}

MockActionListFactory is a mock of ActionListFactory interface

func NewMockActionListFactory added in v0.14.0

func NewMockActionListFactory(ctrl *gomock.Controller) *MockActionListFactory

NewMockActionListFactory creates a new mock instance

func (*MockActionListFactory) EXPECT added in v0.14.0

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

func (*MockActionListFactory) ReleaseList added in v0.14.0

func (m *MockActionListFactory) ReleaseList(kubeConfig, helmKubeContext, namespace string) (helminstall.ReleaseListRunner, error)

ReleaseList mocks base method

type MockActionListFactoryMockRecorder added in v0.14.0

type MockActionListFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockActionListFactoryMockRecorder is the mock recorder for MockActionListFactory

func (*MockActionListFactoryMockRecorder) ReleaseList added in v0.14.0

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

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 MockFsHelper added in v0.14.0

type MockFsHelper struct {
	// contains filtered or unexported fields
}

MockFsHelper is a mock of FsHelper interface

func NewMockFsHelper added in v0.14.0

func NewMockFsHelper(ctrl *gomock.Controller) *MockFsHelper

NewMockFsHelper creates a new mock instance

func (*MockFsHelper) EXPECT added in v0.14.0

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

func (*MockFsHelper) NewTempFile added in v0.14.0

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

NewTempFile mocks base method

func (*MockFsHelper) RemoveAll added in v0.14.0

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

RemoveAll mocks base method

func (*MockFsHelper) WriteFile added in v0.14.0

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

WriteFile mocks base method

type MockFsHelperMockRecorder added in v0.14.0

type MockFsHelperMockRecorder struct {
	// contains filtered or unexported fields
}

MockFsHelperMockRecorder is the mock recorder for MockFsHelper

func (*MockFsHelperMockRecorder) NewTempFile added in v0.14.0

func (mr *MockFsHelperMockRecorder) NewTempFile(dir, prefix interface{}) *gomock.Call

NewTempFile indicates an expected call of NewTempFile

func (*MockFsHelperMockRecorder) RemoveAll added in v0.14.0

func (mr *MockFsHelperMockRecorder) RemoveAll(path interface{}) *gomock.Call

RemoveAll indicates an expected call of RemoveAll

func (*MockFsHelperMockRecorder) WriteFile added in v0.14.0

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

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) (helminstall.HelmInstaller, *cli.EnvSettings, error)

NewInstall mocks base method

func (*MockHelmClient) NewUninstall

func (m *MockHelmClient) NewUninstall(kubeConfig, kubeContext, namespace string) (helminstall.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) (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(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 added in v0.14.0

type MockHelmInstaller struct {
	// contains filtered or unexported fields
}

MockHelmInstaller is a mock of HelmInstaller interface

func NewMockHelmInstaller added in v0.14.0

func NewMockHelmInstaller(ctrl *gomock.Controller) *MockHelmInstaller

NewMockHelmInstaller creates a new mock instance

func (*MockHelmInstaller) EXPECT added in v0.14.0

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

func (*MockHelmInstaller) Run added in v0.14.0

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

Run mocks base method

type MockHelmInstallerMockRecorder added in v0.14.0

type MockHelmInstallerMockRecorder struct {
	// contains filtered or unexported fields
}

MockHelmInstallerMockRecorder is the mock recorder for MockHelmInstaller

func (*MockHelmInstallerMockRecorder) Run added in v0.14.0

func (mr *MockHelmInstallerMockRecorder) Run(chrt, vals interface{}) *gomock.Call

Run indicates an expected call of Run

type MockHelmUninstaller added in v0.14.0

type MockHelmUninstaller struct {
	// contains filtered or unexported fields
}

MockHelmUninstaller is a mock of HelmUninstaller interface

func NewMockHelmUninstaller added in v0.14.0

func NewMockHelmUninstaller(ctrl *gomock.Controller) *MockHelmUninstaller

NewMockHelmUninstaller creates a new mock instance

func (*MockHelmUninstaller) EXPECT added in v0.14.0

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

func (*MockHelmUninstaller) Run added in v0.14.0

Run mocks base method

type MockHelmUninstallerMockRecorder added in v0.14.0

type MockHelmUninstallerMockRecorder struct {
	// contains filtered or unexported fields
}

MockHelmUninstallerMockRecorder is the mock recorder for MockHelmUninstaller

func (*MockHelmUninstallerMockRecorder) Run added in v0.14.0

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

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