seedcreator

package
v0.0.0-...-81b83f7 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: Apache-2.0 Imports: 19 Imported by: 1 module, 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSeedAdditionalTrustBundleState

func GetSeedAdditionalTrustBundleState(ctx context.Context, client runtime.Client) (*seedclusterinfo.AdditionalTrustBundle, error)

Types

type Options

type Options struct {
	Client               runtime.Client
	Log                  *logrus.Logger
	Ops                  ops.Ops
	OstreeClient         rpmostreeclient.IClient
	BackupDir            string
	Paths                Paths
	Kubeconfig           string
	ContainerRegistry    string
	AuthFile             string
	RecertContainerImage string
	RecertSkipValidation bool
}

Options configures a SeedCreator instance.

type Paths

type Paths struct {
	BackupChecksDir            string
	InstallationConfigFilesDir string
	SeedDataDir                string
	LCABinarySource            string
	LCABinaryDest              string
	MCDCurrentConfig           string
	SystemdUnitDestDir         string
	DockerfileTempDir          string
	BackupCertsDir             string
	OvnCertDirs                []string
}

Paths holds filesystem paths used during seed image creation.

func DefaultPaths

func DefaultPaths() Paths

DefaultPaths returns production path defaults.

type SeedCreator

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

SeedCreator creates OCI seed images from a running SNO cluster.

func NewSeedCreator

func NewSeedCreator(opts Options) *SeedCreator

NewSeedCreator constructs a SeedCreator from Options.

func (*SeedCreator) CreateSeedImage

func (s *SeedCreator) CreateSeedImage() error

CreateSeedImage comprises the lca-cli workflow for creating a single OCI seed image

Jump to

Keyboard shortcuts

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