- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 381 for validateID (0.08 sec)
-
internal/bucket/lifecycle/rule.go
if buf.Len() > 0 { buf.WriteString("&") } buf.WriteString(t.String()) } return buf.String() } return "" } // Validate - validates the rule element func (r Rule) Validate() error { if err := r.validateID(); err != nil { return err } if err := r.validateStatus(); err != nil { return err } if err := r.validateExpiration(); err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
# Validate all yaml files under samples/bookinfo/networking directory istioctl validate -f samples/bookinfo/networking # Validate current deployments under 'default' namespace within the cluster kubectl get deployments -o yaml | istioctl validate -f - # Validate current services under 'default' namespace within the cluster kubectl get services -o yaml | istioctl validate -f -
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 22:27:47 UTC 2024 - 14.3K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
} // ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse, // sets the bucket policy using the policy statement generated from `getReadOnlyBucketStatement` so that the // unsigned request goes through and its validated again.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 39.8K bytes - Viewed (0) -
architecture/environments/operator.md
### Validations Both the `IstioOperatorSpec` and Helm APIs are validated. The `IstioOperatorSpec` API is validated through a table of validation rules in [pkg/validate/validate.go](pkg/validate/validate.go). These rules refer to the Go struct path schema and hence have names with a capitalized first letter. The Helm values.yaml API is validated in [validate_values.go](pkg/validate/validate_values.go)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 21:11:35 UTC 2024 - 13.2K bytes - Viewed (0) -
internal/bucket/lifecycle/and.go
// isEmpty returns true if Tags field is null func (a And) isEmpty() bool { return len(a.Tags) == 0 && !a.Prefix.set && a.ObjectSizeGreaterThan == 0 && a.ObjectSizeLessThan == 0 } // Validate - validates the And field func (a And) Validate() error { // > This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. // ref: https://docs.aws.amazon.com/AmazonS3/latest/API/API_LifecycleRuleAndOperator.html
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/batch-replicate.go
} // BatchJobReplicateResourceType defines the type of batch jobs type BatchJobReplicateResourceType string // Validate validates if the replicate resource type is recognized and supported func (t BatchJobReplicateResourceType) Validate() error { switch t { case BatchJobReplicateResourceMinIO: case BatchJobReplicateResourceS3: default: return errInvalidArgument } return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 6.3K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
var exp expirationWrapper err := d.DecodeElement(&exp, &startElement) if err != nil { return err } *e = Expiration(exp) e.set = true return nil } // Validate - validates the "Expiration" element func (e Expiration) Validate() error { if !e.set { return nil } // DeleteMarker cannot be specified if date or dates are specified. if (!e.IsDaysNull() || !e.IsDateNull()) && e.DeleteMarker.set {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 6.6K bytes - Viewed (0) -
cmd/batch-job-common-types.go
var tmp retry err := val.Decode(&tmp) if err != nil { return err } *r = BatchJobRetry(tmp) r.line, r.col = val.Line, val.Column return nil } // Validate validates input replicate retries. func (r BatchJobRetry) Validate() error { if r.Attempts < 0 { return BatchJobYamlErr{ line: r.line, col: r.col, msg: "Invalid arguments specified", } } if r.Delay < 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 7.9K bytes - Viewed (0) -
cmd/batch-rotate.go
} if err := r.Encryption.Validate(); err != nil { return err } for _, tag := range r.Flags.Filter.Tags { if err := tag.Validate(); err != nil { return err } } for _, meta := range r.Flags.Filter.Metadata { if err := meta.Validate(); err != nil { return err } } return r.Flags.Retry.Validate()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 18 17:59:03 UTC 2024 - 14.7K bytes - Viewed (0) -
internal/bucket/versioning/versioning.go
// Requires versioning to be enabled ExcludedPrefixes []ExcludedPrefix `xml:",omitempty"` ExcludeFolders bool `xml:",omitempty"` } // Validate - validates the versioning configuration func (v Versioning) Validate() error { // Not supported yet // switch v.MFADelete { // case Enabled, Disabled: // default: // return Errorf("unsupported MFADelete state %s", v.MFADelete) // }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0)