- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,028 for validator (0.12 sec)
-
internal/bucket/lifecycle/noncurrentversion.go
} // IsDaysNull returns true if days field is null func (n NoncurrentVersionExpiration) IsDaysNull() bool { return n.NoncurrentDays == ExpirationDays(0) } // Validate returns an error with wrong value func (n NoncurrentVersionExpiration) Validate() error { if !n.set { return nil } val := int(n.NoncurrentDays) switch { case val == 0 && n.NewerNoncurrentVersions == 0: // both fields can't be zero
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Dec 14 17:41:44 UTC 2021 - 5.3K bytes - Viewed (0) -
internal/bucket/lifecycle/transition_test.go
}, } for i, tc := range trTests { var tr Transition err := xml.Unmarshal([]byte(tc.input), &tr) if err != nil { t.Fatalf("%d: xml unmarshal failed with %v", i+1, err) } if err = tr.Validate(); err != tc.err { t.Fatalf("%d: Invalid transition %v: err %v", i+1, tr, err) } } ntrTests := []struct { input string err error }{ { input: `<NoncurrentVersionTransition>
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 01 18:58:17 UTC 2021 - 2.3K bytes - Viewed (0) -
internal/bucket/replication/sourceselectioncriteria.go
func (s SourceSelectionCriteria) IsValid() bool { return s.ReplicaModifications.Status == Enabled || s.ReplicaModifications.Status == Disabled } // Validate source selection criteria func (s SourceSelectionCriteria) Validate() error { if (s == SourceSelectionCriteria{}) { return nil } if !s.IsValid() { return errInvalidSourceSelectionCriteria } return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.5K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py
} }, }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 8.9K bytes - Viewed (0) -
internal/event/config.go
return &ErrUnsupportedConfiguration{} } *conf = Config(parsedConfig) return nil } // Validate - checks whether config has valid values or not. func (conf Config) Validate(region string, targetList *TargetList) error { for _, queue := range conf.QueueList { if err := queue.Validate(region, targetList); err != nil { return err } } return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 8.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/repository-with-basedir-expression.xml
<modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.maven.validation</groupId> <artifactId>parent</artifactId> <version>1</version> </parent> <groupId>org.apache.maven.validation</groupId> <artifactId>project</artifactId> <version>1.0.0-SNAPSHOT</version> <repositories> <repository> <id>repo</id>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
} @Test void populatePropertiesCanContainEqualsSign() throws Exception { // Arrange CliRequest request = new CliRequest(new String[] {"-Dw=x=y", "validate"}, null); // Act cli.cli(request); cli.properties(request); // Assert assertThat(request.getUserProperties().getProperty("w"), is("x=y")); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial012.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java
form.crudMode = CrudMode.CREATE; }); }); } @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, this::asListHtml); final String id = form.id; relatedQueryService.getRelatedQuery(id).ifPresent(entity -> { copyBeanToBean(entity, form, copyOp -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 14.1K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.27.md
- `StatefulSet` names must be DNS labels, rather than subdomains. Any `StatefulSet` which took advantage of subdomain validation (by having dots in the name) can't possibly have worked, because we eventually set `pod.spec.hostname` from the `StatefulSetName`, and that is validated as a DNS label. ([#114172](https://github.com/kubernetes/kubernetes/pull/114172), [@thockin](https://github.com/thockin))
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Wed Jul 17 07:48:22 UTC 2024 - 466.3K bytes - Viewed (1)