commands

package
v0.0.0-...-be237bf Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2016 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PollInterval = time.Second * 2
	Delay        = time.Second * 5
)
View Source
const BASH_AUTOCOMPLETE_FILENAME string = "wsk_cli_bash_completion.sh"
View Source
const DefaultAPIBuild string = ""
View Source
const DefaultAPIBuildNo string = ""
View Source
const DefaultAPIHost string = ""
View Source
const DefaultAPIVersion string = "v1"
View Source
const DefaultAuth string = ""
View Source
const DefaultNamespace string = "_"
View Source
const DefaultPropsFile string = "~/.wskprops"
View Source
const SDK_DOCKER_COMPONENT_NAME string = "docker"
View Source
const SDK_IOS_COMPONENT_NAME string = "ios"

Variables

View Source
var Properties struct {
	Auth       string
	APIHost    string
	APIVersion string
	APIBuild   string
	APIBuildNo string
	CLIVersion string
	Namespace  string
	PropsFile  string
}
View Source
var WskCmd = &cobra.Command{
	Use:               "wsk",
	Short:             wski18n.T("OpenWhisk cloud computing command line interface."),
	Long:              logoText(),
	SilenceUsage:      true,
	PersistentPreRunE: parseConfigFlags,
}

WskCmd defines the entry point for the cli.

Functions

func Execute

func Execute() error

func IsDebug

func IsDebug() bool

func IsVerbose

func IsVerbose() bool

Types

type KeyRawValue

type KeyRawValue struct {
	Key   string
	Value *json.RawMessage
}

type KeyStringValue

type KeyStringValue struct {
	Key   string
	Value string
}

type Param

type Param struct {
	Name string
}

Jump to

Keyboard shortcuts

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