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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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