deploy

package
v0.4.0-preview Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleDeploy

func HandleDeploy(env *api.Env, w http.ResponseWriter, r *http.Request) error

HandleDeploy handles deployments from tar archived in body & published images.

func HandlePublish

func HandlePublish(env *api.Env, w http.ResponseWriter, r *http.Request) error

HandlePublish publishes from tar file in body.

func RunCMD

func RunCMD(w io.Writer, command string, args []string) error

RunCMD runs a command and streams the results.

func RunCMDFrom

func RunCMDFrom(w io.Writer, command string, args []string, dir string) error

RunCMDFrom runs a command from a directory and streams the results.

func Skaffold

func Skaffold(command string, tempDir string, skaffoldFile string, w io.Writer) error

Skaffold builds an image with skaffold and streams logs to w.

Types

This section is empty.

Jump to

Keyboard shortcuts

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