cmdflags

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VersionName, VersionCommit, VersionBuilt = "0.0.0", "0000000000", "0000-00-00T00:00:00Z"

Functions

This section is empty.

Types

type ErrorCode added in v0.2.0

type ErrorCode struct {
	Err  error
	Code int
}

func (ErrorCode) Error added in v0.2.0

func (err ErrorCode) Error() string

type Persistent

type Persistent struct {
	Stdout io.Writer
	Stderr io.Writer

	Logger logr.Logger
	// contains filtered or unexported fields
}

func NewPersistent

func NewPersistent(cmd *cobra.Command) *Persistent

func (*Persistent) HubClient

func (p *Persistent) HubClient() (*hub.Client, error)

func (*Persistent) TLSConfig

func (p *Persistent) TLSConfig() (*tls.Config, error)

func (*Persistent) Verbosity

func (p *Persistent) Verbosity() int

Jump to

Keyboard shortcuts

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