func resourceDefaultNamespace(namespaced bool, defaultNamespace string) string { … }
func (gc *GarbageCollector) apiResource(apiVersion, kind string) (schema.GroupVersionResource, bool, error) { … }
func (gc *GarbageCollector) deleteObject(item objectReference, policy *metav1.DeletionPropagation) error { … }
func (gc *GarbageCollector) getObject(item objectReference) (*metav1.PartialObjectMetadata, error) { … }
func (gc *GarbageCollector) patchObject(item objectReference, patch []byte, pt types.PatchType) (*metav1.PartialObjectMetadata, error) { … }
func (gc *GarbageCollector) removeFinalizer(logger klog.Logger, owner *node, targetFinalizer string) error { … }