Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Const ¶
type Const struct {
KernelOptsList []string `json:"kernel_opts_list"`
// PartitionMap is generated for convenient indexing of certain partitions
// with predictable names in otk, such as
// "filesystem.partition_map.boot.uuid"
PartitionMap map[string]Partition `json:"partition_map"`
// Internal representation of the full partition table. The representation
// is internal to the partition tools and should not be used by otk
// directly. It makes no external API guarantees about the content or
// structure.
Internal Internal `json:"internal"`
// Filename for the disk image.
Filename string `json:"filename"`
}
Const contains partition table data that is considered "constant", i.e. that should not be modified by the consumer as there may be inter-dependencies between the values
type Data ¶
type Data struct {
Const Const `json:"const"`
}
Data contains the full description of the partition table as well as extra options and a PartitionMap for easier access. The data under Const should not be modified by a consumer of this data structure.
type Internal ¶
type Internal struct {
PartitionTable *disk.PartitionTable `json:"partition-table"`
}
Interal contains partition table data that is stricly internal and may change in non-backward compatible ways. No "otk" manifest should ever use this directly, it's strictly meant for the "otk-{gen,make}-*" tools for their data exchange.
Click to show internal directories.
Click to hide internal directories.