cli

package
v0.0.0-...-30da494 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompiledEnv

type CompiledEnv struct {
	Name     string
	Version  string
	GitSha   string
	GitDirty bool
}

type Config

type Config struct {
	CompiledEnv
	KubeConfigFile  string
	ViperConfigFile string
	k8s.Client
	pks.PKSClient
	config.Manager
	ConfigDir string
	Name      string
	Stdin     io.Reader
	Stdout    io.Writer
	Stderr    io.Writer
}

func NewConfig

func NewConfig(configDir string) *Config

func NewDefaultConfig

func NewDefaultConfig() (*Config, error)

func (*Config) Eprintf

func (c *Config) Eprintf(format string, a ...interface{}) (n int, err error)

func (*Config) Printf

func (c *Config) Printf(format string, a ...interface{}) (n int, err error)

Jump to

Keyboard shortcuts

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