- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for ValidationAction (0.18 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/AbstractValidatingProperty.java
private final boolean optional; private final ValidationAction validationAction; public AbstractValidatingProperty(String propertyName, PropertyValue value, boolean optional, ValidationAction validationAction) { this.propertyName = propertyName; this.value = value; this.optional = optional; this.validationAction = validationAction; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 09:10:37 UTC 2024 - 4.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/ValidationActions.java
import java.io.File; import java.util.Collection; import java.util.function.Supplier; import static org.gradle.internal.deprecation.Documentation.userManual; public enum ValidationActions implements ValidationAction { NO_OP("file collection") { @Override public void doValidate(String propertyName, Object value, PropertyValidationContext context) { } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 11:49:03 UTC 2024 - 16.5K bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation_test.go
Name: "xyzlimit-scale-setting.example.com", ParameterNotFoundAction: ptr(admissionregistration.DenyAction), }, ValidationActions: []admissionregistration.ValidationAction{admissionregistration.ValidationAction("illegal")}, }, }, expectedError: `Unsupported value: "illegal": supported values: "Audit", "Deny", "Warn"`, }, { name: "paramRef selector must not be set when name is set",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 147.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go
Namespace: fakeParams.GetNamespace(), // fake object tracker does not populate defaults ParameterNotFoundAction: ptrTo(admissionregistrationv1.DenyAction), }, ValidationActions: []admissionregistrationv1.ValidationAction{admissionregistrationv1.Deny}, }, } denyBindingWithNoParamRef *admissionregistrationv1.ValidatingAdmissionPolicyBinding = &admissionregistrationv1.ValidatingAdmissionPolicyBinding{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 01:39:01 UTC 2024 - 63.8K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1/types.go
} // ValidationAction specifies a policy enforcement action. // +enum type ValidationAction string const ( // Deny specifies that a validation failure results in a denied request. Deny ValidationAction = "Deny" // Warn specifies that a validation failure is reported to the request client
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 61.6K bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation.go
string(admissionregistration.Deny), string(admissionregistration.Warn), string(admissionregistration.Audit), ) func validateValidationActions(va []admissionregistration.ValidationAction, fldPath *field.Path) field.ErrorList { var allErrors field.ErrorList actions := sets.NewString() for i, action := range va { if !validValidationActions.Has(string(action)) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 56.6K bytes - Viewed (0)