cli

package
v0.0.0-...-6fa130f Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2016 License: MIT Imports: 13 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 CreateCalendarCommand

type CreateCalendarCommand struct {
	Payload     string
	ContentType string
	PrettyPrint bool
}

CreateCalendarCommand is the command line data structure for the create action of calendar

func (*CreateCalendarCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*CreateCalendarCommand) Run

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

Run makes the HTTP request corresponding to the CreateCalendarCommand command.

type DeleteCalendarCommand

type DeleteCalendarCommand struct {
	ID          string
	PrettyPrint bool
}

DeleteCalendarCommand is the command line data structure for the delete action of calendar

func (*DeleteCalendarCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*DeleteCalendarCommand) Run

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

Run makes the HTTP request corresponding to the DeleteCalendarCommand command.

type EditCalendarCommand

type EditCalendarCommand struct {
	Payload     string
	ContentType string
	ID          string
	PrettyPrint bool
}

EditCalendarCommand is the command line data structure for the edit action of calendar

func (*EditCalendarCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*EditCalendarCommand) Run

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

Run makes the HTTP request corresponding to the EditCalendarCommand command.

type ListCalendarCommand

type ListCalendarCommand struct {
	PrettyPrint bool
}

ListCalendarCommand is the command line data structure for the list action of calendar

func (*ListCalendarCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*ListCalendarCommand) Run

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

Run makes the HTTP request corresponding to the ListCalendarCommand command.

type LoginAuthCommand

type LoginAuthCommand struct {
	Payload     string
	ContentType string
	PrettyPrint bool
}

LoginAuthCommand is the command line data structure for the login action of auth

func (*LoginAuthCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*LoginAuthCommand) Run

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

Run makes the HTTP request corresponding to the LoginAuthCommand command.

type ResetAuthCommand

type ResetAuthCommand struct {
	Payload     string
	ContentType string
	PrettyPrint bool
}

ResetAuthCommand is the command line data structure for the reset action of auth

func (*ResetAuthCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*ResetAuthCommand) Run

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

Run makes the HTTP request corresponding to the ResetAuthCommand command.

type ShowCalendarCommand

type ShowCalendarCommand struct {
	ID          string
	PrettyPrint bool
}

ShowCalendarCommand is the command line data structure for the show action of calendar

func (*ShowCalendarCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*ShowCalendarCommand) Run

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

Run makes the HTTP request corresponding to the ShowCalendarCommand command.

Jump to

Keyboard shortcuts

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