cli

package
v0.0.0-...-84d5eb4 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 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 CreateArrayPrismCommand

type CreateArrayPrismCommand struct {
	Payload     string
	ContentType string
	PrettyPrint bool
}

CreateArrayPrismCommand is the command line data structure for the create action of array_prism

func (*CreateArrayPrismCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*CreateArrayPrismCommand) Run

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

Run makes the HTTP request corresponding to the CreateArrayPrismCommand command.

type CreateHashPrismCommand

type CreateHashPrismCommand struct {
	Payload     string
	ContentType string
	PrettyPrint bool
}

CreateHashPrismCommand is the command line data structure for the create action of hash_prism

func (*CreateHashPrismCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*CreateHashPrismCommand) Run

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

Run makes the HTTP request corresponding to the CreateHashPrismCommand command.

type CreatePrismCommand

type CreatePrismCommand struct {
	Payload     string
	ContentType string
	PrettyPrint bool
}

CreatePrismCommand is the command line data structure for the create action of prism

func (*CreatePrismCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*CreatePrismCommand) Run

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

Run makes the HTTP request corresponding to the CreatePrismCommand command.

type ShowArrayPrismCommand

type ShowArrayPrismCommand struct {
	// Any array parameter
	AnyArray []string
	// Boolean array parameter
	BoolArray []string
	// DateTime array parameter
	DateTimeArray []string
	// Integer array parameter
	IntArray []int
	// Number array parameter
	NumArray []string
	// String array parameter
	StringArray []string
	// UUID array parameter
	UUIDArray   []string
	PrettyPrint bool
}

ShowArrayPrismCommand is the command line data structure for the show action of array_prism

func (*ShowArrayPrismCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*ShowArrayPrismCommand) Run

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

Run makes the HTTP request corresponding to the ShowArrayPrismCommand command.

type ShowHashPrismCommand

type ShowHashPrismCommand struct {
	PrettyPrint bool
}

ShowHashPrismCommand is the command line data structure for the show action of hash_prism

func (*ShowHashPrismCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*ShowHashPrismCommand) Run

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

Run makes the HTTP request corresponding to the ShowHashPrismCommand command.

type ShowPrismCommand

type ShowPrismCommand struct {
	// Any parameter
	AnyParam string
	// Boolean parameter
	BoolParam string
	// DateTime parameter
	DateTimeParam string
	// Integer parameter
	IntParam int
	// Number parameter
	NumParam string
	// String parameter
	StringParam string
	// UUID parameter
	UUIDParam   string
	PrettyPrint bool
}

ShowPrismCommand is the command line data structure for the show action of prism

func (*ShowPrismCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*ShowPrismCommand) Run

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

Run makes the HTTP request corresponding to the ShowPrismCommand command.

Jump to

Keyboard shortcuts

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