- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DeletePolicy (0.08 sec)
-
cmd/peer-rest-client.go
_, err := deleteBucketMetadataRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{ peerRESTBucket: bucket, })) return err } // DeletePolicy - delete a specific canned policy. func (client *peerRESTClient) DeletePolicy(ctx context.Context, policyName string) (err error) { _, err = deletePolicyRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{ peerRESTPolicy: policyName, }))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 26.1K bytes - Viewed (0) -
cmd/notification.go
time.Sleep(100*time.Millisecond + time.Duration(r.Float64()*float64(time.Second))) continue } } break } }() } // DeletePolicy - deletes policy across all peers. func (sys *NotificationSys) DeletePolicy(ctx context.Context, policyName string) []NotificationPeerErr { ng := WithNPeers(len(sys.peerClients)).WithRetries(1) for idx, client := range sys.peerClients { client := client
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 46.2K bytes - Viewed (0) -
cmd/kms-handlers_test.go
if err != nil { t.Fatal(err) } _, err = globalIAMSys.PolicyDBSet(ctx, accessKey, testKMSPolicyName, regUser, false) if err != nil { t.Fatal(err) } } else { err = globalIAMSys.DeletePolicy(ctx, testKMSPolicyName, false) if err != nil { t.Fatal(err) } _, err = globalIAMSys.PolicyDBSet(ctx, accessKey, "", regUser, false) if err != nil { t.Fatal(err) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 22.3K bytes - Viewed (0)