kubeadm

package
v1.13.2-beta.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertSubCommandHasFlags added in v1.8.0

func AssertSubCommandHasFlags(t *testing.T, subCmds []*cobra.Command, command string, flags ...string)

AssertSubCommandHasFlags is a utility function for kubeadm testing that assert if a Cobra sub command has expected flags

func RunCmd

func RunCmd(command string, args ...string) (string, string, error)

RunCmd is a utility function for kubeadm testing that executes a specified command

func RunSubCommand added in v1.8.0

func RunSubCommand(t *testing.T, subCmds []*cobra.Command, command string, args ...string)

RunSubCommand is a utility function for kubeadm testing that executes a Cobra sub command

Types

This section is empty.

Jump to

Keyboard shortcuts

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