Documentation ¶
Index ¶
- func Extract(name string, ops ...func(*types.App) error) (*types.App, error)
- func ExtractImagePayloadToDiskFiles(appDir string, payload map[string]string) error
- func Fork(originName, forkName, outputDir string, maintainers []string) error
- func Init(name string, composeFile string, description string, maintainers []string, ...) error
- func Merge(app *types.App, target io.Writer) error
- func Pack(appname string, target io.Writer) error
- func Pull(repotag string, outputDir string) (string, error)
- func Push(app *types.App, namespace, tag, repo string) (string, error)
- func Split(app *types.App, 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 source file, 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 ExtractImagePayloadToDiskFiles ¶ added in v0.6.0
ExtractImagePayloadToDiskFiles extracts all the files out of the image payload and onto disk creating all necessary folders in between.
func Fork ¶ added in v0.4.0
Fork pulls an application and creates a local fork for the user to modify
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.