Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for metaLabels (0.15 sec)

  1. pilot/pkg/serviceregistry/kube/controller/util.go

    	"istio.io/istio/pkg/config/labels"
    )
    
    func getLabelValue(metadata metav1.ObjectMeta, label string, fallBackLabel string) string {
    	metaLabels := metadata.GetLabels()
    	val := metaLabels[label]
    	if val != "" {
    		return val
    	}
    
    	return metaLabels[fallBackLabel]
    }
    
    // Forked from Kubernetes k8s.io/kubernetes/pkg/api/v1/pod
    // FindPort locates the container port for the given pod and portName.  If the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 28 02:01:47 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top