core

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(yamlAppConfigFileName string)

Build creates an app container image.

func PrintDockerRunArgs

func PrintDockerRunArgs(yamlAppConfigFileName string)

PrintDockerRunArgs show the resulting "docker run" arguments

func PrintDockerfile

func PrintDockerfile(yamlAppConfigFileName string)

PrintDockerfile loads an app file and dump the processed dockerfile

func Run

func Run(yamlAppConfigFileName string, args []string)

Run starts an app in a container. If the container does not exists it is built upfront.

Types

type DockerClient

type DockerClient struct {
	// contains filtered or unexported fields
}

DockerClient abstracts the containerflight communication with a moby daemon

func NewDockerClient

func NewDockerClient(appInfo *appinfo.AppInfo) *DockerClient

NewDockerClient creates a new Docker client using API 1.25

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL