Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for matchConditions (0.39 sec)

  1. pkg/apis/admissionregistration/validation/validation.go

    			if conditionNames.Has(matchCondition.Name) {
    				allErrors = append(allErrors, field.Duplicate(fldPath.Index(i).Child("name"), matchCondition.Name))
    			} else {
    				conditionNames.Insert(matchCondition.Name)
    			}
    		}
    	}
    	return allErrors
    }
    
    func validateMatchCondition(v *admissionregistration.MatchCondition, opts validationOptions, fldPath *field.Path) field.ErrorList {
    	var allErrors field.ErrorList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  2. pkg/apis/admissionregistration/v1beta1/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1beta1.MatchCondition)(nil), (*admissionregistration.MatchCondition)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_MatchCondition_To_admissionregistration_MatchCondition(a.(*v1beta1.MatchCondition), b.(*admissionregistration.MatchCondition), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 20:56:23 UTC 2023
    - 73K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // +listMapKey=name
      // +optional
      repeated MatchCondition matchConditions = 6;
    
      // Variables contain definitions of variables that can be used in composition of other expressions.
      // Each variable is defined as a named CEL expression.
      // The variables defined here will be available under `variables` in other expressions of the policy
      // except MatchConditions because MatchConditions are evaluated before the rest of the policy.
      //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    	//
    	// +patchMergeKey=name
    	// +patchStrategy=merge
    	// +listType=map
    	// +listMapKey=name
    	// +optional
    	MatchConditions []MatchCondition `json:"matchConditions,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,6,rep,name=matchConditions"`
    
    	// Variables contain definitions of variables that can be used in composition of other expressions.
    	// Each variable is defined as a named CEL expression.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	//
    	// +patchMergeKey=name
    	// +patchStrategy=merge
    	// +listType=map
    	// +listMapKey=name
    	// +optional
    	MatchConditions []MatchCondition `json:"matchConditions,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,6,rep,name=matchConditions"`
    
    	// Variables contain definitions of variables that can be used in composition of other expressions.
    	// Each variable is defined as a named CEL expression.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  6. pkg/apis/admissionregistration/types.go

    	//   1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.
    	//   2. If ALL matchConditions evaluate to TRUE, the webhook is called.
    	//   3. If any matchCondition evaluates to an error (but none are FALSE):
    	//      - If failurePolicy=Fail, reject the request
    	//      - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
    	//
    	// +optional
    	MatchConditions []MatchCondition
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/v1/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1.MatchCondition)(nil), (*admissionregistration.MatchCondition)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_MatchCondition_To_admissionregistration_MatchCondition(a.(*v1.MatchCondition), b.(*admissionregistration.MatchCondition), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:46:30 UTC 2024
    - 73.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // +listMapKey=name
      // +optional
      repeated MatchCondition matchConditions = 6;
    
      // Variables contain definitions of variables that can be used in composition of other expressions.
      // Each variable is defined as a named CEL expression.
      // The variables defined here will be available under `variables` in other expressions of the policy
      // except MatchConditions because MatchConditions are evaluated before the rest of the policy.
      //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    			matchConditions: []api.WebhookMatchCondition{
    				{
    					Expression: "has(request.resourceAttributes) && request.resourceAttributes.namespace == 'kube-system'",
    				},
    				{
    					Expression: "request.user == 'admin'",
    				},
    			},
    			featureEnabled: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/zz_generated.conversion.go

    	if err := Convert_v1alpha1_WebhookConnectionInfo_To_apiserver_WebhookConnectionInfo(&in.ConnectionInfo, &out.ConnectionInfo, s); err != nil {
    		return err
    	}
    	out.MatchConditions = *(*[]apiserver.WebhookMatchCondition)(unsafe.Pointer(&in.MatchConditions))
    	return nil
    }
    
    // Convert_v1alpha1_WebhookConfiguration_To_apiserver_WebhookConfiguration is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top