Documentation
¶
Index ¶
Constants ¶
View Source
const ( MetadataFilename = "ccbundle.yaml" DefaultImageDir = "image" )
Variables ¶
This section is empty.
Functions ¶
func IsBundleDir ¶
func WriteTemplate ¶
WriteTemplate writes a metadata YAML file. Callers should have already created the bundle directory and any referenced files (image/, icons, etc.).
Types ¶
type BootConfig ¶
type Metadata ¶
type Metadata struct {
Version int `yaml:"version"`
Name string `yaml:"name"`
Description string `yaml:"description"`
Icon string `yaml:"icon,omitempty"`
Boot BootConfig `yaml:"boot"`
}
Metadata describes a prebaked “cc bundle” folder on disk.
func LoadMetadata ¶
Click to show internal directories.
Click to hide internal directories.