Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 Changes in this version + func CalculatePatch(patch *Patch, encoder runtime.Encoder, mutateFn patchFn) bool + func NewCmdEnv(f cmdutil.Factory, in io.Reader, out, errout io.Writer) *cobra.Command + func NewCmdImage(f cmdutil.Factory, out, err io.Writer) *cobra.Command + func NewCmdResources(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command + func NewCmdSelector(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdServiceAccount(f cmdutil.Factory, out, err io.Writer) *cobra.Command + func NewCmdSet(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command + func NewCmdSubject(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command + type EnvOptions struct + All bool + Builder *resource.Builder + Cmd *cobra.Command + ContainerSelector string + DryRun bool + Encoder runtime.Encoder + EnvArgs []string + EnvParams []string + Err io.Writer + From string + In io.Reader + Infos []*resource.Info + List bool + Local bool + Mapper meta.RESTMapper + Out io.Writer + Output string + Overwrite bool + Prefix string + PrintObject func(cmd *cobra.Command, isLocal bool, mapper meta.RESTMapper, obj runtime.Object, ...) error + Resolve bool + ResourceVersion string + Resources []string + Selector string + ShortOutput bool + Typer runtime.ObjectTyper + UpdatePodSpecForObject func(obj runtime.Object, fn func(*api.PodSpec) error) (bool, error) + func (o *EnvOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *EnvOptions) RunEnv(f cmdutil.Factory) error + type ImageOptions struct + All bool + ChangeCause string + Cmd *cobra.Command + ContainerImages map[string]string + DryRun bool + Encoder runtime.Encoder + Err io.Writer + Infos []*resource.Info + Local bool + Mapper meta.RESTMapper + Out io.Writer + Output string + PrintObject func(cmd *cobra.Command, isLocal bool, mapper meta.RESTMapper, obj runtime.Object, ...) error + Record bool + ResolveImage func(in string) (string, error) + Resources []string + Selector string + ShortOutput bool + Typer runtime.ObjectTyper + UpdatePodSpecForObject func(obj runtime.Object, fn func(*api.PodSpec) error) (bool, error) + func (o *ImageOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *ImageOptions) Run() error + func (o *ImageOptions) Validate() error + type Patch struct + After []byte + Before []byte + Err error + Info *resource.Info + Patch []byte + func CalculatePatches(infos []*resource.Info, encoder runtime.Encoder, mutateFn patchFn) []*Patch + type ResourcesOptions struct + All bool + ChangeCause string + Cmd *cobra.Command + ContainerSelector string + Encoder runtime.Encoder + Err io.Writer + Infos []*resource.Info + Limits string + Local bool + Mapper meta.RESTMapper + Out io.Writer + Output string + PrintObject func(cmd *cobra.Command, isLocal bool, mapper meta.RESTMapper, obj runtime.Object, ...) error + Record bool + Requests string + ResourceRequirements api.ResourceRequirements + Resources []string + Selector string + Typer runtime.ObjectTyper + UpdatePodSpecForObject func(obj runtime.Object, fn func(*api.PodSpec) error) (bool, error) + func (o *ResourcesOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *ResourcesOptions) Run() error + func (o *ResourcesOptions) Validate() error + type SelectorOptions struct + ClientForMapping func(mapping *meta.RESTMapping) (resource.RESTClient, error) + PrintObject func(obj runtime.Object) error + func (o *SelectorOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *SelectorOptions) RunSelector() error + func (o *SelectorOptions) Validate() error + type SubjectOptions struct + All bool + ContainerSelector string + DryRun bool + Encoder runtime.Encoder + Err io.Writer + Groups []string + Infos []*resource.Info + Local bool + Mapper meta.RESTMapper + Out io.Writer + Output string + PrintObject func(mapper meta.RESTMapper, obj runtime.Object, out io.Writer) error + Selector string + ServiceAccounts []string + Typer runtime.ObjectTyper + Users []string + func (o *SubjectOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *SubjectOptions) Run(f cmdutil.Factory, fn updateSubjects) error + func (o *SubjectOptions) Validate() error