cli

package
v0.0.0-...-3d178fd Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2016 License: MIT Imports: 9 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 AddOrdinalValuesCommand

type AddOrdinalValuesCommand struct {
	// The ordinal position of the value
	Ordinal int
	// The stream for which the value is to be added
	Stream string
	// The value to be added to the stream
	Value       float64
	PrettyPrint bool
}

AddOrdinalValuesCommand is the command line data structure for the add action of OrdinalValues

func (*AddOrdinalValuesCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*AddOrdinalValuesCommand) Run

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

Run makes the HTTP request corresponding to the AddOrdinalValuesCommand command.

type PushOrdinalValuesCommand

type PushOrdinalValuesCommand struct {
	Payload     string
	PrettyPrint bool
}

PushOrdinalValuesCommand is the command line data structure for the push action of OrdinalValues

func (*PushOrdinalValuesCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*PushOrdinalValuesCommand) Run

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

Run makes the HTTP request corresponding to the PushOrdinalValuesCommand command.

type RegisterOrdinalValuesCommand

type RegisterOrdinalValuesCommand struct {
	Payload     string
	PrettyPrint bool
}

RegisterOrdinalValuesCommand is the command line data structure for the register action of OrdinalValues

func (*RegisterOrdinalValuesCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*RegisterOrdinalValuesCommand) Run

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

Run makes the HTTP request corresponding to the RegisterOrdinalValuesCommand command.

type StatisticsOrdinalValuesCommand

type StatisticsOrdinalValuesCommand struct {
	Payload     string
	PrettyPrint bool
}

StatisticsOrdinalValuesCommand is the command line data structure for the statistics action of OrdinalValues

func (*StatisticsOrdinalValuesCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*StatisticsOrdinalValuesCommand) Run

Run makes the HTTP request corresponding to the StatisticsOrdinalValuesCommand command.

type TagOrdinalValuesCommand

type TagOrdinalValuesCommand struct {
	Payload     string
	PrettyPrint bool
}

TagOrdinalValuesCommand is the command line data structure for the tag action of OrdinalValues

func (*TagOrdinalValuesCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*TagOrdinalValuesCommand) Run

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

Run makes the HTTP request corresponding to the TagOrdinalValuesCommand command.

Jump to

Keyboard shortcuts

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