cli

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 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 SigninJWTCommand

type SigninJWTCommand struct {
	Payload     string
	ContentType string
	PrettyPrint bool
}

SigninJWTCommand is the command line data structure for the signin action of jwt

func (*SigninJWTCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*SigninJWTCommand) Run

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

Run makes the HTTP request corresponding to the SigninJWTCommand command.

Jump to

Keyboard shortcuts

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