Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for paramKind (0.14 sec)

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

    			return nil, fmt.Errorf("paramKind kind `%v` not yet synced to use for admission",
    				paramKind.String())
    		}
    	}
    
    	// Find params to use with policy
    	switch {
    	case paramKind == nil:
    		// ParamKind is unset. Ignore any globalParamRef or namespaceParamRef
    		// setting.
    		return []runtime.Object{nil}, nil
    	case paramRef == nil:
    		// Policy ParamKind is set, but binding does not use it.
    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/apiserver/pkg/admission/plugin/policy/generic/policy_source.go

    		}
    
    		var parsedParamKind *schema.GroupVersionKind
    		policyAccessor := s.newPolicyAccessor(policySpec)
    
    		if paramKind := policyAccessor.GetParamKind(); paramKind != nil {
    			groupVersion, err := schema.ParseGroupVersion(paramKind.APIVersion)
    			if err != nil {
    				errs = append(errs, fmt.Errorf("failed to parse paramKind APIVersion: %w", err))
    				continue
    			}
    			parsedParamKind = &schema.GroupVersionKind{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 23:07:34 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. pkg/apis/admissionregistration/v1alpha1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1alpha1.ParamKind)(nil), (*admissionregistration.ParamKind)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1alpha1_ParamKind_To_admissionregistration_ParamKind(a.(*v1alpha1.ParamKind), b.(*admissionregistration.ParamKind), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:10 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/admissionregistration/v1alpha1/types.go

    	// +optional
    	ParamKind *ParamKind `json:"paramKind,omitempty" protobuf:"bytes,1,rep,name=paramKind"`
    
    	// MatchConstraints specifies what resources this policy is designed to validate.
    	// The AdmissionPolicy cares about a request if it matches _all_ Constraints.
    	// However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 05 20:06:13 UTC 2023
    - 33.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1alpha1/zz_generated.deepcopy.go

    func (in *ParamKind) DeepCopyInto(out *ParamKind) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParamKind.
    func (in *ParamKind) DeepCopy() *ParamKind {
    	if in == nil {
    		return nil
    	}
    	out := new(ParamKind)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:10 UTC 2023
    - 14K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1beta1/zz_generated.deepcopy.go

    func (in *ParamKind) DeepCopyInto(out *ParamKind) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParamKind.
    func (in *ParamKind) DeepCopy() *ParamKind {
    	if in == nil {
    		return nil
    	}
    	out := new(ParamKind)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 20:56:23 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // `selector` fields.
      //
      // A per-namespace parameter may be used by specifying a namespace-scoped
      // `paramKind` in the policy and leaving this field empty.
      //
      // - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this
      // field results in a configuration error.
      //
      // - If `paramKind` is namespace-scoped, the namespace of the object being
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/admissionregistration/v1alpha1/types_swagger_doc_generated.go

    	"paramKind":        "ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:10 UTC 2023
    - 27K bytes
    - Viewed (0)
  9. pkg/apis/admissionregistration/zz_generated.deepcopy.go

    func (in *ParamKind) DeepCopyInto(out *ParamKind) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParamKind.
    func (in *ParamKind) DeepCopy() *ParamKind {
    	if in == nil {
    		return nil
    	}
    	out := new(ParamKind)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:10 UTC 2023
    - 24.6K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

    message ValidatingAdmissionPolicySpec {
      // ParamKind specifies the kind of resources used to parameterize this policy.
      // If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions.
      // If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top