cli

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Overview

Package cli implements the commands for the PMAP CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

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

Run executes the CLI.

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

func (*MappingValidateCommand) Run

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

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

Jump to

Keyboard shortcuts

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