Documentation ¶
Index ¶
- type App
- type Apps
- func (al *Apps) Count() int
- func (al *Apps) Create(img string)
- func (al *Apps) GetArgs() [][]string
- func (al *Apps) GetImageIDs() []types.Hash
- func (al *Apps) GetImages() []string
- func (al *Apps) Last() *App
- func (al *Apps) Reset()
- func (al *Apps) Validate() error
- func (al *Apps) Walk(f func(*App) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Image string // the image reference as supplied by the user on the cli Args []string // any arguments the user supplied for this app Asc string // signature file override for image verification (if fetching occurs) Exec string // exec override for image Mounts []schema.Mount // mounts for this app (superseding any mounts in rktApps.mounts of same MountPoint) // TODO(jonboulle): These images are partially-populated hashes, this should be clarified. ImageID types.Hash // resolved image identifier }
type Apps ¶
type Apps struct { Mounts []schema.Mount // global mounts applied to all apps Volumes []types.Volume // volumes available to all apps // contains filtered or unexported fields }
func (*Apps) GetArgs ¶
GetArgs returns a list of lists of arguments in al, one list of args per app. The order reflects the app order in al.
func (*Apps) GetImageIDs ¶
GetImageIDs returns a list of the imageIDs in al, one per app. The order reflects the app order in al.
func (*Apps) GetImages ¶
GetImages returns a list of the images in al, one per app. The order reflects the app order in al.
Click to show internal directories.
Click to hide internal directories.