Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnacondaContainerInstaller ¶ added in v0.29.0
type AnacondaContainerInstaller struct { Base Platform platform.Platform ExtraBasePackages rpmmd.PackageSet Users []users.User Groups []users.Group SquashfsCompression string ISOLabel string Product string Variant string OSName string Ref string OSVersion string Release string Preview bool ContainerSource container.SourceSpec Filename string AdditionalDracutModules []string AdditionalAnacondaModules []string AdditionalDrivers []string FIPS bool }
func NewAnacondaContainerInstaller ¶ added in v0.29.0
func NewAnacondaContainerInstaller(container container.SourceSpec, ref string) *AnacondaContainerInstaller
func (*AnacondaContainerInstaller) InstantiateManifest ¶ added in v0.29.0
type AnacondaLiveInstaller ¶
type AnacondaLiveInstaller struct { Base Platform platform.Platform Environment environment.Environment Workload workload.Workload ExtraBasePackages rpmmd.PackageSet ISOLabel string Product string Variant string OSName string OSVersion string Release string Preview bool Filename string AdditionalKernelOpts []string }
func NewAnacondaLiveInstaller ¶
func NewAnacondaLiveInstaller() *AnacondaLiveInstaller
func (*AnacondaLiveInstaller) InstantiateManifest ¶
type AnacondaOSTreeInstaller ¶
type AnacondaOSTreeInstaller struct { Base Platform platform.Platform ExtraBasePackages rpmmd.PackageSet Users []users.User Groups []users.Group Language *string Keyboard *string Timezone *string // Create a sudoers drop-in file for each user or group to enable the // NOPASSWD option NoPasswd []string // Add kickstart options to make the installation fully unattended UnattendedKickstart bool SquashfsCompression string ISOLabel string Product string Variant string OSName string OSVersion string Release string Preview bool Remote string Commit ostree.SourceSpec Filename string AdditionalDracutModules []string AdditionalAnacondaModules []string AdditionalDrivers []string FIPS bool }
func NewAnacondaOSTreeInstaller ¶
func NewAnacondaOSTreeInstaller(commit ostree.SourceSpec) *AnacondaOSTreeInstaller
func (*AnacondaOSTreeInstaller) InstantiateManifest ¶
type AnacondaTarInstaller ¶
type AnacondaTarInstaller struct { Base Platform platform.Platform OSCustomizations manifest.OSCustomizations Environment environment.Environment Workload workload.Workload ExtraBasePackages rpmmd.PackageSet Users []users.User Groups []users.Group // If set, the kickstart file will be added to the bootiso-tree at the // default path for osbuild, otherwise any kickstart options will be // configured in the default location for interactive defaults in the // rootfs. Enabling UnattendedKickstart automatically enables this option // because automatic installations cannot be configured using interactive // defaults. ISORootKickstart bool // Create a sudoers drop-in file for each user or group to enable the // NOPASSWD option NoPasswd []string // Add kickstart options to make the installation fully unattended. // Enabling this option also automatically enables the ISORootKickstart // option. UnattendedKickstart bool SquashfsCompression string ISOLabel string Product string Variant string OSName string OSVersion string Release string Preview bool Filename string AdditionalKernelOpts []string AdditionalAnacondaModules []string AdditionalDracutModules []string AdditionalDrivers []string }
func NewAnacondaTarInstaller ¶
func NewAnacondaTarInstaller() *AnacondaTarInstaller
func (*AnacondaTarInstaller) InstantiateManifest ¶
type Archive ¶
type Archive struct { Base Platform platform.Platform OSCustomizations manifest.OSCustomizations Environment environment.Environment Workload workload.Workload Filename string }
func NewArchive ¶
func NewArchive() *Archive
type BaseContainer ¶
type BaseContainer struct { Base Platform platform.Platform OSCustomizations manifest.OSCustomizations Environment environment.Environment Workload workload.Workload Filename string }
func NewBaseContainer ¶
func NewBaseContainer() *BaseContainer
func (*BaseContainer) InstantiateManifest ¶
type BootcDiskImage ¶ added in v0.30.0
type BootcDiskImage struct { Base Platform platform.Platform PartitionTable *disk.PartitionTable Filename string ContainerSource *container.SourceSpec // Customizations KernelOptionsAppend []string // "Users" is a bit misleading as only root and its ssh key is supported // right now because that is all that bootc gives us by default but that // will most likely change over time. // See https://github.com/containers/bootc/pull/267 Users []users.User }
func NewBootcDiskImage ¶ added in v0.30.0
func NewBootcDiskImage(container container.SourceSpec) *BootcDiskImage
func (*BootcDiskImage) InstantiateManifestFromContainers ¶ added in v0.30.0
func (img *BootcDiskImage) InstantiateManifestFromContainers(m *manifest.Manifest, containers []container.SourceSpec, runner runner.Runner, rng *rand.Rand) error
type DiskImage ¶
type DiskImage struct { Base Platform platform.Platform PartitionTable *disk.PartitionTable OSCustomizations manifest.OSCustomizations Environment environment.Environment Workload workload.Workload Filename string Compression string ForceSize *bool PartTool osbuild.PartTool NoBLS bool OSProduct string OSVersion string OSNick string // InstallWeakDeps enables installation of weak dependencies for packages // that are statically defined for the payload pipeline of the image. InstallWeakDeps *bool }
func NewDiskImage ¶
func NewDiskImage() *DiskImage
type OSTreeArchive ¶
type OSTreeArchive struct { Base Platform platform.Platform OSCustomizations manifest.OSCustomizations Environment environment.Environment Workload workload.Workload // OSTreeParent specifies the source for an optional parent commit for the // new commit being built. OSTreeParent *ostree.SourceSpec // OSTreeRef is the ref of the commit that will be built. OSTreeRef string OSVersion string Filename string InstallWeakDeps bool BootContainer bool }
func NewOSTreeArchive ¶
func NewOSTreeArchive(ref string) *OSTreeArchive
func (*OSTreeArchive) InstantiateManifest ¶
type OSTreeContainer ¶
type OSTreeContainer struct { Base Platform platform.Platform OSCustomizations manifest.OSCustomizations Environment environment.Environment Workload workload.Workload // OSTreeParent specifies the source for an optional parent commit for the // new commit being built. OSTreeParent *ostree.SourceSpec // OSTreeRef is the ref of the commit that will be built. OSTreeRef string OSVersion string ExtraContainerPackages rpmmd.PackageSet // FIXME: this is never read ContainerLanguage string Filename string }
func NewOSTreeContainer ¶
func NewOSTreeContainer(ref string) *OSTreeContainer
func (*OSTreeContainer) InstantiateManifest ¶
type OSTreeDiskImage ¶
type OSTreeDiskImage struct { Base Platform platform.Platform Workload workload.Workload PartitionTable *disk.PartitionTable Users []users.User Groups []users.Group CommitSource *ostree.SourceSpec ContainerSource *container.SourceSpec SysrootReadOnly bool Remote ostree.Remote OSName string Ref string KernelOptionsAppend []string Keyboard string Locale string Filename string IgnitionPlatform string Compression string Directories []*fsnode.Directory Files []*fsnode.File FIPS bool // Lock the root account in the deployment unless the user defined root // user options in the build configuration. LockRoot bool // Container buildable tweaks the buildroot to be container friendly, // i.e. to not rely on an installed osbuild-selinux ContainerBuildable bool CustomFilesystems []string }
func NewOSTreeDiskImageFromCommit ¶ added in v0.20.0
func NewOSTreeDiskImageFromCommit(commit ostree.SourceSpec) *OSTreeDiskImage
func NewOSTreeDiskImageFromContainer ¶ added in v0.20.0
func NewOSTreeDiskImageFromContainer(container container.SourceSpec, ref string) *OSTreeDiskImage
func (*OSTreeDiskImage) InstantiateManifest ¶
type OSTreeSimplifiedInstaller ¶
type OSTreeSimplifiedInstaller struct { Base Platform platform.Platform OSCustomizations manifest.OSCustomizations Environment environment.Environment Workload workload.Workload ExtraBasePackages rpmmd.PackageSet ISOLabel string // ISO label template (architecture-free) ISOLabelTmpl string // Product string for ISO buildstamp Product string // OSVersion string for ISO buildstamp OSVersion string // Variant string for ISO buildstamp Variant string // OSName for ostree deployment OSName string Filename string FDO *fdo.Options // Ignition firstboot configuration options IgnitionFirstBoot *ignition.FirstBootOptions // Ignition embedded configuration options IgnitionEmbedded *ignition.EmbeddedOptions AdditionalDracutModules []string // contains filtered or unexported fields }
func NewOSTreeSimplifiedInstaller ¶
func NewOSTreeSimplifiedInstaller(rawImage *OSTreeDiskImage, installDevice string) *OSTreeSimplifiedInstaller
func (*OSTreeSimplifiedInstaller) InstantiateManifest ¶
Click to show internal directories.
Click to hide internal directories.