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

Method returning

crates/openshell-server/src/auth/k8s_sa.rs:525–530  ·  view source on GitHub ↗
(outcome: Result<Option<ResolvedK8sIdentity>, Status>)

Source from the content-addressed store, hash-verified

523
524 impl FakeResolver {
525 pub fn returning(outcome: Result<Option<ResolvedK8sIdentity>, Status>) -> Self {
526 Self {
527 outcome,
528 seen_tokens: Mutex::new(Vec::new()),
529 }
530 }
531 }
532
533 #[async_trait]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected