MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / from

Method from

crates/openshell-driver-kubernetes/src/driver.rs:69–76  ·  view source on GitHub ↗
(err: KubernetesDriverError)

Source from the content-addressed store, hash-verified

67
68impl From<KubernetesDriverError> for openshell_core::ComputeDriverError {
69 fn from(err: KubernetesDriverError) -> Self {
70 match err {
71 KubernetesDriverError::AlreadyExists => Self::AlreadyExists,
72 KubernetesDriverError::InvalidArgument(m) => Self::InvalidArgument(m),
73 KubernetesDriverError::Precondition(m) => Self::Precondition(m),
74 KubernetesDriverError::Message(m) => Self::Message(m),
75 }
76 }
77}
78
79/// Timeout for individual Kubernetes API calls (create, delete, get).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected