Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entrypoint ¶
type Entrypoint struct {
types.Entrypoint `yaml:",inline"`
Command string `yaml:"cmd,omitempty"`
}
Entrypoint accepts both the legacy `cmd` string and the current `commands` list.
func (Entrypoint) GetCommands ¶
func (e Entrypoint) GetCommands() []string
type Specs ¶
type Specs struct {
Appname string `yaml:"appname"`
Entrypoints map[string]Entrypoint `yaml:"entrypoints"`
Volumes []string `yaml:"volumes"`
VolumesRequest []string `yaml:"volumes_request"`
Labels map[string]string `yaml:"labels"`
DNS []string `yaml:"dns"`
ExtraHosts []string `yaml:"extra_hosts"`
}
Specs is the deploy spec file of an application.
Click to show internal directories.
Click to hide internal directories.