commands

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2015 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdHelp = &types.Command{
	Exec:        nil,
	UsageLine:   "help [COMMAND]",
	Description: "help of the scw command line",
	Help: `
Help prints help information about scw and its commands.

By default, help lists available commands with a short description.
When invoked with a command name, it prints the usage and the help of
the command.
`,
}

CmdHelp is the 'scw help' command

View Source
var Commands = []*types.Command{
	CmdHelp,

	cmdAttach,
	cmdCommit,
	cmdCompletion,
	cmdCp,
	cmdCreate,
	cmdEvents,
	cmdExec,
	cmdHistory,
	cmdImages,
	cmdInfo,
	cmdInspect,
	cmdKill,
	cmdLogin,
	cmdLogout,
	cmdLogs,
	cmdPatch,
	cmdPort,
	cmdPs,
	cmdRename,
	cmdRestart,
	cmdRm,
	cmdRmi,
	cmdRun,
	cmdSearch,
	cmdStart,
	cmdStop,
	cmdTag,
	cmdTop,
	cmdVersion,
	cmdWait,
}

Commands is the list of enabled CLI commands

Functions

func TarFromSource

func TarFromSource(api *api.ScalewayAPI, source string) (*io.ReadCloser, error)

TarFromSource creates a stream buffer with the tarballed content of the user source

func UntarToDest

func UntarToDest(api *api.ScalewayAPI, sourceStream *io.ReadCloser, destination string) error

UntarToDest writes to user destination the streamed tarball in input

Types

This section is empty.

Source Files

  • attach.go
  • commands.go
  • commit.go
  • cp.go
  • create.go
  • events.go
  • exec.go
  • help.go
  • history.go
  • images.go
  • info.go
  • inspect.go
  • kill.go
  • login.go
  • logout.go
  • logs.go
  • port.go
  • ps.go
  • rename.go
  • restart.go
  • rm.go
  • rmi.go
  • run.go
  • search.go
  • start.go
  • stop.go
  • tag.go
  • top.go
  • version.go
  • wait.go
  • x_completion.go
  • x_patch.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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