Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDocker
- func (m *MockDocker) CheckContainerExistence(ctx context.Context, name string) (bool, error)
- func (m *MockDocker) EXPECT() *MockDockerMockRecorder
- func (m *MockDocker) ForceRemove(ctx context.Context, name string) error
- func (m *MockDocker) Run(ctx context.Context, image, name string, cmd []string, flags ...string) error
- type MockDockerMockRecorder
- type MockHelm
- type MockHelmMockRecorder
- type MockStackInstaller
- func (m *MockStackInstaller) CleanupLocalBoots(ctx context.Context, forceCleanup bool) error
- func (m *MockStackInstaller) EXPECT() *MockStackInstallerMockRecorder
- func (m *MockStackInstaller) Install(ctx context.Context, bundle v1alpha1.TinkerbellBundle, ...) error
- func (m *MockStackInstaller) UninstallLocal(ctx context.Context) error
- type MockStackInstallerMockRecorder
- func (mr *MockStackInstallerMockRecorder) CleanupLocalBoots(ctx, forceCleanup interface{}) *gomock.Call
- func (mr *MockStackInstallerMockRecorder) Install(ctx, bundle, tinkerbellIP, kubeconfig, hookOverride interface{}, ...) *gomock.Call
- func (mr *MockStackInstallerMockRecorder) UninstallLocal(ctx interface{}) *gomock.Call
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 ¶
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.
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.
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.
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) CleanupLocalBoots ¶
func (m *MockStackInstaller) CleanupLocalBoots(ctx context.Context, forceCleanup bool) error
CleanupLocalBoots mocks base method.
func (*MockStackInstaller) EXPECT ¶
func (m *MockStackInstaller) EXPECT() *MockStackInstallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
type MockStackInstallerMockRecorder ¶
type MockStackInstallerMockRecorder struct {
// contains filtered or unexported fields
}
MockStackInstallerMockRecorder is the mock recorder for MockStackInstaller.
func (*MockStackInstallerMockRecorder) CleanupLocalBoots ¶
func (mr *MockStackInstallerMockRecorder) CleanupLocalBoots(ctx, forceCleanup interface{}) *gomock.Call
CleanupLocalBoots indicates an expected call of CleanupLocalBoots.
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.