cli

package
v0.0.0-...-73a53c4 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2016 License: GPL-3.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCommands

func RegisterCommands(app *cobra.Command, c *client.Client)

RegisterCommands registers the resource action CLI commands.

Types

type AnswerPingPingCommand

type AnswerPingPingCommand struct {
	Args        string
	PrettyPrint bool
}

AnswerPingPingCommand is the command line data structure for the AnswerPing action of ping

func (*AnswerPingPingCommand) RegisterFlags

func (cmd *AnswerPingPingCommand) RegisterFlags(cc *cobra.Command, c *client.Client)

RegisterFlags registers the command flags with the command line.

func (*AnswerPingPingCommand) Run

func (cmd *AnswerPingPingCommand) Run(c *client.Client, args []string) error

Run makes the HTTP request corresponding to the AnswerPingPingCommand command.

Jump to

Keyboard shortcuts

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