Documentation
¶
Overview ¶
Package commands contains CLI commands
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(apiClient *api.ScalewayAPI, source string) (*io.ReadCloser, error)
TarFromSource creates a stream buffer with the tarballed content of the user source
func UntarToDest ¶
func UntarToDest(apiClient *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
Click to show internal directories.
Click to hide internal directories.