Documentation ¶
Overview ¶
Package cli implements the commands for the JVS CLI.
Index ¶
- Constants
- func Run(ctx context.Context, args []string) error
- type APIServerCommand
- func (c *APIServerCommand) Desc() string
- func (c *APIServerCommand) Flags() *cli.FlagSet
- func (c *APIServerCommand) Help() string
- func (c *APIServerCommand) Run(ctx context.Context, args []string) error
- func (c *APIServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, *grpc.Server, *multicloser.Closer, error)
- type PublicKeyServerCommand
- func (c *PublicKeyServerCommand) Desc() string
- func (c *PublicKeyServerCommand) Flags() *cli.FlagSet
- func (c *PublicKeyServerCommand) Help() string
- func (c *PublicKeyServerCommand) Run(ctx context.Context, args []string) error
- func (c *PublicKeyServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, http.Handler, *multicloser.Closer, error)
- type RotationServerCommand
- func (c *RotationServerCommand) Desc() string
- func (c *RotationServerCommand) Flags() *cli.FlagSet
- func (c *RotationServerCommand) Help() string
- func (c *RotationServerCommand) Run(ctx context.Context, args []string) error
- func (c *RotationServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, http.Handler, *multicloser.Closer, error)
- type TokenCreateCommand
- type TokenValidateCommand
- type UIServerCommand
- func (c *UIServerCommand) Desc() string
- func (c *UIServerCommand) Flags() *cli.FlagSet
- func (c *UIServerCommand) Help() string
- func (c *UIServerCommand) Run(ctx context.Context, args []string) error
- func (c *UIServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, http.Handler, *multicloser.Closer, error)
Constants ¶
View Source
const (
// Issuer is the default issuer (iss) for tokens created by the CLI.
Issuer = "jvsctl"
)
Variables ¶
This section is empty.
Functions ¶
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
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
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
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
Click to show internal directories.
Click to hide internal directories.