Treatment getFileSystem
work/resources::getFileSystem
Inputs
⇥ name: Block<string>
Outputs
↦ error: Block<string>
↦ failed: Block<void>
↦ filesystem: Block<FileSystem> (fs/filesystem::FileSystem)
Retrieve a filesystem handle by volume name from the current work environment.
name identifies the volume to look up (container volume or Kubernetes persistent volume).
Paths given to the filesystem are relative to the volume and stay within it: .., absolute
paths and links leading out of it are refused, including links that executors sharing the
volume create meanwhile.
filesystem is emitted when the volume is found and ready.
failed and error are emitted if the volume cannot be located.
graph LR
T("getFileSystem()")
N["〈🟦〉"] -->|name| T
T -->|filesystem| FS["〈🟩〉"]
T -->|error| ER["〈🟫〉"]
T -->|failed| F["〈🟥〉"]
style N fill:#ffffff,stroke:#ffffff
style FS fill:#ffffff,stroke:#ffffff
style ER fill:#ffffff,stroke:#ffffff
style F fill:#ffffff,stroke:#ffffff