Documentation
¶
Index ¶
Constants ¶
View Source
const ContainerType = "container"
ContainerType defines the container type (used by default).
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppAttributes ¶
type AppAttributes struct {
Environment map[string]string `json:"environment,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Runscript string `json:"runscript,omitempty"`
Startscript string `json:"startscript,omitempty"`
Test string `json:"test,omitempty"`
Helpfile string `json:"helpfile,omitempty"`
}
AppAttributes describes app metadata attributes.
type Attributes ¶
type Attributes struct {
Apps map[string]*AppAttributes `json:"apps,omitempty"`
Environment map[string]string `json:"environment,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Runscript string `json:"runscript,omitempty"`
Test string `json:"test,omitempty"`
Helpfile string `json:"helpfile,omitempty"`
Deffile string `json:"deffile,omitempty"`
Startscript string `json:"startscript,omitempty"`
}
Attributes describes metadata attributes of Singularity containers.
type Data ¶
type Data struct {
Attributes Attributes `json:"attributes"`
}
Data holds the container metadata attributes.
type Metadata ¶
Metadata describes the JSON format of Singularity container metadata.
func NewMetadata ¶
func NewMetadata() *Metadata
NewMetadata returns an initialized instances of Metadata.
Click to show internal directories.
Click to hide internal directories.