cmd

package
v0.0.0-...-17bac34 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DescribeCommand

type DescribeCommand struct {
	// contains filtered or unexported fields
}

func NewDescribeCommand

func NewDescribeCommand(opts *GlobalOptions) *DescribeCommand

func (*DescribeCommand) Command

func (c *DescribeCommand) Command() *cobra.Command

func (*DescribeCommand) Run

func (c *DescribeCommand) Run(cmd *cobra.Command, args []string) error

type GlobalOptions

type GlobalOptions struct {
	Verbose  bool
	Address  string
	Insecure bool
	TLSData  TLSData
	Input    io.Reader
	Output   io.Writer
}

type ListCommand

type ListCommand struct {
	// contains filtered or unexported fields
}

func NewListCommand

func NewListCommand(opts *GlobalOptions) *ListCommand

func (*ListCommand) Command

func (c *ListCommand) Command() *cobra.Command

func (*ListCommand) Run

func (c *ListCommand) Run(cmd *cobra.Command, args []string) error

type RootCommand

type RootCommand struct {
	// contains filtered or unexported fields
}

func NewRootCommand

func NewRootCommand(r io.Reader, w io.Writer) *RootCommand

func (*RootCommand) Command

func (c *RootCommand) Command() *cobra.Command

type TLSData

type TLSData struct {
	CAPool     string
	ClientCert string
	ClientKey  string
}

type TreeCommand

type TreeCommand struct {
	// contains filtered or unexported fields
}

func NewTreeCommand

func NewTreeCommand(opts *GlobalOptions) *TreeCommand

func (*TreeCommand) Command

func (c *TreeCommand) Command() *cobra.Command

func (*TreeCommand) Run

func (c *TreeCommand) Run(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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