Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for LabelSelector (0.35 sec)

  1. pkg/apis/apps/validation/validation_test.go

    			Selector: &metav1.LabelSelector{MatchLabels: validSelector},
    			Template: validPodTemplate.Template,
    			UpdateStrategy: apps.DaemonSetUpdateStrategy{
    				Type: apps.OnDeleteDaemonSetStrategyType,
    			},
    		},
    	}, {
    		ObjectMeta: metav1.ObjectMeta{Name: "abc-123", Namespace: metav1.NamespaceDefault},
    		Spec: apps.DaemonSetSpec{
    			Selector: &metav1.LabelSelector{MatchLabels: validSelector},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  2. pkg/apis/admissionregistration/validation/validation_test.go

    					return &r
    				}(),
    				MatchConstraints: &admissionregistration.MatchResources{
    					NamespaceSelector: &metav1.LabelSelector{
    						MatchLabels: map[string]string{"a": "b"},
    					},
    					ObjectSelector: &metav1.LabelSelector{
    						MatchLabels: map[string]string{"a": "b"},
    					},
    					MatchPolicy: func() *admissionregistration.MatchPolicyType {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  3. pkg/registry/batch/job/strategy_test.go

    		UID:         getValidUID(),
    		Namespace:   metav1.NamespaceDefault,
    		Generation:  generation,
    		Annotations: annotations,
    	}
    }
    
    func getValidLabelSelector() *metav1.LabelSelector {
    	return &metav1.LabelSelector{
    		MatchLabels: map[string]string{"a": "b"},
    	}
    }
    
    func getValidBatchLabels() map[string]string {
    	theUID := getValidUID()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  4. pkg/controller/daemon/daemon_controller_test.go

    		},
    		Spec: apps.DaemonSetSpec{
    			RevisionHistoryLimit: &two,
    			UpdateStrategy: apps.DaemonSetUpdateStrategy{
    				Type: apps.OnDeleteDaemonSetStrategyType,
    			},
    			Selector: &metav1.LabelSelector{MatchLabels: simpleDaemonSetLabel},
    			Template: v1.PodTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: simpleDaemonSetLabel,
    				},
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers_test.go

    							Image: "fake-image1",
    						},
    						{
    							Name:  "fake-container2",
    							Image: "fake-image2",
    						},
    					},
    				},
    			},
    			Selector: &metav1.LabelSelector{MatchLabels: map[string]string{"foo": "bar"}},
    		},
    		Status: apps.DeploymentStatus{
    			Replicas:            10,
    			UpdatedReplicas:     2,
    			AvailableReplicas:   1,
    			UnavailableReplicas: 4,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  6. pkg/controller/podautoscaler/horizontal_test.go

    			{
    				Type: autoscalingv2.ExternalMetricSourceType,
    				External: &autoscalingv2.ExternalMetricSource{
    					Metric: autoscalingv2.MetricIdentifier{
    						Name:     "qps",
    						Selector: &metav1.LabelSelector{},
    					},
    					Target: autoscalingv2.MetricTarget{
    						Type:  autoscalingv2.ValueMetricType,
    						Value: resource.NewMilliQuantity(6666, resource.DecimalSI),
    					},
    				},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  7. pkg/apis/core/zz_generated.deepcopy.go

    		**out = **in
    	}
    	if in.SignerName != nil {
    		in, out := &in.SignerName, &out.SignerName
    		*out = new(string)
    		**out = **in
    	}
    	if in.LabelSelector != nil {
    		in, out := &in.LabelSelector, &out.LabelSelector
    		*out = new(v1.LabelSelector)
    		(*in).DeepCopyInto(*out)
    	}
    	if in.Optional != nil {
    		in, out := &in.Optional, &out.Optional
    		*out = new(bool)
    		**out = **in
    	}
    	return
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    		**out = **in
    	}
    	if in.SignerName != nil {
    		in, out := &in.SignerName, &out.SignerName
    		*out = new(string)
    		**out = **in
    	}
    	if in.LabelSelector != nil {
    		in, out := &in.LabelSelector, &out.LabelSelector
    		*out = new(metav1.LabelSelector)
    		(*in).DeepCopyInto(*out)
    	}
    	if in.Optional != nil {
    		in, out := &in.Optional, &out.Optional
    		*out = new(bool)
    		**out = **in
    	}
    	return
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  9. pkg/api/pod/util_test.go

    					{
    						LabelSelector: &metav1.LabelSelector{
    							MatchLabels: map[string]string{"foo": "foo"},
    						},
    					},
    				},
    			},
    			wantOption: false,
    		},
    		{
    			name: "UpdateEmptyLabelSelector",
    			oldPodSpec: &api.PodSpec{
    				TopologySpreadConstraints: []api.TopologySpreadConstraint{
    					{
    						LabelSelector: nil,
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  10. 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)
Back to top