mocks

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDocker

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

MockDocker is a mock of Docker interface.

func NewMockDocker

func NewMockDocker(ctrl *gomock.Controller) *MockDocker

NewMockDocker creates a new mock instance.

func (*MockDocker) CheckContainerExistence

func (m *MockDocker) CheckContainerExistence(ctx context.Context, name string) (bool, error)

CheckContainerExistence mocks base method.

func (*MockDocker) EXPECT

func (m *MockDocker) EXPECT() *MockDockerMockRecorder

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

func (*MockDocker) ForceRemove

func (m *MockDocker) ForceRemove(ctx context.Context, name string) error

ForceRemove mocks base method.

func (*MockDocker) Run

func (m *MockDocker) Run(ctx context.Context, image, name string, cmd []string, flags ...string) error

Run mocks base method.

type MockDockerMockRecorder

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

MockDockerMockRecorder is the mock recorder for MockDocker.

func (*MockDockerMockRecorder) CheckContainerExistence

func (mr *MockDockerMockRecorder) CheckContainerExistence(ctx, name interface{}) *gomock.Call

CheckContainerExistence indicates an expected call of CheckContainerExistence.

func (*MockDockerMockRecorder) ForceRemove

func (mr *MockDockerMockRecorder) ForceRemove(ctx, name interface{}) *gomock.Call

ForceRemove indicates an expected call of ForceRemove.

func (*MockDockerMockRecorder) Run

func (mr *MockDockerMockRecorder) Run(ctx, image, name, cmd interface{}, flags ...interface{}) *gomock.Call

Run indicates an expected call of Run.

type MockHelm

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

MockHelm is a mock of Helm interface.

func NewMockHelm

func NewMockHelm(ctrl *gomock.Controller) *MockHelm

NewMockHelm creates a new mock instance.

func (*MockHelm) EXPECT

func (m *MockHelm) EXPECT() *MockHelmMockRecorder

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

func (*MockHelm) InstallChartWithValuesFile

func (m *MockHelm) InstallChartWithValuesFile(ctx context.Context, chart, ociURI, version, kubeconfigFilePath, valuesFilePath string) error

InstallChartWithValuesFile mocks base method.

func (*MockHelm) RegistryLogin added in v0.13.0

func (m *MockHelm) RegistryLogin(ctx context.Context, endpoint, username, password string) error

RegistryLogin mocks base method.

func (*MockHelm) UpgradeChartWithValuesFile added in v0.15.0

func (m *MockHelm) UpgradeChartWithValuesFile(ctx context.Context, chart, ociURI, version, kubeconfigFilePath, valuesFilePath string, opts ...helm.Opt) error

UpgradeChartWithValuesFile mocks base method.

type MockHelmMockRecorder

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

MockHelmMockRecorder is the mock recorder for MockHelm.

func (*MockHelmMockRecorder) InstallChartWithValuesFile

func (mr *MockHelmMockRecorder) InstallChartWithValuesFile(ctx, chart, ociURI, version, kubeconfigFilePath, valuesFilePath interface{}) *gomock.Call

InstallChartWithValuesFile indicates an expected call of InstallChartWithValuesFile.

func (*MockHelmMockRecorder) RegistryLogin added in v0.13.0

func (mr *MockHelmMockRecorder) RegistryLogin(ctx, endpoint, username, password interface{}) *gomock.Call

RegistryLogin indicates an expected call of RegistryLogin.

func (*MockHelmMockRecorder) UpgradeChartWithValuesFile added in v0.15.0

func (mr *MockHelmMockRecorder) UpgradeChartWithValuesFile(ctx, chart, ociURI, version, kubeconfigFilePath, valuesFilePath interface{}, opts ...interface{}) *gomock.Call

UpgradeChartWithValuesFile indicates an expected call of UpgradeChartWithValuesFile.

type MockStackInstaller

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

MockStackInstaller is a mock of StackInstaller interface.

func NewMockStackInstaller

func NewMockStackInstaller(ctrl *gomock.Controller) *MockStackInstaller

NewMockStackInstaller creates a new mock instance.

func (*MockStackInstaller) AddNoProxyIP added in v0.16.0

func (m *MockStackInstaller) AddNoProxyIP(IP string)

AddNoProxyIP mocks base method.

func (*MockStackInstaller) CleanupLocalBoots

func (m *MockStackInstaller) CleanupLocalBoots(ctx context.Context, forceCleanup bool) error

CleanupLocalBoots mocks base method.

func (*MockStackInstaller) EXPECT

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

func (*MockStackInstaller) GetNamespace added in v0.15.0

func (m *MockStackInstaller) GetNamespace() string

GetNamespace mocks base method.

func (*MockStackInstaller) Install

func (m *MockStackInstaller) Install(ctx context.Context, bundle v1alpha1.TinkerbellBundle, tinkerbellIP, kubeconfig, hookOverride string, opts ...stack.InstallOption) error

Install mocks base method.

func (*MockStackInstaller) UninstallLocal

func (m *MockStackInstaller) UninstallLocal(ctx context.Context) error

UninstallLocal mocks base method.

func (*MockStackInstaller) Upgrade added in v0.15.0

func (m *MockStackInstaller) Upgrade(arg0 context.Context, arg1 v1alpha1.TinkerbellBundle, tinkerbellIP, kubeconfig, hookOverride string, opts ...stack.InstallOption) error

Upgrade mocks base method.

type MockStackInstallerMockRecorder

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

MockStackInstallerMockRecorder is the mock recorder for MockStackInstaller.

func (*MockStackInstallerMockRecorder) AddNoProxyIP added in v0.16.0

func (mr *MockStackInstallerMockRecorder) AddNoProxyIP(IP interface{}) *gomock.Call

AddNoProxyIP indicates an expected call of AddNoProxyIP.

func (*MockStackInstallerMockRecorder) CleanupLocalBoots

func (mr *MockStackInstallerMockRecorder) CleanupLocalBoots(ctx, forceCleanup interface{}) *gomock.Call

CleanupLocalBoots indicates an expected call of CleanupLocalBoots.

func (*MockStackInstallerMockRecorder) GetNamespace added in v0.15.0

func (mr *MockStackInstallerMockRecorder) GetNamespace() *gomock.Call

GetNamespace indicates an expected call of GetNamespace.

func (*MockStackInstallerMockRecorder) Install

func (mr *MockStackInstallerMockRecorder) Install(ctx, bundle, tinkerbellIP, kubeconfig, hookOverride interface{}, opts ...interface{}) *gomock.Call

Install indicates an expected call of Install.

func (*MockStackInstallerMockRecorder) UninstallLocal

func (mr *MockStackInstallerMockRecorder) UninstallLocal(ctx interface{}) *gomock.Call

UninstallLocal indicates an expected call of UninstallLocal.

func (*MockStackInstallerMockRecorder) Upgrade added in v0.15.0

func (mr *MockStackInstallerMockRecorder) Upgrade(arg0, arg1, tinkerbellIP, kubeconfig, hookOverride interface{}, opts ...interface{}) *gomock.Call

Upgrade indicates an expected call of Upgrade.

Jump to

Keyboard shortcuts

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