Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for paramRef (0.64 sec)

  1. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
    	// +optional
    	ParamRef *ParamRef `json:"paramRef,omitempty" protobuf:"bytes,2,rep,name=paramRef"`
    
    	// MatchResources declares what resources match this binding and will be validated by it.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // Kind is the API kind the resources belong to.
      // Required.
      optional string kind = 2;
    }
    
    // ParamRef describes how to locate the params to be used as input to
    // expressions of rules applied by a policy binding.
    // +structType=atomic
    message ParamRef {
      // name is the name of the resource being referenced.
      //
      // One of `name` or `selector` must be set, but `name` and `selector` are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. pkg/apis/admissionregistration/types.go

    	// Required.
    	PolicyName string
    
    	// paramRef specifies the parameter resource used to configure the admission control policy.
    	// It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go

    	"paramRef":          "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source_test.go

    	return types.NamespacedName{
    		Name: fb.PolicyName,
    	}
    }
    
    func (fb *FakeBinding) GetMatchResources() *v1.MatchResources {
    	return nil
    }
    
    func (fb *FakeBinding) GetParamRef() *v1.ParamRef {
    	return nil
    }
    
    func (fp *FakePolicy) DeepCopyObject() runtime.Object {
    	// totally fudged deepcopy
    	newFP := &FakePolicy{}
    	*newFP = *fp
    	return newFP
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/types_swagger_doc_generated.go

    	"paramRef":          "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 48.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    			results: []EvaluationResult{
    				{
    					EvalResult: celtypes.True,
    				},
    			},
    			hasParamKind: true,
    			params:       crdParams,
    		},
    		{
    			name: "test deny paramKind without paramRef",
    			validations: []ExpressionAccessor{
    				&condition{
    					Expression: "params != null",
    				},
    			},
    			attributes: newValidAttribute(&podObject, false),
    			results: []EvaluationResult{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go

    				continue
    			}
    			if !matches {
    				continue
    			}
    
    			params, err := generic.CollectParams(
    				hook.Policy.Spec.ParamKind,
    				hook.ParamInformer,
    				hook.ParamScope,
    				binding.Spec.ParamRef,
    				a.GetNamespace(),
    			)
    
    			if err != nil {
    				addConfigError(err, definition, binding)
    				continue
    			} else if versionedAttr == nil && len(params) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. pkg/apis/admissionregistration/validation/validation.go

    	allErrors = append(allErrors, validateParamRef(spec.ParamRef, fldPath.Child("paramRef"))...)
    	allErrors = append(allErrors, validateMatchResources(spec.MatchResources, fldPath.Child("matchResouces"))...)
    	allErrors = append(allErrors, validateValidationActions(spec.ValidationActions, fldPath.Child("validationActions"))...)
    
    	return allErrors
    }
    
    func validateParamRef(pr *admissionregistration.ParamRef, fldPath *field.Path) 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)
  10. api/openapi-spec/v3/apis__admissionregistration.k8s.io__v1beta1_openapi.json

              },
              "paramRef": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/io.k8s.api.admissionregistration.v1beta1.ParamRef"
                  }
                ],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 235.7K bytes
    - Viewed (0)
Back to top