Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ownerReferenceMatchesCoordinates (0.22 sec)

  1. pkg/controller/garbagecollector/graph.go

    		UID:        ref.UID,
    		Name:       ref.Name,
    		Kind:       ref.Kind,
    		APIVersion: ref.APIVersion,
    	}
    }
    
    // ownerReferenceMatchesCoordinates returns true if all of the coordinate fields match
    // between the two references (uid, name, kind, apiVersion)
    func ownerReferenceMatchesCoordinates(a, b metav1.OwnerReference) bool {
    	return a.UID == b.UID && a.Name == b.Name && a.Kind == b.Kind && a.APIVersion == b.APIVersion
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 13:37:56 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/graph_builder.go

    					gb.reportInvalidNamespaceOwnerRef(n, owner.UID)
    				}
    				hasPotentiallyInvalidOwnerReference = true
    			} else if !ownerReferenceMatchesCoordinates(owner, ownerNode.identity.OwnerReference) {
    				if ownerNode.isObserved() {
    					// The owner node has been observed via an informer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top