Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lookupLabelValue (0.17 sec)

  1. pkg/kube/labels/labels.go

    }
    
    func HasCanonicalServiceName(labels map[string]string) bool {
    	_, ok := lookupLabelValue(labels, nameLabels...)
    	return ok
    }
    
    func HasCanonicalServiceRevision(labels map[string]string) bool {
    	_, ok := lookupLabelValue(labels, revisionLabels...)
    	return ok
    }
    
    func canonicalServiceRevision(labels map[string]string) string {
    	value, ok := lookupLabelValue(labels, revisionLabels...)
    	if !ok {
    		return "latest"
    	}
    	return value
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top