Versions in this module Expand all Collapse all v1 v1.1.0 Mar 14, 2022 v1.0.0 Jun 3, 2021 v0 v0.9.0 Jun 23, 2020 Changes in this version + 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 + type ApplyOptions struct + All bool + Builder *resource.Builder + DeleteFlags *delete.DeleteFlags + DeleteOptions *delete.DeleteOptions + DiscoveryClient discovery.DiscoveryInterface + DryRun bool + DynamicClient dynamic.Interface + EnforceNamespace bool + Mapper meta.RESTMapper + Namespace string + OpenAPISchema openapi.Resources + OpenApiPatch bool + Overwrite bool + PrintFlags *genericclioptions.PrintFlags + Prune bool + PruneResources []pruneResource + PruneWhitelist []string + RecordFlags *genericclioptions.RecordFlags + Recorder genericclioptions.Recorder + Selector string + ServerDryRun bool + ShouldIncludeUninitialized bool + ToPrinter func(string) (printers.ResourcePrinter, error) + Validator validation.Schema + func NewApplyOptions(ioStreams genericclioptions.IOStreams) *ApplyOptions + func (o *ApplyOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) error + func (o *ApplyOptions) Run() error + type DryRunVerifier struct + Finder cmdutil.CRDFinder + OpenAPIGetter discovery.OpenAPISchemaInterface + func (v *DryRunVerifier) HasSupport(gvk schema.GroupVersionKind) error + type PatchBuffer struct + Patch []byte + PatchType types.PatchType + type Patcher struct + BackOff clockwork.Clock + Cascade bool + DynamicClient dynamic.Interface + Force bool + GracePeriod int + Helper *resource.Helper + Mapping *meta.RESTMapping + OpenapiSchema openapi.Resources + Overwrite bool + ServerDryRun bool + 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