Documentation ¶
Index ¶
Constants ¶
View Source
const (
ACIExtension = ".aci"
)
Variables ¶
View Source
var (
AppContainerVersion types.SemVer
)
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Name types.ACName `json:"name"` ImageID types.Hash `json:"imageID"` Isolators []types.Isolator `json:"isolators"` Annotations map[types.ACName]string `json:"annotations"` }
App describes an application referenced in a ContainerRuntimeManifest
type AppManifest ¶
type AppManifest struct { ACVersion types.SemVer `json:"acVersion"` ACKind types.ACKind `json:"acKind"` Name types.ACName `json:"name"` OS string `json:"os"` Arch string `json:"arch"` Exec []string `json:"exec"` EventHandlers []types.EventHandler `json:"eventHandlers"` User string `json:"user"` Group string `json:"group"` Environment map[string]string `json:"environment"` MountPoints []types.MountPoint `json:"mountPoints"` Ports []types.Port `json:"ports"` Isolators []types.Isolator `json:"isolators"` Annotations types.Annotations `json:"annotations"` }
func (AppManifest) MarshalJSON ¶
func (am AppManifest) MarshalJSON() ([]byte, error)
func (*AppManifest) UnmarshalJSON ¶
func (am *AppManifest) UnmarshalJSON(data []byte) error
type ContainerRuntimeManifest ¶
type ContainerRuntimeManifest struct { ACVersion types.SemVer `json:"acVersion"` ACKind types.ACKind `json:"acKind"` UUID types.UUID `json:"uuid"` Apps AppList `json:"apps"` Volumes []types.Volume `json:"volumes"` Isolators []types.Isolator `json:"isolators"` Annotations map[types.ACName]string `json:"annotations"` }
func (ContainerRuntimeManifest) MarshalJSON ¶
func (cm ContainerRuntimeManifest) MarshalJSON() ([]byte, error)
func (*ContainerRuntimeManifest) UnmarshalJSON ¶
func (cm *ContainerRuntimeManifest) UnmarshalJSON(data []byte) error
type Dependency ¶
type FilesetManifest ¶
type FilesetManifest struct { ACVersion types.SemVer `json:"acVersion"` ACKind types.ACKind `json:"acKind"` Name types.ACName `json:"name"` OS string `json:"os"` Arch string `json:"arch"` Dependencies []Dependency `json:"dependencies"` Files []string `json:"files"` }
func NewFilesetManifest ¶
func NewFilesetManifest(name string) (*FilesetManifest, error)
func (FilesetManifest) MarshalJSON ¶
func (fsm FilesetManifest) MarshalJSON() ([]byte, error)
func (*FilesetManifest) UnmarshalJSON ¶
func (fsm *FilesetManifest) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.