installer

package
v0.0.0-...-235e522 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 24 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
	WriteReinstallData(ctx context.Context, tmpWorkDir, isoWorkDir string, idData credentials.IdentityData) 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.

func (*MockInstaller) WriteReinstallData

func (m *MockInstaller) WriteReinstallData(ctx context.Context, tmpWorkDir, isoWorkDir string, idData credentials.IdentityData) error

WriteReinstallData mocks base method.

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.

func (*MockInstallerMockRecorder) WriteReinstallData

func (mr *MockInstallerMockRecorder) WriteReinstallData(ctx, tmpWorkDir, isoWorkDir, idData any) *gomock.Call

WriteReinstallData indicates an expected call of WriteReinstallData.

Jump to

Keyboard shortcuts

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