Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for MatchPolicyType (0.24 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchresources.go

    	ExcludeResourceRules []NamedRuleWithOperationsApplyConfiguration `json:"excludeResourceRules,omitempty"`
    	MatchPolicy          *apiadmissionregistrationv1.MatchPolicyType `json:"matchPolicy,omitempty"`
    }
    
    // MatchResourcesApplyConfiguration constructs an declarative configuration of the MatchResources type for use with
    // apply.
    func MatchResources() *MatchResourcesApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. pkg/apis/admissionregistration/validation/validation_test.go

    					Expression: "object.x < 100",
    				}},
    				MatchConstraints: &admissionregistration.MatchResources{
    					MatchPolicy: func() *admissionregistration.MatchPolicyType {
    						r := admissionregistration.MatchPolicyType("other")
    						return &r
    					}(),
    				},
    			},
    		},
    		expectedError: `spec.matchConstraints.matchPolicy: Unsupported value: "other": supported values: "Equivalent", "Exact"`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go

    	GetRules() []v1.RuleWithOperations
    	// GetFailurePolicy gets the webhook FailurePolicy field.
    	GetFailurePolicy() *v1.FailurePolicyType
    	// GetMatchPolicy gets the webhook MatchPolicy field.
    	GetMatchPolicy() *v1.MatchPolicyType
    	// GetNamespaceSelector gets the webhook NamespaceSelector field.
    	GetNamespaceSelector() *metav1.LabelSelector
    	// GetObjectSelector gets the webhook ObjectSelector field.
    	GetObjectSelector() *metav1.LabelSelector
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    	// Fail means that an error calling the webhook causes the admission to fail.
    	Fail FailurePolicyType = "Fail"
    )
    
    // MatchPolicyType specifies the type of match policy
    type MatchPolicyType string
    
    const (
    	// Exact means requests should only be sent to the webhook if they exactly match a given rule
    	Exact MatchPolicyType = "Exact"
    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

    	DenyAction ParameterNotFoundActionType = "Deny"
    )
    
    // MatchPolicyType specifies the type of match policy.
    // +enum
    type MatchPolicyType string
    
    const (
    	// Exact means requests should only be sent to the webhook if they exactly match a given rule.
    	Exact MatchPolicyType = "Exact"
    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. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching.go

    	}
    
    	return true, matchResource, matchKind, nil
    }
    
    func matchesResourceRules(namedRules []v1.NamedRuleWithOperations, matchPolicy *v1.MatchPolicyType, attr admission.Attributes, o admission.ObjectInterfaces) (bool, schema.GroupVersionResource, schema.GroupVersionKind, error) {
    	matchKind := attr.GetKind()
    	matchResource := attr.GetResource()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/v1/zz_generated.conversion.go

    				return err
    			}
    		}
    	} else {
    		out.ExcludeResourceRules = nil
    	}
    	out.MatchPolicy = (*admissionregistration.MatchPolicyType)(unsafe.Pointer(in.MatchPolicy))
    	return nil
    }
    
    // Convert_v1_MatchResources_To_admissionregistration_MatchResources is an autogenerated conversion function.
    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. pkg/apis/admissionregistration/types.go

    	Fail FailurePolicyType = "Fail"
    )
    
    // MatchPolicyType specifies the type of match policy
    type MatchPolicyType string
    
    const (
    	// Exact means requests should only be sent to the webhook if they exactly match a given rule
    	Exact MatchPolicyType = "Exact"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admissionregistration/v1/zz_generated.deepcopy.go

    		*out = make([]NamedRuleWithOperations, len(*in))
    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	if in.MatchPolicy != nil {
    		in, out := &in.MatchPolicy, &out.MatchPolicy
    		*out = new(MatchPolicyType)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchResources.
    func (in *MatchResources) DeepCopy() *MatchResources {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/admissionregistration/v1beta1/generated.pb.go

    			}
    			postIndex := iNdEx + intStringLen
    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			s := MatchPolicyType(dAtA[iNdEx:postIndex])
    			m.MatchPolicy = &s
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    			skippy, err := skipGenerated(dAtA[iNdEx:])
    			if err != nil {
    				return err
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 187.9K bytes
    - Viewed (0)
Back to top