Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,807 for toObject (0.1 sec)

  1. cmd/batch-expire_test.go

          purge:
              # retainVersions: 0 # (default) delete all versions of the object. This option is the fastest.
              # retainVersions: 5 # keep the latest 5 versions of the object.
      
        - type: deleted # objects with delete marker as their latest version
          name: NAME # match object names that satisfy the wildcard expression.
          olderThan: 10h # match objects older than this value (e.g. 7d10h31s)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. internal/s3select/jstream/decoder.go

    		var i interface{}
    		var err error
    		if d.objectAsKVS {
    			i, err = d.objectOrdered()
    		} else {
    			i, err = d.object()
    		}
    		return i, Object, err
    	default:
    		return nil, Unknown, d.mkError(ErrSyntax, "looking for beginning of value")
    	}
    }
    
    // string called by `any` or `object`(for map keys) after reading `"`
    func (d *Decoder) string() (string, error) {
    	d.scratch.reset()
    	c := d.next()
    
    scan:
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. internal/crypto/sse.go

    }
    
    // unsealObjectKey decrypts and returns the sealed object key
    // from the metadata using the SSE-C client key.
    func unsealObjectKey(clientKey []byte, metadata map[string]string, bucket, object string) (key ObjectKey, err error) {
    	sealedKey, err := SSEC.ParseMetadata(metadata)
    	if err != nil {
    		return
    	}
    	err = key.Unseal(clientKey, sealedKey, SSEC.String(), bucket, object)
    	return
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. cmd/api-response_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    	"testing"
    )
    
    // Tests object location.
    func TestObjectLocation(t *testing.T) {
    	testCases := []struct {
    		request          *http.Request
    		bucket, object   string
    		domains          []string
    		expectedLocation string
    	}{
    		// Server binding to localhost IP with https.
    		{
    			request: &http.Request{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  5. docs/erasure/storage-class/README.md

    ```go
    s3Client, err := minio.New("localhost:9000", "YOUR-ACCESSKEYID", "YOUR-SECRETACCESSKEY", true)
    if err != nil {
     log.Fatalln(err)
    }
    
    object, err := os.Open("my-testfile")
    if err != nil {
     log.Fatalln(err)
    }
    defer object.Close()
    objectStat, err := object.Stat()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. docs/bucket/lifecycle/README.md

    This will only work with a versioned bucket, take a look at [Bucket Versioning Guide](https://min.io/docs/minio/linux/administration/object-management/object-versioning.html) for more understanding.
    
    ### 3.1 Automatic removal of non current objects versions
    
    A non-current object version is a version which is not the latest for a given object. It is possible to set up an automatic removal of non-current versions when a version becomes older than a given number of days.
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jul 09 01:45:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. cmd/acl-handlers.go

    	ctx := newContext(r, w, "PutObjectACL")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    	object, err := unescapePath(vars["object"])
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. cmd/mrf.go

    				// No MRF needed for temporary objects
    				if wildcard.Match("buckets/*/.metacache/*", u.Object) {
    					continue
    				}
    				if wildcard.Match("tmp/*", u.Object) {
    					continue
    				}
    				if wildcard.Match("multipart/*", u.Object) {
    					continue
    				}
    				if wildcard.Match("tmp-old/*", u.Object) {
    					continue
    				}
    			}
    
    			now := time.Now()
    			if now.Sub(u.Queued) < time.Second {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle_test.go

    		}
    		oi := fi.ToObjectInfo("bucket", "object", false)
    		if got := oi.IsRemote(); got != tc.remote {
    			t.Fatalf("Test %d.b: expected %v got %v", i+1, tc.remote, got)
    		}
    	}
    	// Reset transition status; An object that's not transitioned is not remote.
    	fi.TransitionStatus = ""
    	fi.Metadata = nil
    	if got := fi.IsRemote(); got != false {
    		t.Fatalf("Expected object not to be remote but got %v", got)
    	}
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  10. internal/bucket/object/lock/lock_test.go

    				"x-amz-object-lock-legal-hold":        "on",
    				"x-amz-object-lock-mode":              "governance",
    				"x-amz-object-lock-retain-until-date": "2020-02-01",
    			},
    			expected:        map[string]string{},
    			filterRetention: true,
    			filterLegalHold: true,
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold":        "on",
    				"x-amz-object-lock-mode":              "governance",
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top