Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for LoadServiceAccount (0.96 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 Apr 28 19:28:10 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  3. cmd/iam.go

    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	return sys.store.UserNotificationHandler(ctx, accessKey, userType)
    }
    
    // LoadServiceAccount - reloads a specific service account from backend disks or etcd.
    func (sys *IAMSys) LoadServiceAccount(ctx context.Context, accessKey string) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. cmd/peer-rest-server.go

    	}
    
    	accessKey := mss.Get(peerRESTUser)
    	if accessKey == "" {
    		return np, grid.NewRemoteErr(errors.New("service account name is missing"))
    	}
    
    	if err := globalIAMSys.LoadServiceAccount(context.Background(), accessKey); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    // DeleteUserHandler - deletes a user on the server.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
Back to top