Documentation ¶
Index ¶
- func Extract(appname string) (string, func(), error)
- func ExtractVariables(composeRaw string) ([]string, error)
- func Init(name string, composeFile string, description string, maintainers []string, ...) error
- func Load(repotag string, outputDir string) error
- func Merge(appname string, outputFile string) error
- func Pack(appname, output string) error
- func Pull(repotag string) error
- func Push(appname, namespace, tag string) error
- func Save(appname, namespace, tag string) (string, error)
- func Split(appname string, outputDir string) error
- func Unpack(appname, targetDir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Extract ¶
Extract extracts the app content if argument is an archive, or does nothing if a dir. It returns effective app name, and cleanup function If appname is empty, it looks into cwd, and all subdirs for a single matching .dockerapp If nothing is found, it looks for an image and loads it
func ExtractVariables ¶
ExtractVariables returns the list of variables used by given compose raw data
func Init ¶
func Init(name string, composeFile string, description string, maintainers []string, singleFile bool) error
Init is the entrypoint initialization function. It generates a new application package based on the provided parameters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.