Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pod ¶
type Pod struct { Root string // root directory where the pod will be located UUID types.UUID Manifest *schema.PodManifest Images map[string]*schema.ImageManifest MetadataServiceURL string Networks []string }
Pod encapsulates a PodManifest and ImageManifests
func LoadPod ¶
LoadPod loads a Pod Manifest (as prepared by stage0) and its associated Application Manifests, under $root/stage1/opt/stage1/$apphash
func (*Pod) AppNameToImageName ¶ added in v1.1.0
func (p *Pod) AppNameToImageName(appName types.ACName) types.ACIdentifier
AppNameToImageName takes the name of an app in the Pod and returns the name of the app's image. The mapping between these two is populated when a Pod is loaded (using LoadPod).
Click to show internal directories.
Click to hide internal directories.