- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for Cole (0.56 sec)
-
cmd/sts-handlers_test.go
suite.TearDownSuite(c) }, ) } } const ( testRoleARN = "arn:minio:iam:::role/nOybJqMNzNmroqEKq5D0EUsRZw0" testRoleARN2 = "arn:minio:iam:::role/domXb70kze7Ugc1SaxaeFchhLP4" ) var ( testRoleARNs = []string{testRoleARN, testRoleARN2} // Load test client app and test role mapping depending on test // environment.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 15:50:16 GMT 2024 - 85.7K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
} values := fmt.Sprintf(` global: istioNamespace: %s `, opt.Namespace) // Render the templates required for the service account and role bindings. baseContent, err := baseRenderer.RenderManifestFiltered(values, func(template string) bool { for _, t := range baseTemplates { if strings.Contains(template, t) { return true } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Oct 11 01:43:17 GMT 2023 - 24K bytes - Viewed (0) -
internal/bucket/replication/replication_test.go
sameTarget bool }{ { // 1 Invalid delete marker status in replication config
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Mar 28 17:44:56 GMT 2024 - 32.5K bytes - Viewed (0) -
internal/arn/arn_test.go
Region: "us-east-1", ResourceType: "role", ResourceID: "my-role", }, want: "arn:minio:iam:us-east-1::role/my-role", }, { arn: ARN{ Partition: "minio", Service: "", Region: "us-east-1", ResourceType: "role", ResourceID: "my-role", }, want: "arn:minio::us-east-1::role/my-role", }, } for _, tt := range tests {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 08:31:34 GMT 2024 - 5.1K bytes - Viewed (0) -
tests/scanner_valuer_test.go
} } type Role struct { Name string `gorm:"size:256"` } func (role *Role) Scan(value interface{}) error { if b, ok := value.([]uint8); ok { role.Name = string(b) } else { role.Name = value.(string) } return nil } func (role Role) Value() (driver.Value, error) { return role.Name, nil } func (role Role) IsAdmin() bool { return role.Name == "admin"
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Viewed (0) -
tests/query_test.go
t.Fatalf("Build OR condition, but got %v", result.Statement.SQL.String()) } result = dryDB.Where("role = ?", "admin").Where(DB.Or("role = ?", "super_admin").Or("role = ?", "admin")).Find(&User{}) if !regexp.MustCompile("SELECT \\* FROM .*users.* WHERE .*role.* = .+ AND (.*role.* = .+ OR .*role.* = .+)").MatchString(result.Statement.SQL.String()) {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Apr 25 12:22:53 GMT 2024 - 49.8K bytes - Viewed (0) -
internal/arn/arn.go
// // Reference: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html const ( arnPrefixArn = "arn" arnPartitionMinio = "minio" arnServiceIAM = "iam" arnResourceTypeRole = "role" ) // ARN - representation of resources based on AWS ARNs. type ARN struct { Partition string Service string Region string ResourceType string ResourceID string }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 08:31:34 GMT 2024 - 3.5K bytes - Viewed (0) -
src/archive/tar/reader.go
} else { // In a hole fragment nf = holeEnd - sr.pos if sr.physicalRemaining() == 0 { writeLastByte = true nf-- } _, err = ws.Seek(nf, io.SeekCurrent) } sr.pos += nf if sr.pos >= holeEnd && len(sr.sp) > 1 { sr.sp = sr.sp[1:] // Ensure last fragment always remains } } // If the last fragment is a hole, then seek to 1-byte before EOF, and
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 08 01:59:14 GMT 2024 - 26.8K bytes - Viewed (0) -
cmd/sts-handlers.go
parentClaim = "parent" // LDAP claim keys ldapUser = "ldapUser" // this is a key name for a DN value ldapUserN = "ldapUsername" // this is a key name for the short/login username // Role Claim key roleArnClaim = "roleArn" ) // stsAPIHandlers implements and provides http handlers for AWS STS API. type stsAPIHandlers struct{} // registerSTSRouter - registers AWS STS compatible APIs.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 21:31:13 GMT 2024 - 34.7K bytes - Viewed (2) -
tests/tests_test.go
// SQLCMDPASSWORD=LoremIpsum86 sqlcmd -U sa -S localhost:9930 // CREATE DATABASE gorm; // GO // CREATE LOGIN gorm WITH PASSWORD = 'LoremIpsum86'; // CREATE USER gorm FROM LOGIN gorm; // ALTER SERVER ROLE sysadmin ADD MEMBER [gorm]; // GO log.Println("testing sqlserver...") if dbDSN == "" { dbDSN = sqlserverDSN } db, err = gorm.Open(sqlserver.Open(dbDSN), cfg) case "tidb":
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Dec 15 08:36:08 GMT 2023 - 3.3K bytes - Viewed (1)