- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 72 for matchResouces (0.2 sec)
-
pkg/apis/admissionregistration/validation/validation_test.go
}, }, }}, }, }, }, expectedError: `spec.matchResouces.resourceRules[0].operations: Required value, spec.matchResouces.resourceRules[1].operations: Required value, spec.matchResouces.excludeResourceRules[0].operations: Required value, spec.matchResouces.excludeResourceRules[1].operations: Required value`, }, { name: "\"\" is NOT a valid operation",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 147.1K bytes - Viewed (0) -
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 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 56.6K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchresources.go
MatchPolicy *apiadmissionregistrationv1.MatchPolicyType `json:"matchPolicy,omitempty"` } // MatchResourcesApplyConfiguration constructs an declarative configuration of the MatchResources type for use with // apply. func MatchResources() *MatchResourcesApplyConfiguration { return &MatchResourcesApplyConfiguration{} } // WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/matchresources.go
MatchPolicy *admissionregistrationv1alpha1.MatchPolicyType `json:"matchPolicy,omitempty"` } // MatchResourcesApplyConfiguration constructs an declarative configuration of the MatchResources type for use with // apply. func MatchResources() *MatchResourcesApplyConfiguration { return &MatchResourcesApplyConfiguration{} } // WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 20:51:52 UTC 2022 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/matchresources.go
MatchPolicy *admissionregistrationv1beta1.MatchPolicyType `json:"matchPolicy,omitempty"` } // MatchResourcesApplyConfiguration constructs an declarative configuration of the MatchResources type for use with // apply. func MatchResources() *MatchResourcesApplyConfiguration { return &MatchResourcesApplyConfiguration{} } // WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 20:56:23 UTC 2023 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go
) var _ MatchCriteria = &fakeCriteria{} type fakeCriteria struct { matchResources v1.MatchResources } func (fc *fakeCriteria) GetMatchResources() v1.MatchResources { return fc.matchResources } func (fc *fakeCriteria) GetParsedNamespaceSelector() (labels.Selector, error) { return metav1.LabelSelectorAsSelector(fc.matchResources.NamespaceSelector) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 38.2K bytes - Viewed (0) -
pkg/apis/admissionregistration/v1beta1/defaults_test.go
original: &v1beta1.ValidatingAdmissionPolicyBinding{ Spec: v1beta1.ValidatingAdmissionPolicyBindingSpec{ MatchResources: &v1beta1.MatchResources{}, }, }, expected: &v1beta1.ValidatingAdmissionPolicyBinding{ Spec: v1beta1.ValidatingAdmissionPolicyBindingSpec{ MatchResources: &v1beta1.MatchResources{ MatchPolicy: &equivalent, NamespaceSelector: &metav1.LabelSelector{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 20 20:24:09 UTC 2023 - 6.7K bytes - Viewed (0) -
pkg/apis/admissionregistration/v1alpha1/zz_generated.defaults.go
SetDefaults_ParamRef(in.Spec.ParamRef) } if in.Spec.MatchResources != nil { SetDefaults_MatchResources(in.Spec.MatchResources) for i := range in.Spec.MatchResources.ResourceRules { a := &in.Spec.MatchResources.ResourceRules[i] v1.SetDefaults_Rule(&a.RuleWithOperations.Rule) } for i := range in.Spec.MatchResources.ExcludeResourceRules { a := &in.Spec.MatchResources.ExcludeResourceRules[i]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 20 16:30:10 UTC 2023 - 3.5K bytes - Viewed (0) -
pkg/apis/admissionregistration/v1/defaults_test.go
original: &v1.ValidatingAdmissionPolicyBinding{ Spec: v1.ValidatingAdmissionPolicyBindingSpec{ MatchResources: &v1.MatchResources{}, }, }, expected: &v1.ValidatingAdmissionPolicyBinding{ Spec: v1.ValidatingAdmissionPolicyBindingSpec{ MatchResources: &v1.MatchResources{ MatchPolicy: &equivalent, NamespaceSelector: &metav1.LabelSelector{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 5.9K bytes - Viewed (0) -
pkg/apis/admissionregistration/v1beta1/zz_generated.defaults.go
if in.Spec.MatchResources != nil { SetDefaults_MatchResources(in.Spec.MatchResources) for i := range in.Spec.MatchResources.ResourceRules { a := &in.Spec.MatchResources.ResourceRules[i] v1.SetDefaults_Rule(&a.RuleWithOperations.Rule) } for i := range in.Spec.MatchResources.ExcludeResourceRules { a := &in.Spec.MatchResources.ExcludeResourceRules[i]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 20:56:23 UTC 2023 - 5.3K bytes - Viewed (0)