kubeadm

package
v1.8.8-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 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)

Forked from test/e2e/framework because the e2e framework is quite bloated for our purposes here, and modified to remove undesired logging.

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