Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 101 for LabelSelector (0.31 sec)

  1. pkg/controller/disruption/disruption_test.go

    func TestInvalidSelectors(t *testing.T) {
    	testCases := map[string]struct {
    		labelSelector *metav1.LabelSelector
    	}{
    		"illegal value key": {
    			labelSelector: &metav1.LabelSelector{
    				MatchLabels: map[string]string{
    					"k8s.io/too/many/slashes": "value",
    				},
    			},
    		},
    		"illegal operator": {
    			labelSelector: &metav1.LabelSelector{
    				MatchExpressions: []metav1.LabelSelectorRequirement{
    					{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  2. pkg/apis/admissionregistration/v1/zz_generated.conversion.go

    	out.NamespaceSelector = (*metav1.LabelSelector)(unsafe.Pointer(in.NamespaceSelector))
    	out.ObjectSelector = (*metav1.LabelSelector)(unsafe.Pointer(in.ObjectSelector))
    	if in.ResourceRules != nil {
    		in, out := &in.ResourceRules, &out.ResourceRules
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:46:30 UTC 2024
    - 73.6K bytes
    - Viewed (0)
  3. pkg/apis/networking/validation/validation_test.go

    			networkPolicy.Spec.Ingress[0].From[0].PodSelector = &metav1.LabelSelector{
    				MatchLabels: map[string]string{k: v},
    			}
    		}
    	}
    
    	setIngressFromNamespaceSelector := func(networkPolicy *networking.NetworkPolicy) {
    		setIngressFromIfEmpty(networkPolicy)
    		networkPolicy.Spec.Ingress[0].From[0].NamespaceSelector = &metav1.LabelSelector{
    			MatchLabels: map[string]string{"c": "d"},
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 73.3K bytes
    - Viewed (0)
  4. pkg/apis/admissionregistration/types.go

    	// }
    	//
    	// See
    	// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
    	// for more examples of label selectors.
    	//
    	// Default to the empty LabelSelector, which matches everything.
    	// +optional
    	NamespaceSelector *metav1.LabelSelector
    	// ObjectSelector decides whether to run the validation based on if the
    	// object has matching labels. objectSelector is evaluated against both
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // See
      // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
      // for more examples of label selectors.
      //
      // Default to the empty LabelSelector, which matches everything.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector namespaceSelector = 1;
    
      // ObjectSelector decides whether to run the validation based on if the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // See
      // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
      // for more examples of label selectors.
      //
      // Default to the empty LabelSelector, which matches everything.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector namespaceSelector = 1;
    
      // ObjectSelector decides whether to run the validation based on if the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. pkg/controller/podautoscaler/replica_calculator_test.go

    	externalMetric
    	externalPerPodMetric
    	podMetric
    )
    
    type metricInfo struct {
    	name         string
    	levels       []int64
    	singleObject *autoscalingv2.CrossVersionObjectReference
    	selector     *metav1.LabelSelector
    	metricType   metricType
    
    	targetUsage       int64
    	perPodTargetUsage int64
    	expectedUsage     int64
    }
    
    type replicaCalcTestCase struct {
    	currentReplicas  int32
    	expectedReplicas int32
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    	// }
    	//
    	// See
    	// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
    	// for more examples of label selectors.
    	//
    	// Default to the empty LabelSelector, which matches everything.
    	// +optional
    	NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,1,opt,name=namespaceSelector"`
    	// ObjectSelector decides whether to run the validation based on if the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// }
    	//
    	// See
    	// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
    	// for more examples of label selectors.
    	//
    	// Default to the empty LabelSelector, which matches everything.
    	// +optional
    	NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,1,opt,name=namespaceSelector"`
    	// ObjectSelector decides whether to run the validation based on if the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  10. pkg/apis/apps/v1/zz_generated.conversion.go

    }
    
    func autoConvert_v1_DaemonSetSpec_To_apps_DaemonSetSpec(in *v1.DaemonSetSpec, out *apps.DaemonSetSpec, s conversion.Scope) error {
    	out.Selector = (*metav1.LabelSelector)(unsafe.Pointer(in.Selector))
    	if err := apiscorev1.Convert_v1_PodTemplateSpec_To_core_PodTemplateSpec(&in.Template, &out.Template, s); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:09 UTC 2022
    - 66.7K bytes
    - Viewed (0)
Back to top