kubectlcobra

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

package kubectlcobra contains cobra commands from kubectl

package kubectlcobra contains cobra commands from kubectl

package kubectlcobra contains cobra commands from kubectl

Index

Constants

View Source
const GroupingLabel = "kustomize.k8s.io/group-id"

Variables

This section is empty.

Functions

func GetCommand

func GetCommand(parent *cobra.Command) *cobra.Command

GetCommand returns a command from kubectl to install

func NewCmdApply

func NewCmdApply(baseName string, f util.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

NewCmdApply creates the `apply` command

Types

type Inventory added in v0.0.3

type Inventory struct {
	Namespace string
	Name      string
	GroupKind schema.GroupKind
}

Inventory organizes and stores the indentifying information for an object. This struct (as a string) is stored in a grouping object to keep track of sets of applied objects.

func (*Inventory) Equals added in v0.0.3

func (i *Inventory) Equals(other *Inventory) bool

Equals returns true if the Inventory structs are identical; false otherwise.

func (*Inventory) String added in v0.0.3

func (i *Inventory) String() string

String create a string version of the Inventory struct.

Jump to

Keyboard shortcuts

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