cmd

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "none"
	Date    = "unknown"
)

nolint: gochecknoglobals

ConfigSet provides configs. nolint: gochecknoglobals

Functions

func BindEnv

func BindEnv(key, env string)

func NewKubernetesConfig

func NewKubernetesConfig(conf Config) k8s.Config

func NewLogConfig

func NewLogConfig(conf Config) log.Config

func RunManager

func RunManager(mgr manager.Manager, cleanup func(), err error) error

func SetupCommand

func SetupCommand(cmd *cobra.Command) *cobra.Command

Types

type Config

type Config struct {
	Log        log.Config `mapstructure:"log"`
	Kubernetes k8s.Config `mapstructure:"kubernetes"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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