Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for LabelSelector (0.2 sec)

  1. pkg/controller/job/job_controller_test.go

    		TypeMeta: metav1.TypeMeta{Kind: "Job"},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			UID:       uuid.NewUUID(),
    			Namespace: metav1.NamespaceDefault,
    		},
    		Spec: batch.JobSpec{
    			Selector: &metav1.LabelSelector{
    				MatchLabels: map[string]string{"foo": "bar"},
    			},
    			Template: v1.PodTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    						"foo": "bar",
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  2. api/openapi-spec/v3/apis__certificates.k8s.io__v1_openapi.json

                }
              },
              {
                "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
                "in": "query",
                "name": "labelSelector",
                "schema": {
                  "type": "string",
                  "uniqueItems": true
                }
              },
              {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 151.7K bytes
    - Viewed (0)
  3. api/openapi-spec/v3/apis__apiextensions.k8s.io__v1_openapi.json

                }
              },
              {
                "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
                "in": "query",
                "name": "labelSelector",
                "schema": {
                  "type": "string",
                  "uniqueItems": true
                }
              },
              {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 178.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/storage/v1/generated.pb.go

    		`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
    		`NodeTopology:` + strings.Replace(fmt.Sprintf("%v", this.NodeTopology), "LabelSelector", "v1.LabelSelector", 1) + `,`,
    		`StorageClassName:` + fmt.Sprintf("%v", this.StorageClassName) + `,`,
    		`Capacity:` + strings.Replace(fmt.Sprintf("%v", this.Capacity), "Quantity", "resource.Quantity", 1) + `,`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 133.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/storage/v1beta1/generated.pb.go

    		`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
    		`NodeTopology:` + strings.Replace(fmt.Sprintf("%v", this.NodeTopology), "LabelSelector", "v1.LabelSelector", 1) + `,`,
    		`StorageClassName:` + fmt.Sprintf("%v", this.StorageClassName) + `,`,
    		`Capacity:` + strings.Replace(fmt.Sprintf("%v", this.Capacity), "Quantity", "resource.Quantity", 1) + `,`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 133.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/autoscaling/v2/generated.pb.go

    	if this == nil {
    		return "nil"
    	}
    	s := strings.Join([]string{`&MetricIdentifier{`,
    		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
    		`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *MetricSpec) String() string {
    	if this == nil {
    		return "nil"
    	}
    	s := strings.Join([]string{`&MetricSpec{`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 162.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/batch/v1/generated.pb.go

    		`Completions:` + valueToStringGenerated(this.Completions) + `,`,
    		`ActiveDeadlineSeconds:` + valueToStringGenerated(this.ActiveDeadlineSeconds) + `,`,
    		`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
    		`ManualSelector:` + valueToStringGenerated(this.ManualSelector) + `,`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 133K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/autoscaling/v2beta2/generated.pb.go

    	if this == nil {
    		return "nil"
    	}
    	s := strings.Join([]string{`&MetricIdentifier{`,
    		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
    		`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *MetricSpec) String() string {
    	if this == nil {
    		return "nil"
    	}
    	s := strings.Join([]string{`&MetricSpec{`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 163K bytes
    - Viewed (0)
  9. pkg/scheduler/schedule_one_test.go

    				tf.RegisterBindPlugin(defaultbinder.Name, defaultbinder.New),
    			},
    			nodes: []string{"node1", "node2"},
    			pod: st.MakePod().Name("p").UID("p").Label("foo", "").SpreadConstraint(1, "hostname", v1.DoNotSchedule, &metav1.LabelSelector{
    				MatchExpressions: []metav1.LabelSelectorRequirement{
    					{
    						Key:      "foo",
    						Operator: metav1.LabelSelectorOpExists,
    					},
    				},
    			}, nil, nil, nil, nil).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_node_status_test.go

    }
    
    func (l delegatingNodeLister) List(selector labels.Selector) (ret []*v1.Node, err error) {
    	opts := metav1.ListOptions{}
    	if selector != nil {
    		opts.LabelSelector = selector.String()
    	}
    	nodeList, err := l.client.CoreV1().Nodes().List(context.Background(), opts)
    	if err != nil {
    		return nil, err
    	}
    	nodes := make([]*v1.Node, len(nodeList.Items))
    	return nodes, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
Back to top