Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentifiedPartition ¶
type IdentifiedPartition struct {
Id string `yaml:"id"`
}
func (*IdentifiedPartition) IsValid ¶
func (i *IdentifiedPartition) IsValid() error
type OS ¶
type OS struct {
Hostname string `yaml:"hostname"`
SELinux imagecustomizerapi.SELinux `yaml:"selinux"`
Users []imagecustomizerapi.User `yaml:"users"`
Overlays *[]Overlay `yaml:"overlays"`
KernelCommandLine imagecustomizerapi.KernelCommandLine `yaml:"kernelCommandLine"`
Services imagecustomizerapi.Services `yaml:"services"`
Modules imagecustomizerapi.ModuleList `yaml:"modules"`
Verity *Verity `yaml:"verity"`
RootDevice string `yaml:"rootDevice"`
}
OS defines how each system present on the image is supposed to be configured.
type Overlay ¶
type Overlay struct {
LowerDir string `yaml:"lowerDir"`
UpperDir string `yaml:"upperDir"`
WorkDir string `yaml:"workDir"`
Partition *IdentifiedPartition `yaml:"partition"`
}
type Verity ¶
type Verity struct {
// ID is used to correlate `Verity` objects with `FileSystem` objects.
Id string `yaml:"id"`
// The name of the mapper block device.
// Must be 'root' for the rootfs (/) filesystem.
Name string `yaml:"name"`
// The 'Partition' to use as the data partition.
DataDevice string `yaml:"dataDevice"`
// The 'Partition' to use as the hash partition.
HashDevice string `yaml:"hashDevice"`
// How to handle corruption.
CorruptionOption imagecustomizerapi.CorruptionOption `yaml:"corruptionOption"`
}
Click to show internal directories.
Click to hide internal directories.