Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Earley (0.27 sec)

  1. cmd/iam.go

    	_, policy := sys.store.FilterPolicies(strings.Join(policies, ","), "")
    	return policy
    }
    
    // doesPolicyAllow - checks if the given policy allows the passed action with given args. This is rarely needed.
    // Notice there is no account name involved, so this is a dangerous function.
    func (sys *IAMSys) doesPolicyAllow(policy string, args policy.Args) bool {
    	// Policies were found, evaluate all of them.
    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/iam-store.go

    		d.CreateDate = now
    	}
    	d.Policy = p
    }
    
    // parseJSON parses both the old and the new format for storing policy
    // definitions.
    //
    // The on-disk format of policy definitions has changed (around early 12/2021)
    // from policy.Policy to PolicyDoc. To avoid a migration, loading supports
    // both the old and the new formats.
    func (d *PolicyDoc) parseJSON(data []byte) error {
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    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)
  3. cmd/admin-router.go

    		r = r.WithContext(newContext(r, w, handlerName))
    
    		defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    
    		// Check if object layer is available, if not return error early.
    		if !handlerFlags.Has(noObjLayerFlag) {
    			objectAPI := newObjectLayerFn()
    			if objectAPI == nil || globalNotificationSys == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    // algorithms completes a roundtrip. If any algorithm
    // produces an incorrect checksum it fails with a hard error.
    //
    // compressSelfTest tries to catch any issue in the compression implementation
    // early instead of silently corrupting data.
    func compressSelfTest() {
    	// 4 MB block.
    	// Approx runtime ~30ms
    	data := make([]byte, 4<<20)
    	rng := rand.New(rand.NewSource(0))
    	for i := range data {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  5. cmd/bucket-replication.go

    			EventName: event.ObjectReplicationNotTracked,
    		})
    		if dobj.VersionID == "" {
    			rinfo.ReplicationStatus = replication.Failed
    		} else {
    			rinfo.VersionPurgeStatus = Failed
    		}
    		return
    	}
    	// early return if already replicated delete marker for existing object replication/ healing delete markers
    	if dobj.DeleteMarkerVersionID != "" {
    		toi, err := tgt.StatObject(ctx, tgt.Bucket, dobj.ObjectName, minio.StatObjectOptions{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. cmd/test-utils_test.go

    	req, err := newTestRequest(method, urlStr, contentLength, body)
    	if err != nil {
    		return nil, err
    	}
    
    	// Anonymous request return early.
    	if accessKey == "" || secretKey == "" {
    		return req, nil
    	}
    
    	if signer == signerV2 {
    		err = signRequestV2(req, accessKey, secretKey)
    		req.Header.Del("x-amz-content-sha256")
    	} else {
    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)
  7. cmd/routers.go

    var globalMiddlewares = []mux.MiddlewareFunc{
    	// set x-amz-request-id header and others
    	addCustomHeadersMiddleware,
    	// The generic tracer needs to be the first middleware to catch all requests
    	// returned early by any other middleware (but after the middleware that
    	// sets the amz request id).
    	httpTracerMiddleware,
    	// Auth middleware verifies incoming authorization headers and routes them
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  8. cmd/xl-storage-format-v2.go

    		return errDoneForNow
    	})
    	return isDeleteMarker
    }
    
    // AllHidden returns true are no versions that would show up in a listing (ie all free markers)
    // Optionally also return early if top is a delete marker.
    func (x xlMetaBuf) AllHidden(topDeleteMarker bool) bool {
    	vers, headerV, _, buf, err := decodeXLHeaders(x)
    	if err != nil {
    		return false
    	}
    	if vers == 0 {
    		return true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  9. cmd/testdata/xl-meta-merge.zip

    for more information on using the `mc` commandline tool. For application developers, see <https://min.io/docs/minio/linux/developers/minio-drivers.html> to view MinIO SDKs for supported languages. > NOTE: Standalone MinIO servers are best suited for early development and evaluation. Certain features such as versioning, object locking, and bucket replication require distributed deploying MinIO with Erasure Coding. For extended development and production, deploy MinIO with Erasure Coding enabled - specifically,...
    ZIP Archive
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  10. cmd/bucket-metadata.go

    }
    
    // migrate config for remote targets by encrypting data if currently unencrypted and kms is configured.
    func (b *BucketMetadata) migrateTargetConfig(ctx context.Context, objectAPI ObjectLayer) error {
    	var err error
    	// early return if no targets or already encrypted
    	if len(b.BucketTargetsConfigJSON) == 0 || GlobalKMS == nil || len(b.BucketTargetsConfigMetaJSON) != 0 {
    		return nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
Back to top