Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for labelFor (0.1 sec)

  1. cluster/gce/manifests/cloud-controller-manager.manifest

            "readOnly": true}
          ]
        },
        {
        "name": "cloud-pvl-admission",
        "image": "gcr.io/k8s-staging-cloud-pv-labeler/cloud-pv-admission-labeler:v0.3.0",
        "resources": {
          "requests": {
            "cpu": "10m"
          }
        },
        "command": [
          "/cloud-pv-admission-labeler",
          "--addr=localhost:9001",
          "--tls-cert-path=/etc/srv/kubernetes/pki/cloud-pvl-admission/server.crt",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 08:50:12 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. pkg/kube/krt/internal.go

    }
    
    // getLabels returns the labels for an object, if possible.
    // Warning: this will panic if the labels is not available.
    func getLabels(a any) map[string]string {
    	al, ok := a.(Labeler)
    	if ok {
    		return al.GetLabels()
    	}
    	pal, ok := any(&a).(Labeler)
    	if ok {
    		return pal.GetLabels()
    	}
    	ak, ok := a.(metav1.Object)
    	if ok {
    		return ak.GetLabels()
    	}
    	ac, ok := a.(config.Config)
    	if ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. pkg/kube/krt/core.go

    type LabelSelectorer interface {
    	GetLabelSelector() map[string]string
    }
    
    // Labeler is an optional interface that can be implemented by collection types.
    // If implemented, this will be used to determine an objects' Labels
    type Labeler interface {
    	GetLabels() map[string]string
    }
    
    // Namer is an optional interface that can be implemented by collection types.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top