Versions in this module Expand all Collapse all v0 v0.24.0 Mar 25, 2022 Changes in this version + const FieldManagerClientSideApply + func GetApplyFieldManagerFlag(cmd *cobra.Command, serverSide bool) string + func NewCmdApply(baseName string, f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command + func NewCmdApplyEditLastApplied(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command + func NewCmdApplySetLastApplied(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command + func NewCmdApplyViewLastApplied(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command + func WarnIfDeleting(obj runtime.Object, stderr io.Writer) + type ApplyFlags struct + All bool + DeleteFlags *delete.DeleteFlags + Factory cmdutil.Factory + FieldManager string + OpenAPIPatch bool + Overwrite bool + PrintFlags *genericclioptions.PrintFlags + Prune bool + PruneResources []prune.Resource + PruneWhitelist []string + RecordFlags *genericclioptions.RecordFlags + Selector string + func NewApplyFlags(f cmdutil.Factory, streams genericclioptions.IOStreams) *ApplyFlags + func (flags *ApplyFlags) AddFlags(cmd *cobra.Command) + func (flags *ApplyFlags) ToOptions(cmd *cobra.Command, baseName string, args []string) (*ApplyOptions, error) + type ApplyOptions struct + All bool + Builder *resource.Builder + DeleteOptions *delete.DeleteOptions + DryRunStrategy cmdutil.DryRunStrategy + DryRunVerifier *resource.QueryParamVerifier + DynamicClient dynamic.Interface + EnforceNamespace bool + FieldManager string + ForceConflicts bool + Mapper meta.RESTMapper + Namespace string + OpenAPIPatch bool + OpenAPISchema openapi.Resources + Overwrite bool + PostProcessorFn func() error + PreProcessorFn func() error + PrintFlags *genericclioptions.PrintFlags + Prune bool + PruneResources []prune.Resource + PruneWhitelist []string + Recorder genericclioptions.Recorder + Selector string + ServerSideApply bool + ToPrinter func(string) (printers.ResourcePrinter, error) + Validator validation.Schema + VisitedNamespaces sets.String + VisitedUids sets.String + func (o *ApplyOptions) GetObjects() ([]*resource.Info, error) + func (o *ApplyOptions) MarkNamespaceVisited(info *resource.Info) + func (o *ApplyOptions) MarkObjectVisited(info *resource.Info) error + func (o *ApplyOptions) PrintAndPrunePostProcessor() func() error + func (o *ApplyOptions) Run() error + func (o *ApplyOptions) SetObjects(infos []*resource.Info) + func (o *ApplyOptions) Validate(cmd *cobra.Command, args []string) error + type PatchBuffer struct + Patch []byte + PatchType types.PatchType + type Patcher struct + BackOff clockwork.Clock + CascadingStrategy metav1.DeletionPropagation + Force bool + GracePeriod int + Helper *resource.Helper + Mapping *meta.RESTMapping + OpenapiSchema openapi.Resources + Overwrite bool + ResourceVersion *string + Retries int + Timeout time.Duration + func (p *Patcher) Patch(current runtime.Object, modified []byte, source, namespace, name string, ...) ([]byte, runtime.Object, error) + type SetLastAppliedOptions struct + CreateAnnotation bool + FilenameOptions resource.FilenameOptions + PrintFlags *genericclioptions.PrintFlags + PrintObj printers.ResourcePrinterFunc + func NewSetLastAppliedOptions(ioStreams genericclioptions.IOStreams) *SetLastAppliedOptions + func (o *SetLastAppliedOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) error + func (o *SetLastAppliedOptions) RunSetLastApplied() error + func (o *SetLastAppliedOptions) Validate() error + type ViewLastAppliedOptions struct + All bool + Factory cmdutil.Factory + FilenameOptions resource.FilenameOptions + LastAppliedConfigurationList []string + OutputFormat string + Selector string + func NewViewLastAppliedOptions(ioStreams genericclioptions.IOStreams) *ViewLastAppliedOptions + func (o *ViewLastAppliedOptions) Complete(cmd *cobra.Command, f cmdutil.Factory, args []string) error + func (o *ViewLastAppliedOptions) RunApplyViewLastApplied(cmd *cobra.Command) error + func (o *ViewLastAppliedOptions) Validate(cmd *cobra.Command) error