Documentation ¶ Index ¶ type Build type Container type Service func Parse(project *types.Project, svc types.ServiceConfig) (*Service, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Build ¶ type Build struct { Force bool // force build even if already present BuildArgs []string // {"-t", "example.com/foo", "--target", "foo", "/path/to/ctx"} } type Container ¶ type Container struct { Name string // e.g., "compose-wordpress_wordpress_1" Detached bool RunArgs []string // {"--pull=never", ...} } type Service ¶ type Service struct { Image string PullMode string Containers []Container // length = replicas Build *Build Unparsed *types.ServiceConfig } func Parse ¶ func Parse(project *types.Project, svc types.ServiceConfig) (*Service, error) Source Files ¶ View all Source files build.go serviceparser.go Click to show internal directories. Click to hide internal directories.