cli

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Overview

Package cli implements the commands for the JVS CLI.

Index

Constants

View Source
const (
	// Issuer is the default issuer (iss) for tokens created by the CLI.
	Issuer = "jvsctl"
)

Variables

This section is empty.

Functions

func Run added in v0.0.4

func Run(ctx context.Context, args []string) error

Run executes the CLI.

Types

type APIServerCommand added in v0.0.5

type APIServerCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

func (*APIServerCommand) Desc added in v0.0.5

func (c *APIServerCommand) Desc() string

func (*APIServerCommand) Flags added in v0.0.5

func (c *APIServerCommand) Flags() *cli.FlagSet

func (*APIServerCommand) Help added in v0.0.5

func (c *APIServerCommand) Help() string

func (*APIServerCommand) Run added in v0.0.5

func (c *APIServerCommand) Run(ctx context.Context, args []string) error

func (*APIServerCommand) RunUnstarted added in v0.0.5

func (c *APIServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, *grpc.Server, func(), error)

type PublicKeyServerCommand added in v0.0.5

type PublicKeyServerCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

func (*PublicKeyServerCommand) Desc added in v0.0.5

func (c *PublicKeyServerCommand) Desc() string

func (*PublicKeyServerCommand) Flags added in v0.0.5

func (c *PublicKeyServerCommand) Flags() *cli.FlagSet

func (*PublicKeyServerCommand) Help added in v0.0.5

func (c *PublicKeyServerCommand) Help() string

func (*PublicKeyServerCommand) Run added in v0.0.5

func (c *PublicKeyServerCommand) Run(ctx context.Context, args []string) error

func (*PublicKeyServerCommand) RunUnstarted added in v0.0.5

func (c *PublicKeyServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, http.Handler, func(), error)

type RotationServerCommand added in v0.0.5

type RotationServerCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

func (*RotationServerCommand) Desc added in v0.0.5

func (c *RotationServerCommand) Desc() string

func (*RotationServerCommand) Flags added in v0.0.5

func (c *RotationServerCommand) Flags() *cli.FlagSet

func (*RotationServerCommand) Help added in v0.0.5

func (c *RotationServerCommand) Help() string

func (*RotationServerCommand) Run added in v0.0.5

func (c *RotationServerCommand) Run(ctx context.Context, args []string) error

func (*RotationServerCommand) RunUnstarted added in v0.0.5

func (c *RotationServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, http.Handler, func(), error)

type TokenCommand added in v0.0.4

type TokenCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

func (*TokenCommand) Desc added in v0.0.4

func (c *TokenCommand) Desc() string

func (*TokenCommand) Flags added in v0.0.4

func (c *TokenCommand) Flags() *cli.FlagSet

func (*TokenCommand) Help added in v0.0.4

func (c *TokenCommand) Help() string

func (*TokenCommand) Run added in v0.0.4

func (c *TokenCommand) Run(ctx context.Context, args []string) error

type UIServerCommand added in v0.0.5

type UIServerCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

func (*UIServerCommand) Desc added in v0.0.5

func (c *UIServerCommand) Desc() string

func (*UIServerCommand) Flags added in v0.0.5

func (c *UIServerCommand) Flags() *cli.FlagSet

func (*UIServerCommand) Help added in v0.0.5

func (c *UIServerCommand) Help() string

func (*UIServerCommand) Run added in v0.0.5

func (c *UIServerCommand) Run(ctx context.Context, args []string) error

func (*UIServerCommand) RunUnstarted added in v0.0.5

func (c *UIServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, http.Handler, func(), error)

type ValidateCommand added in v0.0.4

type ValidateCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

func (*ValidateCommand) Desc added in v0.0.4

func (c *ValidateCommand) Desc() string

func (*ValidateCommand) Flags added in v0.0.4

func (c *ValidateCommand) Flags() *cli.FlagSet

func (*ValidateCommand) Help added in v0.0.4

func (c *ValidateCommand) Help() string

func (*ValidateCommand) Run added in v0.0.4

func (c *ValidateCommand) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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