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).

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:#ffff,stroke:#ffff
     style FS fill:#ffff,stroke:#ffff
     style ER fill:#ffff,stroke:#ffff
     style F fill:#ffff,stroke:#ffff