Documentation
¶
Overview ¶
Docker-style commands to manage BareMetal servers
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
¶
Click to show internal directories.
Click to hide internal directories.