Documentation
¶
Index ¶
- func GetSharedExternalDataContainers(templateName string) []helpers.DockerDataContainer
- func GetTemplate(templateName string, enableScratchVolume bool, templateImage string) (string, error)
- func GetV1(name string, enableScratchVolume bool, templateImage string) (string, error)
- func GetV2(name string, enableScratchVolume bool, templateImage string) (string, error)
- func ListV1() []string
- func ListV2() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSharedExternalDataContainers ¶
func GetSharedExternalDataContainers(templateName string) []helpers.DockerDataContainer
GetSharedExternalDataContainers will return a slice of data containers used by the given template
func GetTemplate ¶
func GetTemplate(templateName string, enableScratchVolume bool, templateImage string) (string, error)
GetTemplate returns the template if found will inspect the compose file at "docker-comopse.yml" to determine the correct file version to use when retrieving the template
currently defaults to V1 if no version found
func GetV1 ¶
GetV1 will return the compose V1 template if it exists If 'enableScratchVolume' is true and the target template supports scratch-space optimization then Get will enable it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.