Versions in this module Expand all Collapse all v0 v0.24.0 Mar 25, 2022 Changes in this version + var ImageResolver = resolveImageFunc + func CalculatePatch(patch *Patch, encoder runtime.Encoder, mutateFn PatchFn) bool + func NewCmdEnv(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdImage(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdResources(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdSelector(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdServiceAccount(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdSet(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdSubject(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + type EnvOptions struct + All bool + ContainerSelector string + EnvParams []string + From string + Keys []string + List bool + Local bool + Overwrite bool + Prefix string + PrintFlags *genericclioptions.PrintFlags + PrintObj printers.ResourcePrinterFunc + Resolve bool + Selector string + func NewEnvOptions(streams genericclioptions.IOStreams) *EnvOptions + func (o *EnvOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *EnvOptions) RunEnv() error + func (o *EnvOptions) Validate() error + type ImageResolverFunc func(in string) (string, 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 PatchFn func(runtime.Object) ([]byte, error) + type SetImageOptions struct + All bool + ContainerImages map[string]string + DryRunStrategy cmdutil.DryRunStrategy + DryRunVerifier *resource.QueryParamVerifier + Infos []*resource.Info + Local bool + Output string + PrintFlags *genericclioptions.PrintFlags + PrintObj printers.ResourcePrinterFunc + RecordFlags *genericclioptions.RecordFlags + Recorder genericclioptions.Recorder + ResolveImage ImageResolverFunc + Resources []string + Selector string + UpdatePodSpecForObject polymorphichelpers.UpdatePodSpecForObjectFunc + func NewImageOptions(streams genericclioptions.IOStreams) *SetImageOptions + func (o *SetImageOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *SetImageOptions) Run() error + func (o *SetImageOptions) Validate() error + type SetResourcesOptions struct + All bool + ContainerSelector string + DryRunStrategy cmdutil.DryRunStrategy + DryRunVerifier *resource.QueryParamVerifier + Infos []*resource.Info + Limits string + Local bool + Output string + PrintFlags *genericclioptions.PrintFlags + PrintObj printers.ResourcePrinterFunc + RecordFlags *genericclioptions.RecordFlags + Recorder genericclioptions.Recorder + Requests string + ResourceRequirements v1.ResourceRequirements + Resources []string + Selector string + UpdatePodSpecForObject polymorphichelpers.UpdatePodSpecForObjectFunc + func NewResourcesOptions(streams genericclioptions.IOStreams) *SetResourcesOptions + func (o *SetResourcesOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *SetResourcesOptions) Run() error + func (o *SetResourcesOptions) Validate() error + type SetSelectorOptions struct + PrintFlags *genericclioptions.PrintFlags + PrintObj printers.ResourcePrinterFunc + RecordFlags *genericclioptions.RecordFlags + Recorder genericclioptions.Recorder + ResourceBuilderFlags *genericclioptions.ResourceBuilderFlags + ResourceFinder genericclioptions.ResourceFinder + WriteToServer bool + func NewSelectorOptions(streams genericclioptions.IOStreams) *SetSelectorOptions + func (o *SetSelectorOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *SetSelectorOptions) RunSelector() error + func (o *SetSelectorOptions) Validate() error + type SetServiceAccountOptions struct + PrintFlags *genericclioptions.PrintFlags + PrintObj printers.ResourcePrinterFunc + RecordFlags *genericclioptions.RecordFlags + Recorder genericclioptions.Recorder + func NewSetServiceAccountOptions(streams genericclioptions.IOStreams) *SetServiceAccountOptions + func (o *SetServiceAccountOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *SetServiceAccountOptions) Run() error + type SubjectOptions struct + All bool + ContainerSelector string + DryRunStrategy cmdutil.DryRunStrategy + DryRunVerifier *resource.QueryParamVerifier + Groups []string + Infos []*resource.Info + Local bool + Output string + PrintFlags *genericclioptions.PrintFlags + PrintObj printers.ResourcePrinterFunc + Selector string + ServiceAccounts []string + Users []string + func NewSubjectOptions(streams genericclioptions.IOStreams) *SubjectOptions + func (o *SubjectOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *SubjectOptions) Run(fn updateSubjects) error + func (o *SubjectOptions) Validate() error