Documentation ¶
Index ¶
Constants ¶
View Source
const (
// TorcxImageListV0K is the JSON kind identifier for an image list
TorcxImageListV0K = "torcx-image-list-v0"
)
View Source
const (
// TorcxProfileListV0K is the JSON kind identifier for a profile list
TorcxProfileListV0K = "torcx-profile-list-v0"
)
Variables ¶
View Source
var ( // TorcxGenCmd is the top-level cobra command for `torcx-generator` TorcxGenCmd = &cobra.Command{ Use: "torcx-generator", RunE: runGenerator, SilenceUsage: true, } )
Functions ¶
Types ¶
type ImageEntry ¶
type ImageEntry struct { Name string `json:"name"` Reference string `json:"reference"` Filepath string `json:"filepath"` }
ImageEntry represents an entry in an image list
type ImageList ¶
type ImageList struct { Kind string `json:"kind"` Value []ImageEntry `json:"value"` }
ImageList is the JSON container for profile list output
type ProfileList ¶
type ProfileList struct { Kind string `json:"kind"` Value profileList `json:"value"` }
ProfileList is the JSON container for profile list output
Click to show internal directories.
Click to hide internal directories.