globalflags

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGlobalFlags

func AddGlobalFlags(cmd *cobra.Command, opts *GlobalOptions)

AddGlobalFlags adds the Global Flags to the root command

func GetFlags

GetFlags adds the kubeFlags we care about and adds the flags from the provided command

Types

type GlobalOptions

type GlobalOptions struct {
	Output           string
	SkipVersionCheck bool
	NoAwsProxy       bool
}

GlobalOptions defines all available commands

Jump to

Keyboard shortcuts

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