Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServiceOrder ¶
func GetServiceOrder(services map[string]DockerComposeService, serviceOrder []string) []string
Types ¶
type DockerComposeService ¶
type DockerComposeService struct { Image string `json:"image"` Build DockerComposeServiceBuild `json:"build"` WorkingDir string `json:"working_dir"` Command DockerComposeServiceCommand `json:"command"` Links []string `json:"links"` Environment DockerComposeServiceEnvironment `json:"environment"` Volumes []string `json:"volumes"` Expose []string `json:"expose"` Networks map[string]DockerComposeServiceNetwork `json:"networks"` }
type DockerComposeServiceBuild ¶
type DockerComposeServiceBuild struct { Context string `json:"context" yaml:"context"` Dockerfile string `json:"dockerfile" yaml:"dockerfile"` }
func (*DockerComposeServiceBuild) UnmarshalJSON ¶
func (c *DockerComposeServiceBuild) UnmarshalJSON(b []byte) error
type DockerComposeServiceCommand ¶
type DockerComposeServiceCommand []string
func (*DockerComposeServiceCommand) UnmarshalJSON ¶
func (c *DockerComposeServiceCommand) UnmarshalJSON(b []byte) error
type DockerComposeServiceEnvironment ¶
func (*DockerComposeServiceEnvironment) UnmarshalJSON ¶
func (env *DockerComposeServiceEnvironment) UnmarshalJSON(b []byte) error
type DockerComposeServiceNetwork ¶
type DockerComposeServiceNetwork struct {
Aliases []string `json:"aliases" yaml:"aliases"`
}
type DockerComposeYaml ¶
type DockerComposeYaml struct { Version string `json:"version"` Services map[string]DockerComposeService `json:"services"` }
Click to show internal directories.
Click to hide internal directories.