Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Clulow (0.16 sec)

  1. cmd/bucket-policy-handlers_test.go

    bucketPolicyTemplate := `{"Version":"2012-10-17","Statement":[{"Sid":"","Effect":"Allow","Principal":{"AWS":["*"]},"Action":["s3:GetBucketLocation","s3:ListBucket"],"Resource":["arn:aws:s3:::%s"]},{"Sid":"","Effect":"Allow","Principal":{"AWS":["*"]},"Action":["s3:GetObject"],"Resource":["arn:aws:s3:::%s/this*"]}]}`
    
    	bucketPolicyTemplateWithoutVersion := `{"Version":"","Statement":[{"Sid":"","Effect":"Allow","Principal":{"AWS":["*"]},"Action":["s3:GetBucketLocation","s3:ListBucket"],"Re...
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users_test.go

    	// 1. Create a policy
    	policy1 := "deny-svc"
    	policy2 := "allow-svc"
    	policyBytes := []byte(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Deny",
       "Action": [
        "admin:CreateServiceAccount"
       ]
      }
     ]
    }`)
    
    	newPolicyBytes := []byte(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
       "Action": [
        "s3:ListBucket"
       ],
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  3. cmd/s3-zip-handlers.go

    				if toAPIError(ctx, err).Code == "NoSuchKey" {
    					s3Error = ErrNoSuchKey
    				}
    			}
    		}
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// We do not allow offsetting into extracted files.
    	if opts.PartNumber != 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidPartNumber), r.URL)
    		return
    	}
    
    	if r.Header.Get(xhttp.Range) != "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. cmd/generic-handlers.go

    		strings.HasPrefix(req.URL.Path, minioReservedBucketPath+SlashSeparator)
    }
    
    // Check to allow access to the reserved "bucket" `/minio` for Admin
    // API requests.
    func isAdminReq(r *http.Request) bool {
    	return strings.HasPrefix(r.URL.Path, adminPathPrefix)
    }
    
    // Check to allow access to the reserved "bucket" `/minio` for KMS
    // API requests.
    func isKMSReq(r *http.Request) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. internal/bucket/object/lock/lock.go

    	err := d.DecodeElement(&dateStr, &startElement)
    	if err != nil {
    		return err
    	}
    	// While AWS documentation mentions that the date specified
    	// must be present in ISO 8601 format, in reality they allow
    	// users to provide RFC 3339 compliant dates.
    	retDate, err := amztime.ISO8601Parse(dateStr)
    	if err != nil {
    		return ErrInvalidRetentionDate
    	}
    
    	*rDate = RetentionDate{retDate}
    	return nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  6. cmd/metacache-set.go

    			if err != nil {
    				return entries, fmt.Errorf("remote listing canceled: %w", err)
    			}
    			retries = 1
    		}
    
    		// All operations are performed without locks, so we must be careful and allow for failures.
    		// Read metadata associated with the object from a disk.
    		if retries > 0 {
    			for _, disk := range er.getDisks() {
    				if disk == nil {
    					continue
    				}
    				if !disk.IsOnline() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  7. gorm.go

    	// IgnoreRelationshipsWhenMigrating
    	IgnoreRelationshipsWhenMigrating bool
    	// DisableNestedTransaction disable nested transaction
    	DisableNestedTransaction bool
    	// AllowGlobalUpdate allow global update
    	AllowGlobalUpdate bool
    	// QueryFields executes the SQL query with all fields of the table
    	QueryFields bool
    	// CreateBatchSize default create batch size
    	CreateBatchSize int
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  8. internal/kms/kes.go

    				c.lock.Unlock()
    
    				prevCertificate = certificate
    			}
    		}
    	}()
    
    	go c.refreshKMSMasterKeyCache(logger)
    	return c, nil
    }
    
    // Request KES keep an up-to-date copy of the KMS master key to allow minio to start up even if KMS is down. The
    // cached key may still be evicted if the period of this function is longer than that of KES .cache.expiry.unused
    func (c *kesClient) refreshKMSMasterKeyCache(logger Logger) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    	// Do not need to undo partial successful operation since those will be cleaned up
    	// in 24hrs via multipart cleaner, never rename() back to `.minio.sys/tmp` as there
    	// is no way to clean them.
    
    	// We can safely allow RenameFile errors up to len(er.getDisks()) - writeQuorum
    	// otherwise return failure. Cleanup successful renames.
    	return evalDisks(disks, errs), reduceWriteQuorumErrs(ctx, errs, objectOpIgnoredErrs, writeQuorum)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    // of bytes in the combined first two elements, error).
    // The complete result is equal to
    // `bytes.Join(append(fullBuffers, finalFragment), nil)`, which has a
    // length of `totalLen`. The result is structured in this way to allow callers
    // to minimize allocations and copies.
    func (b *Reader) collectFragments(delim byte) (fullBuffers [][]byte, finalFragment []byte, totalLen int, err error) {
    	var frag []byte
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
Back to top