Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Hafner (0.24 sec)

  1. cmd/site-replication.go

    	var err error
    	// skip overwrite of local update if peer sent stale info
    	if !updatedAt.IsZero() {
    		if p, err := globalIAMSys.store.GetPolicyDoc(policyName); err == nil && p.UpdateDate.After(updatedAt) {
    			return nil
    		}
    	}
    	if p == nil {
    		err = globalIAMSys.DeletePolicy(ctx, policyName, true)
    	} else {
    		_, err = globalIAMSys.SetPolicy(ctx, policyName, *p)
    	}
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  2. cmd/bucket-replication.go

    		opType:             op,
    		replicationRequest: opts.ReplicationRequest,
    	}
    }
    
    // mustReplicate returns 2 booleans - true if object meets replication criteria and true if replication is to be done in
    // a synchronous manner.
    func mustReplicate(ctx context.Context, bucket, object string, mopts mustReplicateOptions) (dsc ReplicateDecision) {
    	// object layer not initialized we return with no decision.
    	if newObjectLayerFn() == nil {
    		return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  3. cmd/server_test.go

    	}{
    		// request for byte range 10-11.
    		// expecting the result to contain only putContent[10:12] bytes.
    		{"10-11", putContent[10:12]},
    		// request for object data after the first byte.
    		{"1-", putContent[1:]},
    		// request for object data after the first byte.
    		{"6-", putContent[6:]},
    		// request for last 2 bytes of the object.
    		{"-2", putContent[len(putContent)-2:]},
    		// request for last 7 bytes of the object.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top