Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 518 for and (0.51 sec)

  1. internal/bucket/lifecycle/and.go

    package lifecycle
    
    import (
    	"encoding/xml"
    )
    
    var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed")
    
    // And - a tag to combine a prefix and multiple tags for lifecycle configuration rule.
    type And struct {
    	XMLName               xml.Name `xml:"And"`
    	ObjectSizeGreaterThan int64    `xml:"ObjectSizeGreaterThan,omitempty"`
    	ObjectSizeLessThan    int64    `xml:"ObjectSizeLessThan,omitempty"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. internal/crypto/sse-kms.go

    	}
    	if _, ok := h[xhttp.AmzServerSideEncryption]; ok {
    		// Return only true if the SSE header is specified and does not contain the SSE-S3 value
    		return strings.ToUpper(h.Get(xhttp.AmzServerSideEncryption)) != xhttp.AmzEncryptionAES
    	}
    	return false
    }
    
    // ParseHTTP parses the SSE-KMS headers and returns the SSE-KMS key ID
    // and the KMS context on success.
    func (ssekms) ParseHTTP(h http.Header) (string, kms.Context, error) {
    	if h == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  3. docs/site-replication/README.md

    - Creation and deletion of buckets and objects
    - Creation and deletion of all IAM users, groups, policies and their mappings to users or groups
    - Creation of STS credentials
    - Creation and deletion of service accounts (except those owned by the root user)
    - Changes to Bucket features such as:
      - Bucket Policies
      - Bucket Tags
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_test.go

    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_64_KB_AND_256_KB": 2,
    				"BETWEEN_1024B_AND_1_MB":   2,
    			},
    		},
    		{
    			sizes: []int64{100, 1000, 2000, 100_000, 13 * humanize.MiByte},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_1024_B_AND_64_KB": 1,
    				"BETWEEN_64_KB_AND_256_KB": 1,
    				"BETWEEN_1024B_AND_1_MB":   2,
    				"BETWEEN_10_MB_AND_64_MB":  1,
    			},
    		},
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. internal/kms/kms.go

    	// a default key.
    	DefaultKey string
    
    	// Details provides more details about the KMS endpoint status.
    	// including uptime, version and available CPUs.
    	// Could be more in future.
    	Details kes.State
    }
    
    // DEK is a data encryption key. It consists of a
    // plaintext-ciphertext pair and the ID of the key
    // used to generate the ciphertext.
    //
    // The plaintext can be used for cryptographic
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. cmd/tier-sweeper.go

    // corresponding tier deletion journal entry and true. Otherwise returns empty
    // jentry value and false.
    func (os *objSweeper) shouldRemoveRemoteObject() (jentry, bool) {
    	if os.TransitionStatus != lifecycle.TransitionComplete {
    		return jentry{}, false
    	}
    
    	// 1. If bucket versioning is disabled, remove the remote object.
    	// 2. If bucket versioning is suspended and
    	//    a. version id is specified, remove its remote object.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. cmd/encryption-v1.go

    	}
    
    	// As per AWS S3 Spec, ETag for SSE-C encrypted objects need not be MD5Sum of the data.
    	// Since server side copy with same source and dest just replaces the ETag, we save
    	// encrypted content MD5Sum as ETag for both SSE-C and SSE-KMS, we standardize the ETag
    	// encryption across SSE-C and SSE-KMS, and only return last 32 bytes for SSE-C
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  8. cmd/bucket-object-lock.go

    // for requests with WORM headers
    // See https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-managing.html for the spec.
    // For non-existing objects with object retention headers set, this method returns ErrNone if bucket has
    // locking enabled and user has requisite permissions (s3:PutObjectRetention)
    // If object exists on object store and site wide WORM enabled - this method
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. cmd/os_unix.go

    //
    // osMkdirAll creates a directory named path,
    // along with any necessary parents, and returns nil,
    // or else returns an error.
    // The permission bits perm (before umask) are used for all
    // directories that MkdirAll creates.
    // If path is already a directory, MkdirAll does nothing
    // and returns nil.
    func osMkdirAll(dirPath string, perm os.FileMode, baseDir string) error {
    	if baseDir != "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. cmd/object-api-listobjects_test.go

    		},
    		// ListObjectsResult-7.
    		// Used for Asserting prefixes and truncation.
    		// Used for test case with prefix = "new" and maxKeys = 1, (testCase 31).
    		7: {
    			IsTruncated: true,
    			Objects: []ObjectInfo{
    				{Name: "newPrefix0"},
    			},
    		},
    		// ListObjectsResult-8.
    		// Used for Asserting prefixes.
    		// Used for test case with prefix = "obj" and maxKeys = 2, (testCase 32).
    		8: {
    			IsTruncated: true,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top