cmdflags

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 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", time.Now().In(time.UTC).Format(time.RFC3339)

Functions

This section is empty.

Types

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