Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ExcludedPrefixes (0.22 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 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 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
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  3. 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>
    ```
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu May 04 21:43:52 GMT 2023
    - 11.9K bytes
    - Viewed (1)
  4. 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 + '.');
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.4K 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>
    ```
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 24 23:46:33 GMT 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
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
Back to top