package
0.33.0-alpha.2
Repository: https://github.com/kubernetes/kubectl.git
Documentation: pkg.go.dev

# Functions

GetApplyFieldManagerFlag gets the field manager for kubectl apply if it is not set.
NewApplyFlags returns a default ApplyFlags.
NewApplySet creates a new ApplySet object tracked by the given parent object.
NewCmdApply creates the `apply` command.
NewCmdApplyEditLastApplied created the cobra CLI command for the `apply edit-last-applied` command.
NewCmdApplySetLastApplied creates the cobra CLI `apply` subcommand `set-last-applied`.`.
NewCmdApplyViewLastApplied creates the cobra CLI `apply` subcommand `view-last-applied`.`.
NewSetLastAppliedOptions takes option arguments from a CLI stream and returns it at SetLastAppliedOptions type.
NewViewLastAppliedOptions takes option arguments from a CLI stream and returns it at ViewLastAppliedOptions type.
ParseApplySetParentRef creates a new ApplySetParentRef from a parent reference in the format [RESOURCE][.GROUP]/NAME.
WarnIfDeleting prints a warning if a resource is being deleted.

# Constants

ApplySetAdditionalNamespacesAnnotation annotation extends the scope of the ApplySet beyond the parent object's own namespace (if any) to include the listed namespaces.
ApplySetGKsAnnotation is a list of group-kinds used to optimize listing of ApplySet member objects.
ApplysetParentCRDLabel is the key of the label that can be set on a CRD to identify the custom resource type it defines (not the CRD itself) as an allowed parent for an ApplySet.
ApplySetParentIDLabel is the key of the label that makes object an ApplySet parent object.
ApplysetPartOfLabel is the key of the label which indicates that the object is a member of an ApplySet.
ApplySetToolingAnnotation is the key of the label that indicates which tool is used to manage this ApplySet.
Deprecated: ApplySetGRsAnnotation is a list of group-resources used to optimize listing of ApplySet member objects.
FieldManagerClientSideApply is the default client-side apply field manager.
V1ApplySetIdFormat is the format required for the value of ApplySetParentIDLabel (and ApplysetPartOfLabel).

# Variables

No description provided by the author

# Structs

ApplyFlags directly reflect the information that CLI is gathering via flags.
ApplyOptions defines flags and other configuration parameters for the `apply` command.
ApplySet tracks the information about an applyset apply/prune.
No description provided by the author
ApplySetParentRef stores object and type meta for the parent object that is used to track the applyset.
No description provided by the author
PatchBuffer caches changes that are to be applied.
Patcher defines options to patch OpenAPI objects.
PruneObject is an apiserver object that should be deleted as part of prune.
SetLastAppliedOptions defines options for the `apply set-last-applied` command.`.
ViewLastAppliedOptions defines options for the `apply view-last-applied` command.`.

# Type aliases

No description provided by the author