- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 209 for validate (0.22 sec)
-
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 -
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
istioctl/pkg/validate/validate_test.go
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Jul 25 08:08:36 GMT 2023 - 21.5K bytes - Viewed (0) -
internal/bucket/replication/rule.go
} return "" } // Validate - validates the rule element func (r Rule) Validate(bucket string, sameTarget bool) error { if err := r.validateID(); err != nil { return err } if err := r.validateStatus(); err != nil { return err } if err := r.validateFilter(); err != nil { return err } if err := r.DeleteMarkerReplication.Validate(); err != nil { return err }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Jan 24 23:22:20 GMT 2022 - 8.3K 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 }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Nov 22 18:51:46 GMT 2023 - 6.3K bytes - Viewed (0) -
internal/bucket/replication/and.go
// isEmpty returns true if Tags field is null func (a And) isEmpty() bool { return len(a.Tags) == 0 && a.Prefix == "" } // Validate - validates the And field func (a And) Validate() error { if a.ContainsDuplicateTag() { return errDuplicateTagKey } for _, t := range a.Tags { if err := t.Validate(); err != nil { return err } } return nil }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.8K bytes - Viewed (0) -
internal/config/notify/legacy.go
) // SetNotifyKafka - helper for config migration from older config. func SetNotifyKafka(s config.Config, name string, cfg target.KafkaArgs) error { if !cfg.Enable { return nil } if err := cfg.Validate(); err != nil { return err } s[config.NotifyKafkaSubSys][name] = config.KVS{ config.KV{ Key: config.Enable, Value: config.EnableOn, }, config.KV{ Key: target.KafkaBrokers,
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Mar 19 04:37:54 GMT 2024 - 13.1K bytes - Viewed (0) -
cmd/batch-handlers.go
} return madmin.BatchJobType("unknown") } // Validate validates the current job, used by 'save()' before // persisting the job request func (j BatchJobRequest) Validate(ctx context.Context, o ObjectLayer) error { switch { case j.Replicate != nil: return j.Replicate.Validate(ctx, j, o) case j.KeyRotate != nil: return j.KeyRotate.Validate(ctx, j, o) case j.Expire != nil:
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Apr 08 14:11:38 GMT 2024 - 55.2K bytes - Viewed (0) -
internal/config/policy/plugin/config.go
AuthToken string `json:"authToken"` Transport http.RoundTripper `json:"-"` CloseRespFn func(r io.ReadCloser) `json:"-"` } // Validate - validate opa configuration params. func (a *Args) Validate() error { req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte(""))) if err != nil { return err } req.Header.Set("Content-Type", "application/json")
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Sep 14 21:50:16 GMT 2023 - 5.8K 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 {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 01 21:53:26 GMT 2024 - 7.9K bytes - Viewed (0) -
internal/bucket/replication/filter.go
return e.EncodeToken(xml.EndElement{Name: start.Name}) } // Validate - validates the filter element func (f Filter) Validate() error { // A Filter must have exactly one of Prefix, Tag, or And specified. if !f.And.isEmpty() { if f.Prefix != "" { return errInvalidFilter } if !f.Tag.IsEmpty() { return errInvalidFilter } if err := f.And.Validate(); err != nil { return err } } if f.Prefix != "" {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Sep 28 18:25:46 GMT 2022 - 3.5K bytes - Viewed (2)