Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for folder2 (0.18 sec)

  1. cmd/object-api-listobjects_test.go

    		name            string
    		content         string
    		meta            map[string]string
    		addDeleteMarker bool
    	}{
    		{testBuckets[0], "unique/folder/", "", nil, true},
    		{testBuckets[0], "unique/folder/1.txt", "content", nil, false},
    		{testBuckets[1], "unique/folder/1.txt", "content", nil, true},
    	}
    	for _, object := range testObjects {
    		md5Bytes := md5.Sum([]byte(object.content))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		}
    		return s, err
    	}
    	s.formatData = formatData
    	s.formatFileInfo = formatFi
    	s.formatFile = pathJoin(s.drivePath, minioMetaBucket, formatConfigFile)
    
    	// Create all necessary bucket folders if possible.
    	if err = makeFormatErasureMetaVolumes(s); err != nil {
    		return s, err
    	}
    
    	if len(s.formatData) > 0 {
    		format := &formatErasureV3{}
    		json := jsoniter.ConfigCompatibleWithStandardLibrary
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    	return jwtClaims, nil
    }
    
    func validateSvcExpirationInUTC(expirationInUTC time.Time) error {
    	if expirationInUTC.IsZero() || expirationInUTC.Equal(timeSentinel) {
    		// Service accounts might not have expiration in older releases.
    		return nil
    	}
    
    	currentTime := time.Now().UTC()
    	minExpiration := currentTime.Add(minServiceAccountExpiry)
    	maxExpiration := currentTime.Add(maxServiceAccountExpiry)
    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)
  4. cmd/batch-handlers.go

    		if r.Flags.Filter.OlderThan > 0 && time.Since(oi.ModTime) < r.Flags.Filter.OlderThan {
    			// skip all objects that are newer than specified older duration
    			return true
    		}
    
    		if r.Flags.Filter.NewerThan > 0 && time.Since(oi.ModTime) >= r.Flags.Filter.NewerThan {
    			// skip all objects that are older than specified newer duration
    			return true
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    )
    
    //go:generate msgp -file=$GOFILE -unexported
    //go:generate stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go $GOFILE
    
    const (
    	// Breaking changes.
    	// Newer versions cannot be read by older software.
    	// This will prevent downgrades to incompatible versions.
    	xlVersionMajor = 1
    
    	// Non breaking changes.
    	// Bumping this is informational, but should be done
    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)
  6. cmd/xl-storage_test.go

    		t.Fatalf("Unable to create a file \"as-file\", %s", err)
    	}
    
    	fi, err := xlStorage.ReadVersion(context.Background(), "", "exists-legacy", "as-file", "", ReadOptions{})
    	if err != nil {
    		t.Fatalf("Unable to read older 'xl.json' content: %s", err)
    	}
    
    	if !fi.XLV1 {
    		t.Fatal("Unexpected 'xl.json' content should be correctly interpreted as legacy content")
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    					Prefix: Prefix{
    						string: "folder1/folder1/exp_dt=2022-",
    						set:    true,
    					},
    				},
    				Expiration: Expiration{
    					Days: 1,
    					set:  true,
    				},
    			},
    		},
    	}
    	tests := []struct {
    		opts ObjectOpts
    		lc   Lifecycle
    		want int
    	}{
    		{
    			opts: ObjectOpts{
    				Name:        "folder1/folder1/exp_dt=2022-08-01/obj-1",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    // `v=2` like:
    //
    // GET /minio/admin/v3/info-canned-policy?name={policyName}&v=2
    //
    // The newer API will eventually become the default (and only) one. The older
    // response is to return only the policy JSON. The newer response returns
    // timestamps along with the policy JSON. Both versions are supported for now,
    // for smooth transition to new API.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top