cli

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 33 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, *multicloser.Closer, 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

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

type TokenCreateCommand added in v0.1.1

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

func (*TokenCreateCommand) Desc added in v0.1.1

func (c *TokenCreateCommand) Desc() string

func (*TokenCreateCommand) Flags added in v0.1.1

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

func (*TokenCreateCommand) Help added in v0.1.1

func (c *TokenCreateCommand) Help() string

func (*TokenCreateCommand) Run added in v0.1.1

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

type TokenValidateCommand added in v0.1.1

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

func (*TokenValidateCommand) Desc added in v0.1.1

func (c *TokenValidateCommand) Desc() string

func (*TokenValidateCommand) Flags added in v0.1.1

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

func (*TokenValidateCommand) Help added in v0.1.1

func (c *TokenValidateCommand) Help() string

func (*TokenValidateCommand) Run added in v0.1.1

func (c *TokenValidateCommand) 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, *multicloser.Closer, error)

Jump to

Keyboard shortcuts

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