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.
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