Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for getPolicy (0.1 sec)

  1. cmd/admin-handlers-users.go

    	// Version in policy must not be empty
    	if iamPolicy.Version == "" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrPolicyInvalidVersion), r.URL)
    		return
    	}
    
    	updatedAt, err := globalIAMSys.SetPolicy(ctx, policyName, *iamPolicy)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// Call cluster-replication policy creation hook to replicate policy to
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	expectedPolicy, err := policy.ParseBucketPolicyConfig(strings.NewReader(bucketPolicyStr), bucketName)
    	c.Assert(err, nil)
    	gotPolicy, err := policy.ParseBucketPolicyConfig(bytes.NewReader(bucketPolicyReadBuf), bucketName)
    	c.Assert(err, nil)
    	c.Assert(reflect.DeepEqual(expectedPolicy, gotPolicy), true)
    
    	// Delete policy.
    	request, err = newTestSignedRequest(http.MethodDelete, getDeletePolicyURL(s.endPoint, bucketName), 0, nil,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  3. okhttp/api/okhttp.api

    	public final fun connectionCount ()I
    	public final fun evictAll ()V
    	public final fun idleConnectionCount ()I
    	public final fun setPolicy (Lokhttp3/Address;Lokhttp3/ConnectionPool$AddressPolicy;)V
    }
    
    public final class okhttp3/ConnectionPool$AddressPolicy {
    	public final field backoffDelayMillis J
    	public final field backoffJitterMillis I
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    			return nil
    		}
    	}
    	if p == nil {
    		err = globalIAMSys.DeletePolicy(ctx, policyName, true)
    	} else {
    		_, err = globalIAMSys.SetPolicy(ctx, policyName, *p)
    	}
    	if err != nil {
    		return wrapSRErr(err)
    	}
    	return nil
    }
    
    // PeerIAMUserChangeHandler - copies IAM user to local.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top