commands

package
v1.2.0-rc2 Latest Latest
Warning

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

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

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.

Directories

Path Synopsis
Golang structs for scw commands
Golang structs for scw commands

Jump to

Keyboard shortcuts

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