(self)
| 61 | impl ComputeDriverKind { |
| 62 | #[must_use] |
| 63 | pub const fn as_str(self) -> &'static str { |
| 64 | match self { |
| 65 | Self::Kubernetes => "kubernetes", |
| 66 | Self::Vm => "vm", |
| 67 | Self::Docker => "docker", |
| 68 | Self::Podman => "podman", |
| 69 | } |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | /// Normalize a configured compute driver name. |
no outgoing calls