cmd

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "0.0.5"
)

Variables

This section is empty.

Functions

func NewDefaultKwtCmd

func NewDefaultKwtCmd(ui *ui.ConfUI) *cobra.Command

func NewKwtCmd

func NewKwtCmd(o *KwtOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command

func NewVersionCmd

func NewVersionCmd(o *VersionOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command

Types

type KwtOptions

type KwtOptions struct {
	UIFlags         UIFlags
	KubeconfigFlags cmdcore.KubeconfigFlags
	// contains filtered or unexported fields
}

func NewKwtOptions

func NewKwtOptions(ui *ui.ConfUI, configFactory cmdcore.ConfigFactory, depsFactory cmdcore.DepsFactory) *KwtOptions

type UIFlags

type UIFlags struct {
	TTY            bool
	NoColor        bool
	JSON           bool
	NonInteractive bool
	Columns        []string
}

func (*UIFlags) ConfigureUI

func (f *UIFlags) ConfigureUI(ui *ui.ConfUI)

func (*UIFlags) Set

func (f *UIFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)

type VersionOptions

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

func NewVersionOptions

func NewVersionOptions(ui ui.UI) *VersionOptions

func (*VersionOptions) Run

func (o *VersionOptions) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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