- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 386 for mounts (0.06 sec)
-
internal/mountinfo/mountinfo_linux_test.go
mountsPath := filepath.Join(dir, "mounts") if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil { t.Fatal(err) } // Verifies if reading each line worked properly. { var mounts mountInfos mounts, err = readProcMounts(mountsPath) if err != nil { t.Fatal(err) } if len(mounts) != 3 { t.Fatalf("expected 3 mounts, got %d", len(mounts)) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.3K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
// At this point if the mount point has a common prefix two conditions can happen. // - mount.Path matches exact with `path` means we can proceed no error here. // - mount.Path doesn't match (means cross-device mount), should error out. if mount.Path != path { crossMounts = append(crossMounts, mount) } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.7K bytes - Viewed (0) -
internal/mountinfo/mountinfo.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 1.1K bytes - Viewed (0) -
cni/pkg/constants/constants.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 15:33:47 UTC 2024 - 3K bytes - Viewed (0) -
docs/en/docs/advanced/wsgi.md
# Including WSGI - Flask, Django, others You can mount WSGI applications as you saw with [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank}. For that, you can use the `WSGIMiddleware` and use it to wrap your WSGI application, for example, Flask, Django, etc. ## Using `WSGIMiddleware` You need to import `WSGIMiddleware`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.1K bytes - Viewed (0) -
internal/mountinfo/mountinfo_windows.go
package mountinfo import ( "path/filepath" "sync" "golang.org/x/sys/windows" ) // CheckCrossDevice - check if any input path has multiple sub-mounts. // this is a dummy function and returns nil for now. func CheckCrossDevice(paths []string) error { return nil } // mountPointCache contains results of IsLikelyMountPoint var mountPointCache sync.Map
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 2K bytes - Viewed (0) -
docs/tr/docs/advanced/wsgi.md
# WSGI - Flask, Django ve Daha Fazlasını FastAPI ile Kullanma WSGI uygulamalarını [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank} bölümlerinde gördüğünüz gibi bağlayabilirsiniz. Bunun için `WSGIMiddleware` ile Flask, Django vb. WSGI uygulamanızı sarmalayabilir ve FastAPI'ya bağlayabilirsiniz. ## `WSGIMiddleware` Kullanımı `WSGIMiddleware`'ı projenize dahil edin.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.3K bytes - Viewed (0) -
docs/zh/docs/advanced/wsgi.md
# 包含 WSGI - Flask,Django,其它 您可以挂载多个 WSGI 应用,正如您在 [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank} 中所看到的那样。 为此, 您可以使用 `WSGIMiddleware` 来包装你的 WSGI 应用,如:Flask,Django,等等。 ## 使用 `WSGIMiddleware` 您需要导入 `WSGIMiddleware`。 然后使用该中间件包装 WSGI 应用(例如 Flask)。 之后将其挂载到某一个路径下。 ```Python hl_lines="2-3 22" {!../../docs_src/wsgi/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/en/docs/advanced/sub-applications.md
This sub-application is just another standard FastAPI application, but this is the one that will be "mounted": ```Python hl_lines="11 14-16" {!../../docs_src/sub_applications/tutorial001.py!} ``` ### Mount the sub-application In your top-level application, `app`, mount the sub-application, `subapi`. In this case, it will be mounted at the path `/subapi`: ```Python hl_lines="11 19"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/de/docs/advanced/sub-applications.md
# Unteranwendungen – Mounts Wenn Sie zwei unabhängige FastAPI-Anwendungen mit deren eigenen unabhängigen OpenAPI und deren eigenen Dokumentationsoberflächen benötigen, können Sie eine Hauptanwendung haben und dann eine (oder mehrere) Unteranwendung(en) „mounten“. ## Mounten einer **FastAPI**-Anwendung
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0)