types

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

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

func LoadPod(root string, uuid *types.UUID) (*Pod, error)

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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL