Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildVolumeArgs ¶
BuildVolumeArgs takes a base path and returns an array of Docker volume arguments. The array takes the form {"-v", "/foo:/bar:[rw|ro]", ...} for each source or include.
func ExtractBasenameAndPermission ¶
ExtractBasenameAndPermission takes an include string and splits it into its file or folder name and the permission string if present or the empty string if not.
Types ¶
type Image ¶
Image consists of the file extension, Docker image name and Docker image version to use for a given Docker Exec image.
func ImageFromOptions ¶
func ImageFromOptions(options map[cli.OptionType][]string) (image *Image, err error)
ImageFromOptions returns an image from a set of options.
func LookupImageByExtension ¶
LookupImageByExtension returns the image for a given extension.
func LookupImageByName ¶
LookupImageByName returns the image for a given image name.
func LookupImageByOverride ¶
LookupImageByOverride takes an image that has been specified by the user to use instead of the one in the extension map. This function returns a DexecImage struct containing the image name & version, as well as the file extension that was passed in.