Versions in this module Expand all Collapse all v1 v1.1.2 Feb 4, 2024 v1.1.1 Jan 23, 2024 v1.1.0 Dec 18, 2023 v1.0.5 Oct 13, 2022 v1.0.4 Jul 22, 2022 v1.0.3 Apr 27, 2022 v1.0.2 Apr 27, 2022 v1.0.1 Mar 9, 2022 Changes in this version + 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 ImageResolver 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.DryRunVerifier + Infos []*resource.Info + Local bool + Output string + PrintFlags *genericclioptions.PrintFlags + PrintObj printers.ResourcePrinterFunc + RecordFlags *genericclioptions.RecordFlags + Recorder genericclioptions.Recorder + ResolveImage ImageResolver + 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.DryRunVerifier + Infos []*resource.Info + Limits string + Local bool + Output string + PrintFlags *genericclioptions.PrintFlags + PrintObj printers.ResourcePrinterFunc + RecordFlags *genericclioptions.RecordFlags + Recorder genericclioptions.Recorder + Requests string + ResourceRequirements corev1.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.DryRunVerifier + 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 v1.0.0-test.1 Nov 15, 2021 v1.0.0-beta.5 Feb 16, 2022 v1.0.0-beta.4 Feb 16, 2022 v1.0.0-beta.3 Feb 9, 2022 v1.0.0-beta.2 Feb 7, 2022 v1.0.0-beta.1 Jan 28, 2022 v1.0.0-beta.0 Dec 2, 2021 v1.0.0-alpha.1 Nov 5, 2021