kubeadm

package
v0.0.0-...-e6272b8 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertSubCommandHasFlags

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

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