Documentation ¶
Index ¶
- func GetPaths(composePaths []string) (string, []string, error)
- func Load(composePath string, overridePaths, services []string) (types.Project, error)
- func Marshal(cfg types.Project) ([]byte, error)
- func ParseNamedBindVolume(vol types.VolumeConfig) (source string, ok bool)
- func Unmarshal(b []byte) (parsed types.Project, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load loads and merges the given compose files. If `services` is non-empty, the return config only includes the services specified in `services`.
func Marshal ¶
Marshal serializes a parsed compose spec so that it can be loaded by the Unmarshal function. Note that `Marshal` and `Unmarshal` used to use `types.Config` types, but switching to `types.Project` is fully backwards compatible, since `types.Project` and `types.Config` both have the same field names and types for `Services`, `Networks`, and `Volumes`.
func ParseNamedBindVolume ¶
func ParseNamedBindVolume(vol types.VolumeConfig) (source string, ok bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.