compose

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COMPOSE_FILE_FLAG string = "compose-file"
	PROJECT_NAME_FLAG string = "name"
	PARAMS_FLAG       string = "param"
	QUIET_FLAG        string = "quiet"
	INDEX_FLAG        string = "index"
	PROTO_FLAG        string = "protocol"
	IGNORE_MISSING    string = "ignore"
)

Variables

View Source
var (
	PortInvalidArgs error = errors.New("Arguments must be in the form of: SERVICE PRIVATE_PORT")
)

Functions

func AddComposeToCmd

func AddComposeToCmd(rc *cobra.Command, c *cliconfig.ConfigFile)

Associates the compose service to the given command

Types

type ComposeAction

type ComposeAction func(c compose.Compose, cmd *cobra.Command, args []string) error

type ComposePreHook

type ComposePreHook func(composeFile, projName string, cmd *cobra.Command) compose.Compose

Jump to

Keyboard shortcuts

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