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, func(), 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, func(), 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, func(), error)
- type TokenCommand
- 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, func(), error)
- type ValidateCommand
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
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
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
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
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
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
Click to show internal directories.
Click to hide internal directories.