cmd

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// We mirror the github.com/mitchellh/cli constant here
	// to decouple this package from the cli package, even
	// though our main requires it.
	RunResultHelp = -18511
)

Variables

View Source
var ErrNoIssuingCertURL = errors.New("no issuing certificate URL")

Functions

func SystemCertPool

func SystemCertPool() ([]*x509.Certificate, error)

Types

type BaseCmd

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

func (*BaseCmd) Help

func (bc *BaseCmd) Help() string

func (*BaseCmd) Init

func (bc *BaseCmd) Init(flagName string)

type CheckIntermediateCmd

type CheckIntermediateCmd struct {
	*BaseCmd
	// contains filtered or unexported fields
}

func NewCheckIntermediateCmd

func NewCheckIntermediateCmd() *CheckIntermediateCmd

func (*CheckIntermediateCmd) Run

func (ci *CheckIntermediateCmd) Run(args []string) int

func (*CheckIntermediateCmd) Synopsis

func (ci *CheckIntermediateCmd) Synopsis() string

type DumpCACmd

type DumpCACmd struct {
	*BaseCmd
	// contains filtered or unexported fields
}

func NewDumpCACmd

func NewDumpCACmd() *DumpCACmd

func (*DumpCACmd) Run

func (dc *DumpCACmd) Run(args []string) int

func (*DumpCACmd) Synopsis

func (dc *DumpCACmd) Synopsis() string

type FetchCACmd

type FetchCACmd struct {
	URL string

	BaseCmd
	// contains filtered or unexported fields
}

func NewFetchCACmd

func NewFetchCACmd() *FetchCACmd

func (*FetchCACmd) Run

func (fca *FetchCACmd) Run(args []string) int

func (*FetchCACmd) Synopsis

func (fca *FetchCACmd) Synopsis() string

type MinCACmd

type MinCACmd struct {
	*BaseCmd
	// contains filtered or unexported fields
}

func NewMinCACmd

func NewMinCACmd() *MinCACmd

func (*MinCACmd) Run

func (mca *MinCACmd) Run(args []string) int

func (*MinCACmd) Synopsis

func (mca *MinCACmd) Synopsis() string

Jump to

Keyboard shortcuts

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