Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for obj (0.11 sec)

  1. cmd/erasure-object_test.go

    	defer cancel()
    
    	// Create an instance of xl backend.
    	obj, fsDirs, err := prepareErasure16(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// Cleanup backend directories
    	defer obj.Shutdown(context.Background())
    	defer removeRoots(fsDirs)
    
    	z := obj.(*erasureServerPools)
    	xl := z.serverPools[0].sets[0]
    
    	// Create "bucket"
    	err = obj.MakeBucket(ctx, "bucket", MakeBucketOptions{})
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  2. cmd/object_api_suite_test.go

    	for i := 6; i <= 10; i++ {
    		key := "obj" + strconv.Itoa(i)
    		_, err = obj.PutObject(context.Background(), "bucket", key, mustGetPutObjReader(t, bytes.NewBufferString(uploadContent), int64(len(uploadContent)), "", ""), opts)
    		if err != nil {
    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    		}
    		result, err = obj.ListObjects(context.Background(), "bucket", "obj", "", "", 5)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  3. cmd/post-policy_test.go

    // #16849
    func testPostPolicyReservedBucketExploit(obj ObjectLayer, instanceType string, dirs []string, t TestErrHandler) {
    	if err := newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("Initializing config.json failed")
    	}
    
    	// Register the API end points with Erasure/FS object layer.
    	apiRouter := initTestAPIEndPoints(obj, []string{"PostPolicy"})
    
    	credentials := globalActiveCred
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  4. cmd/metacache-server-pool.go

    func triggerExpiryAndRepl(ctx context.Context, o listPathOptions, obj metaCacheEntry) (skip bool) {
    	versioned := o.Versioning != nil && o.Versioning.Versioned(obj.name)
    
    	// skip latest object from listing only for regular
    	// listObjects calls, versioned based listing cannot
    	// filter out between versions 'obj' cannot be truncated
    	// in such a manner, so look for skipping an object only
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common_test.go

    func TestListOnlineDisks(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, disks, err := prepareErasure16(ctx)
    	if err != nil {
    		t.Fatalf("Prepare Erasure backend failed - %v", err)
    	}
    	setObjectLayer(obj)
    	defer obj.Shutdown(context.Background())
    	defer removeRoots(disks)
    
    	type tamperKind int
    	const (
    		noTamper tamperKind = iota
    		deletePart
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  6. cmd/batch-expire.go

    	return err
    }
    
    // Matches returns true if obj matches the filter conditions specified in ef.
    func (ef BatchJobExpireFilter) Matches(obj ObjectInfo, now time.Time) bool {
    	switch ef.Type {
    	case BatchJobExpireObject:
    		if obj.DeleteMarker {
    			return false
    		}
    	case BatchJobExpireDeleted:
    		if !obj.DeleteMarker {
    			return false
    		}
    	default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  7. cmd/data-usage_test.go

    			path:   "bucket/dirwithalot/0",
    			size:   filesBelowT,
    			objs:   filesBelowT,
    			oSizes: sizeHistogram{0: filesBelowT},
    		},
    		{
    			// Gets compacted at this level (below obj threshold)...
    			path:   "bucket/dirwithalot/0",
    			size:   filesBelowT,
    			objs:   filesBelowT,
    			oSizes: sizeHistogram{0: filesBelowT},
    		},
    		{
    			// Gets compacted at this level...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    			}
    		}
    	}
    	return nil
    }
    
    // enqueueTransitionImmediate enqueues obj for transition if eligible.
    // This is to be called after a successful upload of an object (version).
    func enqueueTransitionImmediate(obj ObjectInfo, src lcEventSrc) {
    	if lc, err := globalLifecycleSys.Get(obj.Bucket); err == nil {
    		switch event := lc.Eval(obj.ToLifecycleOpts()); event.Action {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle-handlers_test.go

    				Message:  "The lifecycle configuration does not exist",
    			},
    			shouldPass: false,
    		},
    	}
    
    	testBucketLifecycle(obj, instanceType, bucketName, apiRouter, t, testCases)
    }
    
    // testBucketLifecycle is a generic testing of lifecycle requests
    func testBucketLifecycle(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	t *testing.T, testCases []struct {
    		method             string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  10. helm-releases/minio-3.6.6.tgz

    the available value for certain key in an existing secret (if it exists), otherwise it generates a random value. */}} {{- define "minio.getValueFromSecret" }} {{- $len := (default 16 .Length) | int -}} {{- $obj := (lookup "v1" "Secret" .Namespace .Name).data -}} {{- if $obj }} {{- index $obj .Key | b64dec -}} {{- else -}} {{- randAlphaNum $len -}} {{- end -}} {{- end }} {{- define "minio.root.username" -}} {{- if .Values.rootUser }} {{- .Values.rootUser | toString }} {{- else }} {{- include "min...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 17 21:46:44 GMT 2022
    - 18.2K bytes
    - Viewed (0)
Back to top