cli

package
v0.0.0-...-50c1148 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2017 License: MIT Imports: 12 Imported by: 0

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 PingInsecureCommand

type PingInsecureCommand struct {
	PrettyPrint bool
}

PingInsecureCommand is the command line data structure for the ping action of insecure

func (*PingInsecureCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*PingInsecureCommand) Run

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

Run makes the HTTP request corresponding to the PingInsecureCommand command.

type PingSecureCommand

type PingSecureCommand struct {
	PrettyPrint bool
}

PingSecureCommand is the command line data structure for the ping action of secure

func (*PingSecureCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*PingSecureCommand) Run

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

Run makes the HTTP request corresponding to the PingSecureCommand command.

Jump to

Keyboard shortcuts

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