cmd

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: Apache-2.0 Imports: 20 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Version = "0.0.10"
)

Variables

This section is empty.

Functions

func DeepEqual added in v0.0.10

func DeepEqual(t *testing.T, actual, expected interface{})

func NewDefaultKnctlCmd added in v0.0.5

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

func NewKnctlCmd

func NewKnctlCmd(o *KnctlOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command

func NewVersionCmd

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

func ShowHelp

func ShowHelp(cmd *cobra.Command, args []string) error

func ShowSubcommands added in v0.0.2

func ShowSubcommands(cmd *cobra.Command, args []string) error

Types

type KnctlOptions

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

func NewKnctlOptions

func NewKnctlOptions(ui *ui.ConfUI, configFactory cmdcore.ConfigFactory, depsFactory cmdcore.DepsFactory) *KnctlOptions

type TestCmd added in v0.0.10

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

func NewTestCmd added in v0.0.10

func NewTestCmd(t *testing.T, cmd *cobra.Command) *TestCmd

func (*TestCmd) Execute added in v0.0.10

func (c *TestCmd) Execute(args []string)

func (*TestCmd) ExpectBasicConfig added in v0.0.10

func (c *TestCmd) ExpectBasicConfig()

func (*TestCmd) ExpectReachesExecution added in v0.0.10

func (c *TestCmd) ExpectReachesExecution()

func (*TestCmd) ExpectRequiredFlags added in v0.0.10

func (c *TestCmd) ExpectRequiredFlags(flags []string)

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

Jump to

Keyboard shortcuts

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