Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 323 for idprefix (0.16 sec)

  1. internal/bucket/lifecycle/prefix.go

    package lifecycle
    
    import (
    	"encoding/xml"
    )
    
    // Prefix holds the prefix xml tag in <Rule> and <Filter>
    type Prefix struct {
    	string
    	set    bool
    	Unused struct{} // Needed for GOB compatibility
    }
    
    // UnmarshalXML - decodes XML data.
    func (p *Prefix) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	var s string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 14:45:25 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  2. tests/test_deprecated_openapi_prefix.py

    from fastapi import FastAPI, Request
    from fastapi.testclient import TestClient
    
    app = FastAPI(openapi_prefix="/api/v1")
    
    
    @app.get("/app")
    def read_main(request: Request):
        return {"message": "Hello World", "root_path": request.scope.get("root_path")}
    
    
    client = TestClient(app)
    
    
    def test_main():
        response = client.get("/app")
        assert response.status_code == 200
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  3. tests/test_router_prefix_with_template.py

    app = FastAPI()
    
    router = APIRouter()
    
    
    @router.get("/users/{id}")
    def read_user(segment: str, id: str):
        return {"segment": segment, "id": id}
    
    
    app.include_router(router, prefix="/{segment}")
    
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/seg/users/foo")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 484 bytes
    - Viewed (0)
  4. internal/bucket/versioning/versioning.go

    	if prefix == "" {
    		return true
    	}
    	if v.ExcludeFolders && strings.HasSuffix(prefix, "/") {
    		return false
    	}
    
    	for _, sprefix := range v.ExcludedPrefixes {
    		// Note: all excluded prefix patterns end with `/` (See Validate)
    		sprefix.Prefix += "*"
    
    		if matched := wildcard.MatchSimple(sprefix.Prefix, prefix); matched {
    			return false
    		}
    	}
    	return true
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  5. internal/bucket/versioning/versioning_test.go

    	for i, prefix := range testPrefixes {
    		if v.PrefixEnabled(prefix) || !v.PrefixSuspended(prefix) {
    			t.Fatalf("Test %d: Expected versioning to be excluded for %s", i+1, prefix)
    		}
    	}
    
    	// Test applicability for regular objects
    	if prefix := "prefix-1/obj-1"; !v.PrefixEnabled(prefix) || v.PrefixSuspended(prefix) {
    		t.Fatalf("Expected versioning to be enabled for %s", prefix)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Viewed (0)
  6. cmd/config.go

    	historyFile := pathJoin(minioConfigHistoryPrefix, uuidKV+kvPrefix)
    	data, err := readConfig(ctx, objAPI, historyFile)
    	if err != nil {
    		return nil, err
    	}
    
    	return decryptData(data, historyFile)
    }
    
    func saveServerConfigHistory(ctx context.Context, objAPI ObjectLayer, kv []byte) error {
    	uuidKV := mustGetUUID() + kvPrefix
    	historyFile := pathJoin(minioConfigHistoryPrefix, uuidKV)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

            isRelease -> "promoteFinalRelease"
            else -> "promoteFinalBackportRelease"
        }
    
        private fun nightlyTaskName(prefix: String): String = when {
            isMaster -> "${prefix}Nightly"
            isRelease -> "${prefix}ReleaseNightly"
            else -> "${prefix}PatchReleaseNightly"
        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  8. cmd/batch-expire_test.go

    func TestParseBatchJobExpire(t *testing.T) {
    	expireYaml := `
    expire: # Expire objects that match a condition
      apiVersion: v1
      bucket: mybucket # Bucket where this batch job will expire matching objects from
      prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below.
      rules:
        - type: object  # regular objects with zero or more older versions
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/ParameterUtil.java

        private static final String CIPHER_PREFIX = "{cipher}";
    
        protected static final String XPATH_PREFIX = "field.xpath.";
    
        protected static final String META_PREFIX = "field.meta.";
    
        protected static final String VALUE_PREFIX = "field.value.";
    
        protected static final String SCRIPT_PREFIX = "field.script.";
    
        protected static final String CLIENT_PREFIX = "client.";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. cmd/metacache_test.go

    			prefix: "prefix/obj.ext",
    			want:   "prefix/",
    		},
    		{
    			name:   "folderfolderobj",
    			prefix: "prefix/prefix2/obj.ext",
    			want:   "prefix/prefix2/",
    		},
    		{
    			name:   "folderfolder",
    			prefix: "prefix/prefix2/",
    			want:   "prefix/prefix2/",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := baseDirFromPrefix(tt.prefix); got != tt.want {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 08 18:06:45 GMT 2021
    - 6.8K bytes
    - Viewed (0)
Back to top