Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for foo (0.2 sec)

  1. cmd/data-scanner_test.go

    	obj := ObjectInfo{
    		Name:        "foo",
    		ModTime:     time.Now().Add(-31 * 24 * time.Hour),
    		Size:        100 << 20,
    		VersionID:   uuid.New().String(),
    		IsLatest:    true,
    		NumVersions: 4,
    	}
    	delMarker := ObjectInfo{
    		Name:         "foo-deleted",
    		ModTime:      time.Now().Add(-61 * 24 * time.Hour),
    		Size:         0,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    		// enabled.
    		allUsersFile: `{
      "foo": {
        "secretKey": "foobar123",
        "status": "enabled"
      }
    }
    `,
    		// Built-in groups should be imported without errors even if LDAP is
    		// enabled.
    		allGroupsFile: `{
      "mygroup": {
        "version": 1,
        "status": "enabled",
        "members": [
          "foo"
        ],
        "updatedAt": "2024-04-23T21:34:43.587429659Z"
      }
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "foo/201910/1112"},
    				{Name: "foo/201910/1122"},
    			},
    		},
    		// ListObjectsResult-38 list with prefix match 1 level deep
    		38: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "foo/201910/1112"},
    				{Name: "foo/201910/1122"},
    				{Name: "foo/201910/2112"},
    				{Name: "foo/201910_txt"},
    			},
    		},
    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)
  4. cmd/metacache-entries.go

    				best = other
    				bestIdx = otherIdx
    				continue
    			}
    			// We should make sure to avoid objects and directories
    			// of this fashion such as
    			//  - foo-1
    			//  - foo-1/
    			// we should avoid this situation by making sure that
    			// we compare the `foo-1/` after path.Clean() to
    			// de-dup the entries.
    			if path.Clean(best.name) == path.Clean(other.name) {
    				toMerge = append(toMerge, otherIdx)
    				continue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  5. cmd/sts-handlers.go

    			return
    		}
    	}
    
    	// We map the X.509 subject common name to the policy. So, a client
    	// with the common name "foo" will be associated with the policy "foo".
    	// Other mapping functions - e.g. public-key hash based mapping - are
    	// possible but not implemented.
    	//
    	// Group mapping is not possible with standard X.509 certificates.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  6. internal/bucket/lifecycle/lifecycle_test.go

    			prefix:      "foodir/foobject/foo.txt",
    			want:        true,
    		},
    		{
    			inputConfig: `<LifecycleConfiguration><Rule><Status>Enabled</Status><Filter></Filter><NoncurrentVersionTransition><StorageClass>S3TIER-1</StorageClass></NoncurrentVersionTransition></Rule></LifecycleConfiguration>`,
    			prefix:      "foodir/foobject/foo.txt",
    			want:        true,
    		},
    		{
    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)
  7. cmd/endpoint.go

    		}
    
    		// As this is path in the URL, we should use path package, not filepath package.
    		// On MS Windows, filepath.Clean() converts into Windows path style ie `/foo` becomes `\foo`
    		u.Path = path.Clean(u.Path)
    		if isEmptyPath(u.Path) {
    			return ep, fmt.Errorf("empty or root path is not supported in URL endpoint")
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
Back to top