cmd

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPGOCommand

func NewPGOCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command

NewPGOCommand returns the root command of the PGO plugin. This command prints the same information as its --help flag: the available subcommands and their short descriptions.

Types

type Executor

type Executor func(
	stdin io.Reader, stdout, stderr io.Writer, command ...string,
) error

Executor calls commands

type ShutdownRequestArgs added in v0.4.0

type ShutdownRequestArgs struct {
	ClusterName      string
	Config           *internal.Config
	ForceConflicts   bool
	Namespace        string
	NewShutdownValue bool
	Mapping          *meta.RESTMapping
}

Jump to

Keyboard shortcuts

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