Documentation ¶
Overview ¶
Package cli implements the commands for the PMAP CLI.
Index ¶
- func Run(ctx context.Context, args []string) error
- type MappingServerCommand
- func (c *MappingServerCommand) Desc() string
- func (c *MappingServerCommand) Flags() *cli.FlagSet
- func (c *MappingServerCommand) Help() string
- func (c *MappingServerCommand) Run(ctx context.Context, args []string) error
- func (c *MappingServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, http.Handler, *multicloser.Closer, error)
- type MappingValidateCommand
- type PolicyServerCommand
- func (c *PolicyServerCommand) Desc() string
- func (c *PolicyServerCommand) Flags() *cli.FlagSet
- func (c *PolicyServerCommand) Help() string
- func (c *PolicyServerCommand) Run(ctx context.Context, args []string) error
- func (c *PolicyServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, http.Handler, *multicloser.Closer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MappingServerCommand ¶
type MappingServerCommand struct { cli.BaseCommand // contains filtered or unexported fields }
func (*MappingServerCommand) Desc ¶
func (c *MappingServerCommand) Desc() string
func (*MappingServerCommand) Flags ¶
func (c *MappingServerCommand) Flags() *cli.FlagSet
func (*MappingServerCommand) Help ¶
func (c *MappingServerCommand) Help() string
func (*MappingServerCommand) Run ¶
func (c *MappingServerCommand) Run(ctx context.Context, args []string) error
func (*MappingServerCommand) RunUnstarted ¶
type MappingValidateCommand ¶
type MappingValidateCommand struct { cli.BaseCommand // contains filtered or unexported fields }
func (*MappingValidateCommand) Desc ¶
func (c *MappingValidateCommand) Desc() string
func (*MappingValidateCommand) Flags ¶
func (c *MappingValidateCommand) Flags() *cli.FlagSet
func (*MappingValidateCommand) Help ¶
func (c *MappingValidateCommand) Help() string
type PolicyServerCommand ¶
type PolicyServerCommand struct { cli.BaseCommand // contains filtered or unexported fields }
func (*PolicyServerCommand) Desc ¶
func (c *PolicyServerCommand) Desc() string
func (*PolicyServerCommand) Flags ¶
func (c *PolicyServerCommand) Flags() *cli.FlagSet
func (*PolicyServerCommand) Help ¶
func (c *PolicyServerCommand) Help() string
func (*PolicyServerCommand) Run ¶
func (c *PolicyServerCommand) Run(ctx context.Context, args []string) error
func (*PolicyServerCommand) RunUnstarted ¶
Click to show internal directories.
Click to hide internal directories.