Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LoadServiceAccount (0.33 sec)

  1. cmd/notification.go

    				return errPeerNotReachable
    			}
    			return client.DeleteServiceAccount(accessKey)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // LoadServiceAccount - reloads a specific service account across all peers
    func (sys *NotificationSys) LoadServiceAccount(accessKey string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    		client := client
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    		peerRESTUser:     accessKey,
    		peerRESTUserTemp: strconv.FormatBool(temp),
    	}))
    	return err
    }
    
    // LoadServiceAccount - reload a specific service account.
    func (client *peerRESTClient) LoadServiceAccount(accessKey string) (err error) {
    	_, err = loadSvcActRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTUser: accessKey,
    	}))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
Back to top