config

package
v3.6.0-alpha.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigRecommendedName = "config"
View Source
const PatchRecommendedName = "patch"

Variables

This section is empty.

Functions

func NewCmdConfig

func NewCmdConfig(name, fullName string, f *clientcmd.Factory, out, errout io.Writer) *cobra.Command

func NewCmdPatch added in v1.3.0

func NewCmdPatch(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

Types

type PatchOptions added in v1.3.0

type PatchOptions struct {
	Filename  string
	Patch     string
	PatchType api.PatchType

	Builder *resource.Builder

	Out io.Writer
}

PatchOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()

func (*PatchOptions) Complete added in v1.3.0

func (o *PatchOptions) Complete(f *clientcmd.Factory, cmd *cobra.Command, args []string) error

func (*PatchOptions) RunPatch added in v1.3.0

func (o *PatchOptions) RunPatch() error

func (*PatchOptions) Validate added in v1.3.0

func (o *PatchOptions) Validate() error

Jump to

Keyboard shortcuts

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