- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 648 for region (0.08 sec)
-
cmd/signature-v4-parser.go
} cred.scope.region = credElements[1] // Verify if region is valid. sRegion := cred.scope.region // Region is set to be empty, we use whatever was sent by the // request and proceed further. This is a work-around to address // an important problem for ListBuckets() getting signed with // different regions. if region == "" { region = sRegion }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/config-current_test.go
if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil { t.Fatalf("Init Test config failed") } if globalSite.Region() != globalMinioDefaultRegion { t.Errorf("Expecting region `us-east-1` found %s", globalSite.Region()) } // Set new region and verify. config.SetRegion(globalServerConfig, "us-west-1") site, err := config.LookupSite( globalServerConfig[config.SiteSubSys][config.Default],
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 2K bytes - Viewed (0) -
tests/associations_test.go
} if err := DB.Migrator().DropTable(&Organization{}, &Region{}); err != nil { t.Fatalf("Failed to migrate, got error: %s", err) } if err := DB.AutoMigrate(&Organization{}, &Region{}); err != nil { t.Fatalf("Failed to migrate, got error: %v", err) } region := &Region{Name: "Region1"} if err := DB.Create(region).Error; err != nil { t.Fatalf("fail to create region %v", err) } var orgs []Organization
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
cmd/signature-v4_test.go
now := UTCNow() credentialTemplate := "%s/%s/%s/s3/aws4_request" region := globalSite.Region() accessKeyID := globalActiveCred.AccessKey testCases := []struct { queryParams map[string]string headers map[string]string region string expected APIErrorCode }{ // (0) Should error without a set URL query. { region: globalMinioDefaultRegion, expected: ErrInvalidQueryParams, },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 10.5K bytes - Viewed (0) -
cmd/server-startup-msg.go
} return newAPIEndpoints } // Prints common server startup message. Prints credential, region and browser access. func printServerCommonMsg(apiEndpoints []string) { // Get saved credentials. cred := globalActiveCred // Get saved region. region := globalSite.Region() apiEndpointStr := strings.TrimSpace(strings.Join(apiEndpoints, " ")) // Colorize the message and print.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 23 14:11:35 UTC 2024 - 6.2K bytes - Viewed (0) -
cmd/signature-v4.go
// returns ErrNone if the signature matches. func doesPolicySignatureV4Match(formValues http.Header) (auth.Credentials, APIErrorCode) { // Server region. region := globalSite.Region() // Parse credential tag. credHeader, s3Err := parseCredentialHeader("Credential="+formValues.Get(xhttp.AmzCredential), region, serviceS3) if s3Err != ErrNone { return auth.Credentials{}, s3Err } r := &http.Request{Header: formValues}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 12.4K bytes - Viewed (0) -
internal/event/config.go
} // Validate - checks whether queue has valid values or not. func (q Queue) Validate(region string, targetList *TargetList) error { if q.ARN.region == "" { if !targetList.Exists(q.ARN.TargetID) { return &ErrARNNotFound{q.ARN} } return nil } if region != "" && q.ARN.region != region { return &ErrUnknownRegion{q.ARN.region} } if !targetList.Exists(q.ARN.TargetID) { return &ErrARNNotFound{q.ARN}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 8.4K bytes - Viewed (0) -
internal/arn/arn_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 5.1K bytes - Viewed (0) -
cmd/auth-handler.go
case authTypeSigned, authTypePresigned: region := globalSite.Region() switch action { case policy.GetBucketLocationAction, policy.ListAllMyBucketsAction: region = "" } if s3Err = isReqAuthenticated(ctx, r, region, serviceS3); s3Err != ErrNone { return s3Err } cred, owner, s3Err = getReqAccessKeyV4(r, region, serviceS3) } if s3Err != ErrNone { return s3Err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 26.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java
String value = ENTITIES.get(scanner.region().toLowerCase(Locale.ROOT)); buffer.append(value); scanner.next(); } private void parseHtmlEncodedChar(StringBuilder buffer) { scanner.next(2); scanner.mark(); scanner.find(';'); String value = new String(new char[]{(char) Integer.parseInt(scanner.region())}); buffer.append(value);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 7.1K bytes - Viewed (0)