- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WithValidations (0.32 sec)
-
pkg/controller/validatingadmissionpolicystatus/controller_test.go
}{ { name: "deployment with correct expression", policy: withGVRMatch([]string{"apps"}, []string{"v1"}, []string{"deployments"}, withValidations([]admissionregistrationv1.Validation{ { Expression: "object.spec.replicas > 1", }, }, makePolicy("replicated-deployment"))), assertFieldRef: toHaveLengthOf(0), assertWarnings: toHaveLengthOf(0),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicyspec.go
b.MatchConstraints = value return b } // WithValidations adds the given value to the Validations field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the Validations field.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 5.8K bytes - Viewed (0)