actions

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2016 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

View Source
const (
	FlagDebug      = "debug"
	FlagConfigFile = "configfile"
)
View Source
const (
	// ListCustomFlag is flag used by godo to list all custom dependencies
	ListCustomFlag = "list"
)

Variables

This section is empty.

Functions

func Build

func Build(c *cli.Context)

Build is the CLI handler for 'godo build'

func Custom

func Custom(c *cli.Context)

Custom is the CLI action for 'godo custom ...' commands

func DockerBuild

func DockerBuild(c *cli.Context)

DockerBuild is the CLI action for 'godo docker-build'

func DockerPush

func DockerPush(c *cli.Context)

DockerPush is the cli action for 'godo docker-push'

Types

type Paths

type Paths struct {
	GoPath      string
	CWD         string
	PackageName string
}

func PathsOrDie

func PathsOrDie() Paths

PathsOrDie gets the current GOPATH, current working directory and package name and returns them all in the Paths struct. If any one of those values can't be obtained, this func logs the error and exits the process

Jump to

Keyboard shortcuts

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