Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for given (0.15 sec)

  1. cmd/iam.go

    // policies applicable to the STS credential are associated with this "virtual"
    // parent.
    //
    // When a policyName is given to this function, the policy association is
    // created and stored in the IAM store. Thus, it should NOT be given for the
    // role-arn case (because the role-to-policy mapping is separately stored
    // elsewhere), the AssumeRole case (because the parent user is real and their
    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/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAdminConfigIDPCfgNameAlreadyExists: {
    		Code:           "XMinioAdminConfigIDPCfgNameAlreadyExists",
    		Description:    "An IDP configuration with the given name already exists",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAdminConfigIDPCfgNameDoesNotExist: {
    		Code:           "XMinioAdminConfigIDPCfgNameDoesNotExist",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. cmd/erasure-server-pool.go

    			s3Peer:           NewS3PeerSys(endpointServerPools),
    			distributionAlgo: formatErasureVersionV3DistributionAlgoV3,
    		}
    	)
    
    	// Maximum number of reusable buffers per node at any given point in time.
    	n := uint64(1024) // single node single/multiple drives set this to 1024 entries
    
    	if globalIsDistErasure {
    		n = 2048
    	}
    
    	// Avoid allocating more than half of the available memory
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    		},
    		// listMultipartResults - 23.
    		// Testing for listing of 3 uploadID's for a given object
    		// setting `prefix` to be "orange".
    		// Will be used to list on bucketNames[1].
    		{
    			MaxUploads:  10,
    			IsTruncated: false,
    			Prefix:      "orange",
    		},
    		// listMultipartResults - 24.
    		// Testing for listing of 3 uploadID's for a given object.
    		// setting `prefix` to be "Asia".
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    	}
    	testApps := testClientApps
    
    	rolePolicies := []string{
    		"", // Treated as claim-based provider as no role policy is given.
    		"", // Treated as claim-based provider as no role policy is given.
    	}
    
    	for i, testCase := range iamTestSuites {
    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.ServerTypeDescription),
    			func(t *testing.T) {
    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/erasure-object.go

    	}
    
    	// Calculate endOffset according to length
    	endOffset := startOffset
    	if length > 0 {
    		endOffset += length - 1
    	}
    
    	// Get last part index to read given length.
    	lastPartIndex, _, err := fi.ObjectToPartOffset(ctx, endOffset)
    	if err != nil {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	var totalBytesRead int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  7. cmd/test-utils_test.go

    	// Save signature finally.
    	req.URL.RawQuery += "&Signature=" + url.QueryEscape(signature)
    	return nil
    }
    
    // Sign given request using Signature V2.
    func signRequestV2(req *http.Request, accessKey, secretKey string) error {
    	signer.SignV2(*req, accessKey, secretKey, false)
    	return nil
    }
    
    // Sign given request using Signature V4.
    func signRequestV4(req *http.Request, accessKey, secretKey string) error {
    	// Get hashed payload.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    	cache.removeGroupFromMembershipsMap(group)
    	cache.updateGroupMembershipsMap(group, &gi)
    	cache.updatedAt = time.Now()
    	return nil
    }
    
    // PolicyDBGet - fetches policies associated with the given user or group, and
    // additional groups if provided.
    func (store *IAMStoreSys) PolicyDBGet(name string, groups ...string) ([]string, error) {
    	if name == "" {
    		return nil, errInvalidArgument
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  9. cmd/xl-storage.go

    	immediatePurge chan string
    
    	// mutex to prevent concurrent read operations overloading walks.
    	rotational bool
    	walkMu     *sync.Mutex
    	walkReadMu *sync.Mutex
    }
    
    // checkPathLength - returns error if given path name length more than 255
    func checkPathLength(pathName string) error {
    	// Apple OS X path length is limited to 1016
    	if runtime.GOOS == "darwin" && len(pathName) > 1016 {
    		return errFileNameTooLong
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. cmd/peer-rest-server.go

    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		atomic.AddUint64(&globalNetPerfRX.RX, uint64(n))
    		if err != nil && err != io.EOF {
    			// If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec)
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    			if time.Since(connectTime) < (globalNetPerfMinDuration - time.Second) {
    				peersLogIf(ctx, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
Back to top