const maxPatchRetry …
const triesBeforeBackOff …
const groupVersionKindExtensionKey …
var patchRetryBackOffPeriod …
var createPatchErrFormat …
type Patcher …
func newPatcher(o *ApplyOptions, info *resource.Info, helper *resource.Helper) (*Patcher, error) { … }
func (p *Patcher) delete(namespace, name string) error { … }
func (p *Patcher) patchSimple(obj runtime.Object, modified []byte, namespace, name string, errOut io.Writer) ([]byte, runtime.Object, error) { … }
func (p *Patcher) buildMergePatch(original, modified, current []byte) ([]byte, error) { … }
func (p *Patcher) gvkSupportsPatchOpenAPIV3(gvk schema.GroupVersionKind) (bool, error) { … }
func gvkMatchesArray(targetGVK schema.GroupVersionKind, ext spec.Extensions) bool { … }
func gvkMatchesSingle(targetGVK schema.GroupVersionKind, ext spec.Extensions) bool { … }
func (p *Patcher) buildStrategicMergePatchFromOpenAPIV3(original, modified, current []byte) ([]byte, error) { … }
func (p *Patcher) buildStrategicMergeFromOpenAPI(openAPISchema openapi.Resources, original, modified, current []byte) ([]byte, error) { … }
func (p *Patcher) getPatchTypeFromOpenAPI(openAPISchema openapi.Resources, gvk schema.GroupVersionKind) (types.PatchType, error) { … }
func (p *Patcher) buildStrategicMergeFromBuiltins(versionedObj runtime.Object, original, modified, current []byte) ([]byte, error) { … }
func (p *Patcher) Patch(current runtime.Object, modified []byte, source, namespace, name string, errOut io.Writer) ([]byte, runtime.Object, error) { … }
func (p *Patcher) deleteAndCreate(original runtime.Object, modified []byte, namespace, name string) ([]byte, runtime.Object, error) { … }
func addResourceVersion(patch []byte, rv string) ([]byte, error) { … }