Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Demers (0.17 sec)

  1. cmd/iam.go

    // needed. No error if user(s) already are in the group.
    func (sys *IAMSys) AddUsersToGroup(ctx context.Context, group string, members []string) (updatedAt time.Time, err error) {
    	if !sys.Initialized() {
    		return updatedAt, errServerNotInitialized
    	}
    
    	updatedAt, err = sys.store.AddUsersToGroup(ctx, group, members)
    	if err != nil {
    		return updatedAt, err
    	}
    
    	sys.notifyForGroup(ctx, group)
    	return updatedAt, nil
    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)
  2. cmd/listen-notification-handlers.go

    					continue
    				}
    				mergeCh <- append(grid.GetByteBuffer()[:0], buf.Bytes()...)
    			case <-ctx.Done():
    				grid.PutByteBuffer(buf.Bytes())
    				return
    			}
    		}
    	}()
    	peers, _ := newPeerRestClients(globalEndpoints)
    	err := globalHTTPListen.Subscribe(mask, localCh, ctx.Done(), func(ev event.Event) bool {
    		if ev.S3.Bucket.Name != "" && bucketName != "" {
    			if ev.S3.Bucket.Name != bucketName {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. cmd/tier-handlers.go

    	case storageclass.STANDARD, storageclass.RRS:
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errTierReservedName), r.URL)
    		return
    	}
    
    	// Refresh from the disk in case we had missed notifications about edits from peers.
    	if err := globalTierConfigMgr.Reload(ctx, objAPI); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	err = globalTierConfigMgr.Add(ctx, cfg, ignoreInUse)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 19:52:44 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. internal/s3select/sql/value.go

    	case []Value:
    		_, ok = b.value.([]Value)
    	default:
    		ok = reflect.TypeOf(v.value) == reflect.TypeOf(b.value)
    	}
    	return ok
    }
    
    // ToBool returns the bool value; second return value refers to if the bool
    // conversion succeeded.
    func (v Value) ToBool() (val bool, ok bool) {
    	val, ok = v.value.(bool)
    	return
    }
    
    // ToTimestamp returns the timestamp value if present.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    	// yet set any policy
    	uClient := s.getUserClient(c, accessKey, secretKey, "")
    	c.mustNotListObjects(ctx, uClient, bucket)
    
    	err = s.adm.UpdateGroupMembers(ctx, madmin.GroupAddRemove{
    		Group:   "test-group",
    		Members: []string{accessKey},
    	})
    	if err != nil {
    		c.Fatalf("unable to add user to group: %v", err)
    	}
    
    	err = s.adm.SetPolicy(ctx, policy, "test-group", true)
    	if err != nil {
    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)
  6. cmd/object-handlers.go

    		return defaultMeta, nil
    	}
    
    	// Copy is default behavior if not x-amz-metadata-directive is set.
    	return defaultMeta, nil
    }
    
    // getRemoteInstanceTransport contains a roundtripper for external (not peers) servers
    var remoteInstanceTransport atomic.Value
    
    func setRemoteInstanceTransport(tr http.RoundTripper) {
    	remoteInstanceTransport.Store(tr)
    }
    
    func getRemoteInstanceTransport() http.RoundTripper {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  7. cmd/site-replication.go

    		})
    	}
    	if err != nil {
    		return errSRServiceAccount(fmt.Errorf("unable to create service account on %s: %v", ourName, err))
    	}
    
    	peers := make(map[string]madmin.PeerInfo, len(arg.Peers))
    	for dID, pi := range arg.Peers {
    		if c.state.Peers != nil {
    			if existingPeer, ok := c.state.Peers[dID]; ok {
    				// retain existing ReplicateILMExpiry of peer if its already set
    				// and incoming arg has it false. it could be default false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  8. cmd/net.go

    	host, err := xnet.ParseHost(serverAddr)
    	if err != nil {
    		return config.ErrInvalidAddressFlag(err)
    	}
    
    	// 0.0.0.0 is a wildcard address and refers to local network
    	// addresses. I.e, 0.0.0.0:9000 like ":9000" refers to port
    	// 9000 on localhost.
    	if host.Name != "" && host.Name != net.IPv4zero.String() && host.Name != net.IPv6zero.String() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. cmd/metacache-entries.go

    		}
    		return other, other.isDir() == e.isDir()
    	}
    	eVers, eErr := e.xlmeta()
    	oVers, oErr := other.xlmeta()
    	if eErr != nil || oErr != nil {
    		return nil, false
    	}
    
    	// check both fileInfo's have same number of versions, if not skip
    	// the `other` entry.
    	if len(eVers.versions) != len(oVers.versions) {
    		eTime := eVers.latestModtime()
    		oTime := oVers.latestModtime()
    		if !eTime.Equal(oTime) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. cmd/peer-rest-client.go

    	_, err = loadSvcActRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTUser: accessKey,
    	}))
    	return err
    }
    
    // LoadGroup - send load group command to peers.
    func (client *peerRESTClient) LoadGroup(group string) error {
    	_, err := loadGroupRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTGroup: group,
    	}))
    	return err
    }
    
    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