Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for paramRef (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_dispatcher.go

    	case len(paramRef.Name) > 0:
    		if paramRef.Selector != nil {
    			// This should be validated, but just in case.
    			return nil, fmt.Errorf("paramRef.name and paramRef.selector are mutually exclusive")
    		}
    
    		switch param, err := paramStore.Get(paramRef.Name); {
    		case err == nil:
    			params = []runtime.Object{param}
    		case apierrors.IsNotFound(err):
    			// Param not yet available. User may need to wait a bit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/admissionregistration/v1/zz_generated.deepcopy.go

    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParamRef.
    func (in *ParamRef) DeepCopy() *ParamRef {
    	if in == nil {
    		return nil
    	}
    	out := new(ParamRef)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // Required.
      optional string apiVersion = 1;
    
      // Kind is the API kind the resources belong to.
      // Required.
      optional string kind = 2;
    }
    
    // ParamRef references a parameter resource
    // +structType=atomic
    message ParamRef {
      // Name of the resource being referenced.
      optional string name = 1;
    
      // Namespace of the referenced resource.
      // Should be empty for the cluster-scoped resources
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/admissionregistration/v1alpha1/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.
      //
      // `name` and `selector` are mutually exclusive properties. If one is set,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  5. 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)
  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)
Back to top