OCI FileStorage API wrapper.
Provides paginated filesystem listing via list-file-systems. Requires
both compartment-id and availability-domain — unlike Compute, the
FileStorage API mandates an AD per request.
Uses clojure.java.data.builder/to-java with :limit pre-coerced to
Integer to satisfy the SDK setter type under cloverage instrumentation.
Results are cached via service.memo keyed by compartment-id and
availability-domain — subsequent calls with the same params return
cached data unless :refresh? is set.
OCI FileStorage API wrapper. Provides paginated filesystem listing via `list-file-systems`. Requires both `compartment-id` and `availability-domain` — unlike Compute, the FileStorage API mandates an AD per request. Uses `clojure.java.data.builder/to-java` with `:limit` pre-coerced to `Integer` to satisfy the SDK setter type under cloverage instrumentation. Results are cached via `service.memo` keyed by compartment-id and availability-domain — subsequent calls with the same params return cached data unless `:refresh?` is set.
(list-file-systems compartment-id availability-domain)(list-file-systems compartment-id
availability-domain
{:keys [limit max-age-seconds refresh?]
:or {limit 100 refresh? false}})Fetches all filesystems in compartment-id and availability-domain,
paginating automatically.
Results are cached in Datahike; subsequent calls with the same compartment-id and availability-domain return cached data.
Returns {:data {:items [filesystem-maps...]}} or {:error ...} on failure.
Each filesystem map has camelCase keyword keys as produced by from-java,
e.g. :displayName, :id, :meteredBytes, :definedTags, :timeCreated.
Options: :limit — page size (default 100) :refresh? — force re-fetch from OCI, replacing cached data (default false) :max-age-seconds — re-fetch if cached entry is older than this (default nil = no limit)
Fetches all filesystems in `compartment-id` and `availability-domain`,
paginating automatically.
Results are cached in Datahike; subsequent calls with the same
compartment-id and availability-domain return cached data.
Returns {:data {:items [filesystem-maps...]}} or {:error ...} on failure.
Each filesystem map has camelCase keyword keys as produced by `from-java`,
e.g. :displayName, :id, :meteredBytes, :definedTags, :timeCreated.
Options:
:limit — page size (default 100)
:refresh? — force re-fetch from OCI, replacing cached data (default false)
:max-age-seconds — re-fetch if cached entry is older than this (default nil = no limit)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |