cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2016 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "argonaut",
	Short: "A utility for running kubectl commands against multiple pods",
	Long: `A utility for interacting with multiple Kubernetes pods at once.

This application take applicable kubectl commands and provides you an
alternative that will run said command against multiple pods at once.
`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GetMultiLogs

func GetMultiLogs(client *unversioned.Client, labelSelector string, namespace string, container string, tail int, follow bool, useColor bool) error

GetMultiLogs retrieves all logs for the given label selector

func MultiExec

func MultiExec(client *unversioned.Client, labelSelector string, command string, namespace string, container string, stdin bool, tty bool, useColor bool) (err error)

MultiExec applies the

Types

This section is empty.

Jump to

Keyboard shortcuts

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