Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ExcludedPrefixes (0.13 sec)

  1. internal/bucket/versioning/versioning_test.go

    			}
    			if len(tc.excludedPrefixes) > 0 {
    				var mismatch bool
    				if len(v.ExcludedPrefixes) != len(tc.excludedPrefixes) {
    					t.Fatalf("Test %d: Expected length of excluded prefixes %d but got %d", i+1, len(tc.excludedPrefixes), len(v.ExcludedPrefixes))
    				}
    				var i int
    				var eprefix string
    				for i, eprefix = range tc.excludedPrefixes {
    					if eprefix != v.ExcludedPrefixes[i].Prefix {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 08 05:06:44 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  2. internal/bucket/versioning/versioning.go

    	// 	return Errorf("unsupported MFADelete state %s", v.MFADelete)
    	// }
    	switch v.Status {
    	case Enabled:
    		const maxExcludedPrefixes = 10
    		if len(v.ExcludedPrefixes) > maxExcludedPrefixes {
    			return errTooManyExcludedPrefixes
    		}
    
    	case Suspended:
    		if len(v.ExcludedPrefixes) > 0 {
    			return errExcludedPrefixNotSupported
    		}
    	default:
    		return Errorf("unsupported Versioning status %s", v.Status)
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ClassMetaDataUtil.java

            repository.load(metaData);
    
            final Set<String> excludedPrefixes = new HashSet<>();
            final Set<String> excludedPackages = new HashSet<>();
            for (String excludePattern : excludedPackagePatterns) {
                if (excludePattern.endsWith(".**")) {
                    String baseName = excludePattern.substring(0, excludePattern.length() - 3);
                    excludedPrefixes.add(baseName + '.');
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  4. docs/bucket/versioning/README.md

            <Status>Enabled</Status>
            <ExcludedPrefixes>
              <Prefix>*/_temporary</Prefix>
            </ExcludedPrefixes>
            <ExcludedPrefixes>
              <Prefix>*/__magic</Prefix>
            </ExcludedPrefixes>
            <ExcludedPrefixes>
              <Prefix>*/_staging</Prefix>
            </ExcludedPrefixes>
    
            <!-- .. up to 10 prefixes in all -->
    </VersioningConfiguration>
    ```
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 04 21:43:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. docs/bucket/replication/README.md

            <Status>Enabled</Status>
            <ExcludeFolders>true</ExcludeFolders>
    
            <ExcludedPrefixes>
              <Prefix>app1-jobs/*/_temporary/</Prefix>
            </ExcludedPrefixes>
            <ExcludedPrefixes>
              <Prefix>app2-jobs/*/_magic/</Prefix>
            </ExcludedPrefixes>
    
            <!-- .. up to 10 prefixes in all -->
    </VersioningConfiguration>
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    			return false, err
    		}
    		bucketExists = true
    	}
    
    	if globalSiteReplicationSys.isEnabled() {
    		configData := []byte(`<VersioningConfiguration><Status>Enabled</Status><ExcludedPrefixes><Prefix>speedtest/*</Prefix></ExcludedPrefixes></VersioningConfiguration>`)
    		if _, err = globalBucketMetadataSys.Update(ctx, bucketName, bucketVersioningConfig, configData); err != nil {
    			return false, err
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top