installer

package
v0.0.0-...-5034d74 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package installer is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertIDMToIDS

func ConvertIDMToIDS(imageDigestMirrors []apicfgv1.ImageDigestMirrors) []installertypes.ImageDigestSource

func WriteImageBaseConfig

func WriteImageBaseConfig(ctx context.Context,
	ici *v1alpha1.ImageClusterInstall,
	releaseRegistry, nmstateConfig, file string) error

func WriteInstallConfig

func WriteInstallConfig(
	ici *v1alpha1.ImageClusterInstall,
	cd *hivev1.ClusterDeployment,
	psData, caBundle, file string) error

Types

type Installer

type Installer interface {
	CreateInstallationIso(ctx context.Context, log logrus.FieldLogger, workDir string) error
}

func NewInstaller

func NewInstaller() Installer

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

func (m *MockInstaller) CreateInstallationIso(ctx context.Context, log logrus.FieldLogger, workDir string) error

CreateInstallationIso mocks base method.

func (*MockInstaller) EXPECT

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

type MockInstallerMockRecorder

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

MockInstallerMockRecorder is the mock recorder for MockInstaller.

func (*MockInstallerMockRecorder) CreateInstallationIso

func (mr *MockInstallerMockRecorder) CreateInstallationIso(ctx, log, workDir any) *gomock.Call

CreateInstallationIso indicates an expected call of CreateInstallationIso.

Jump to

Keyboard shortcuts

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