Versions in this module Expand all Collapse all v0 v0.28.210 Oct 20, 2023 v0.28.203 Oct 19, 2023 v0.28.202 Oct 19, 2023 Changes in this version + const ApplySetAdditionalNamespacesAnnotation + const ApplySetGRsAnnotation + const ApplySetParentIDLabel + const ApplySetToolingAnnotation + const ApplysetParentCRDLabel + const ApplysetPartOfLabel + const FieldManagerClientSideApply + const V1ApplySetIdFormat + var ApplySetToolVersion = version.Get().GitVersion + func GetApplyFieldManagerFlag(cmd *cobra.Command, serverSide bool) string + func NewCmdApply(baseName string, f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command + func NewCmdApplyEditLastApplied(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command + func NewCmdApplySetLastApplied(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command + func NewCmdApplyViewLastApplied(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command + func WarnIfDeleting(obj runtime.Object, stderr io.Writer) + type ApplyFlags struct + All bool + ApplySetRef string + DeleteFlags *delete.DeleteFlags + FieldManager string + OpenAPIPatch bool + Overwrite bool + PrintFlags *genericclioptions.PrintFlags + Prune bool + PruneAllowlist []string + PruneResources []prune.Resource + PruneWhitelist []string + RecordFlags *genericclioptions.RecordFlags + Selector string + func NewApplyFlags(streams genericiooptions.IOStreams) *ApplyFlags + func (flags *ApplyFlags) AddFlags(cmd *cobra.Command) + func (flags *ApplyFlags) ToOptions(f cmdutil.Factory, cmd *cobra.Command, baseName string, args []string) (*ApplyOptions, error) + type ApplyOptions struct + All bool + ApplySet *ApplySet + Builder *resource.Builder + DeleteOptions *delete.DeleteOptions + DryRunStrategy cmdutil.DryRunStrategy + 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 + Recorder genericclioptions.Recorder + Selector string + ServerSideApply bool + ToPrinter func(string) (printers.ResourcePrinter, error) + ValidationDirective string + Validator validation.Schema + VisitedNamespaces sets.Set[string] + VisitedUids sets.Set[types.UID] + 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() error + type ApplySet struct + func NewApplySet(parent *ApplySetParentRef, tooling ApplySetTooling, mapper meta.RESTMapper, ...) *ApplySet + func (a *ApplySet) AddLabels(objects ...*resource.Info) error + func (a *ApplySet) AllPrunableNamespaces() []string + func (a *ApplySet) AllPrunableResources() []*meta.RESTMapping + func (a *ApplySet) BeforeApply(objects []*resource.Info, dryRunStrategy cmdutil.DryRunStrategy, ...) error + func (a *ApplySet) FindAllObjectsToPrune(ctx context.Context, dynamicClient dynamic.Interface, ...) ([]PruneObject, error) + func (a *ApplySet) LabelSelectorForMembers() string + func (a *ApplySet) LabelsForMember() map[string]string + func (a *ApplySet) Prune(ctx context.Context, o *ApplyOptions) error + func (a ApplySet) FieldManager() string + func (a ApplySet) ID() string + func (a ApplySet) Validate(ctx context.Context, client dynamic.Interface) error + type ApplySetDeleteOptions struct + CascadingStrategy metav1.DeletionPropagation + DryRunStrategy cmdutil.DryRunStrategy + GracePeriod int + IOStreams genericiooptions.IOStreams + Printer printers.ResourcePrinter + type ApplySetParentRef struct + Name string + Namespace string + func ParseApplySetParentRef(parentRefStr string, mapper meta.RESTMapper) (*ApplySetParentRef, error) + func (p ApplySetParentRef) IsNamespaced() bool + func (p ApplySetParentRef) String() string + type ApplySetTooling struct + Name string + Version string + func (t ApplySetTooling) String() string + type ApplySetUpdateMode string + 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 PruneObject struct + Mapping *meta.RESTMapping + Name string + Namespace string + Object runtime.Object + func (p *PruneObject) String() string + type SetLastAppliedOptions struct + CreateAnnotation bool + FilenameOptions resource.FilenameOptions + PrintFlags *genericclioptions.PrintFlags + PrintObj printers.ResourcePrinterFunc + func NewSetLastAppliedOptions(ioStreams genericiooptions.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 genericiooptions.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() error