- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 481 for region (0.14 sec)
-
internal/event/arn.go
"strings" ) // ARN - SQS resource name representation. type ARN struct { TargetID region string } // String - returns string representation. func (arn ARN) String() string { if arn.TargetID.ID == "" && arn.TargetID.Name == "" && arn.region == "" { return "" } return "arn:minio:sqs:" + arn.region + ":" + arn.TargetID.String() } // MarshalXML - encodes to XML data.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.1K bytes - Viewed (0) -
internal/config/lambda/event/arn.go
"strings" ) // ARN - SQS resource name representation. type ARN struct { TargetID region string } // String - returns string representation. func (arn ARN) String() string { if arn.TargetID.ID == "" && arn.TargetID.Name == "" && arn.region == "" { return "" } return "arn:minio:s3-object-lambda:" + arn.region + ":" + arn.TargetID.String() } // ParseARN - parses string to ARN.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 1.6K bytes - Viewed (0) -
internal/config/config.go
return } region = regionKV.Get(RegionName) } if region != "" { if !validRegionRegex.MatchString(region) { err = Errorf( "region '%s' is invalid, expected simple characters such as [us-east-1, myregion...]", region) return } s.region = region }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 18:23:41 UTC 2024 - 37.7K bytes - Viewed (0) -
cmd/handler-utils.go
if location == "" { location = globalSite.Region() } if !isValidLocation(location) { return location, ErrInvalidRegion } return location, ErrNone } // Validates input location is same as configured region // of MinIO server. func isValidLocation(location string) bool { region := globalSite.Region() return region == "" || region == location }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.5K bytes - Viewed (0) -
cmd/event-notification.go
arns = append(arns, targetID.ToARN(region).String()) } } return arns } // Loads notification policies for all buckets into EventNotifier. func (evnot *EventNotifier) set(bucket string, meta BucketMetadata) { config := meta.notificationConfig if config == nil { return } region := globalSite.Region() config.SetRegion(region) if err := config.Validate(region, globalEventNotifier.targetList); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 7.7K bytes - Viewed (0) -
internal/arn/arn.go
Partition: arnPartitionMinio, Service: arnServiceIAM, Region: serverRegion, ResourceType: arnResourceTypeRole, ResourceID: resourceID, }, nil } // String - returns string representation of the ARN. func (arn ARN) String() string { return strings.Join( []string{ arnPrefixArn, arn.Partition, arn.Service, arn.Region, "", // account-id is always empty in this implementation
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 3.5K bytes - Viewed (0) -
internal/config/lambda/event/errors.go
package event import ( "fmt" ) // ErrUnknownRegion - unknown region error. type ErrUnknownRegion struct { Region string } func (err ErrUnknownRegion) Error() string { return fmt.Sprintf("unknown region '%v'", err.Region) } // ErrARNNotFound - ARN not found error. type ErrARNNotFound struct { ARN ARN }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 1.3K bytes - Viewed (0) -
cmd/api-headers.go
// Set the "Server" http header. w.Header().Set(xhttp.ServerInfo, MinioStoreName) // Set `x-amz-bucket-region` only if region is set on the server // by default minio uses an empty region. if region := globalSite.Region(); region != "" { w.Header().Set(xhttp.AmzBucketRegion, region) } w.Header().Set(xhttp.AcceptRanges, "bytes") // Remove sensitive information crypto.RemoveSensitiveHeaders(w.Header()) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 28 04:44:00 UTC 2024 - 7K bytes - Viewed (0) -
cmd/bucket-notification-handlers.go
} config, err := globalBucketMetadataSys.GetNotificationConfig(bucketName) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } region := globalSite.Region() config.SetRegion(region) if err = config.Validate(region, globalEventNotifier.targetList); err != nil { arnErr, ok := err.(*event.ErrARNNotFound) if ok { for i, queue := range config.QueueList {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.1K bytes - Viewed (0) -
cmd/perf-tests.go
if !globalAPIConfig.permitRootAccess() { region := globalSite.Region() if region == "" { region = "us-east-1" } clnt, err = minio.New(globalLocalNodeName, &minio.Options{ Creds: credentials.NewStaticV4(opts.creds.AccessKey, opts.creds.SecretKey, opts.creds.SessionToken), Secure: globalIsTLS, Transport: globalRemoteTargetTransport, Region: region, }) if err != nil { return res, err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0)