Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for matchConditions (0.16 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. 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)
  3. 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)
  4. 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)
Back to top