config

package
v3.11.0-0.27.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: Apache-2.0 Imports: 20 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 kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

func NewCmdPatch

func NewCmdPatch(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

Types

type PatchOptions

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

	Builder *resource.Builder
	Printer kprinters.ResourcePrinter

	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

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

func (*PatchOptions) RunPatch

func (o *PatchOptions) RunPatch() error

func (*PatchOptions) Validate

func (o *PatchOptions) Validate() error

Jump to

Keyboard shortcuts

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