- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for amount (0.28 sec)
-
cmd/peer-rest-server.go
if accessKey == "" { return np, grid.NewRemoteErr(errors.New("service account name is missing")) } if err := globalIAMSys.DeleteServiceAccount(context.Background(), accessKey, false); err != nil { return np, grid.NewRemoteErr(err) } return } // LoadServiceAccountHandler - reloads a service account on the server.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 51.8K bytes - Viewed (0) -
cmd/iam-store.go
} // AddServiceAccount - add a new service account func (store *IAMStoreSys) AddServiceAccount(ctx context.Context, cred auth.Credentials) (updatedAt time.Time, err error) { cache := store.lock() defer store.unlock() accessKey := cred.AccessKey parentUser := cred.ParentUser // Found newly requested service account, to be an existing account -
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Apr 27 10:04:10 GMT 2024 - 75.2K bytes - Viewed (2) -
cmd/iam.go
// service account should inherit parent policy. // // However, for a policy like `{"Statement":[]}`, the intention is to not // provide any permissions via the session policy - i.e. the service account // can do nothing (such a JSON could be generated by an external application // as the policy for the service account). Inheriting the parent policy in
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:28:16 GMT 2024 - 71.1K bytes - Viewed (1) -
cmd/sts-handlers_test.go
// ignored because the plugin allows it. c.mustListObjects(ctx, svcClient, bucket) } // 4. Check that service account's secret key and account status can be // updated. c.assertSvcAccSecretKeyAndStatusUpdate(ctx, s, userAdmClient, value.AccessKeyID, bucket) // 5. Check that service account can be deleted. c.assertSvcAccDeletion(ctx, s, userAdmClient, value.AccessKeyID, bucket)
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) -
cmd/api-errors.go
}, ErrAccountNotEligible: { Code: "XMinioInvalidIAMCredentials", Description: "The account key is not eligible for this operation", HTTPStatusCode: http.StatusForbidden, }, ErrAdminServiceAccountNotFound: { Code: "XMinioInvalidIAMCredentials", Description: "The specified service account is not found", HTTPStatusCode: http.StatusNotFound, }, ErrPostPolicyConditionInvalidFormat: {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 91.4K bytes - Viewed (7) -
tests/migrate_test.go
if err := DB.Migrator().CreateView("users_pets", gorm.ViewOption{Query: query}); err != nil { t.Fatalf("Failed to crate view, got %v", err) } var count int64 if err := DB.Table("users_pets").Count(&count).Error; err != nil { t.Fatalf("should found created view") } if err := DB.Migrator().DropView("users_pets"); err != nil { t.Fatalf("Failed to drop view, got %v", err) }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Mar 18 11:24:16 GMT 2024 - 56.2K bytes - Viewed (0) -
src/bufio/bufio_test.go
for i := 0; i < len(bufsizes); i++ { for j := 0; j < len(bufsizes); j++ { nwrite := bufsizes[i] bs := bufsizes[j] // Write nwrite bytes using buffer size bs. // Check that the right amount makes it out // and that the data is correct. w.Reset() buf := NewWriterSize(w, bs) context := fmt.Sprintf("nwrite=%d bufsize=%d", nwrite, bs) n, e1 := buf.Write(data[0:nwrite])
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
cmd/admin-handlers-users.go
} if globalIAMSys.GetUsersSysType() == MinIOUsersSysType && targetUser != cred.AccessKey { // For internal IDP, ensure that the targetUser's parent account exists. // It could be a regular user account or the root account. _, isRegularUser := globalIAMSys.GetUser(ctx, targetUser) if !isRegularUser && targetUser != globalActiveCred.AccessKey { apiErr := toAdminAPIErr(ctx, errNoSuchUser)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 12:41:13 GMT 2024 - 77.5K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
tests/query_test.go
} if totalBatch != 6 { t.Errorf("incorrect total batch, expects: %v, got %v", 6, totalBatch) } var count int64 DB.Model(&User{}).Where("name = ?", "find_in_batches_new").Count(&count) if count != 6 { t.Errorf("incorrect count after update, expects: %v, got %v", 6, count) } } func TestFindInBatchesWithOffsetLimit(t *testing.T) { users := []User{
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)