Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for loadGroups (0.14 sec)

  1. cmd/iam-etcd-store.go

    	return nil
    }
    
    func (ies *IAMEtcdStore) loadGroup(ctx context.Context, group string, m map[string]GroupInfo) error {
    	var gi GroupInfo
    	err := ies.loadIAMConfig(ctx, &gi, getGroupInfoPath(group))
    	if err != nil {
    		if err == errConfigNotFound {
    			return errNoSuchGroup
    		}
    		return err
    	}
    	m[group] = gi
    	return nil
    }
    
    func (ies *IAMEtcdStore) loadGroups(ctx context.Context, m map[string]GroupInfo) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. cmd/iam-object-store.go

    }
    
    func (iamOS *IAMObjectStore) loadGroup(ctx context.Context, group string, m map[string]GroupInfo) error {
    	var g GroupInfo
    	err := iamOS.loadIAMConfig(ctx, &g, getGroupInfoPath(group))
    	if err != nil {
    		if err == errConfigNotFound {
    			return errNoSuchGroup
    		}
    		return err
    	}
    	m[group] = g
    	return nil
    }
    
    func (iamOS *IAMObjectStore) loadGroups(ctx context.Context, m map[string]GroupInfo) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    	_, err = loadSvcActRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTUser: accessKey,
    	}))
    	return err
    }
    
    // LoadGroup - send load group command to peers.
    func (client *peerRESTClient) LoadGroup(ctx context.Context, group string) error {
    	_, err := loadGroupRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTGroup: group,
    	}))
    	return err
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. cmd/notification.go

    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.LoadUser(ctx, accessKey, temp)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // LoadGroup - loads a specific group on all peers.
    func (sys *NotificationSys) LoadGroup(ctx context.Context, group 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)
Back to top