mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-20 16:07:11 +08:00
14 lines
441 B
TypeScript
14 lines
441 B
TypeScript
import type { RunDispatchCandidate } from '../domain/runDispatchCandidate';
|
|
|
|
export interface LocalSecretEnvironmentRequest {
|
|
candidate: Readonly<RunDispatchCandidate>;
|
|
secretRefs: readonly string[];
|
|
}
|
|
|
|
/** Returns plaintext only in memory, positionally aligned to secretRefs. */
|
|
export interface LocalSecretEnvironmentProvider {
|
|
resolve(
|
|
request: Readonly<LocalSecretEnvironmentRequest>,
|
|
): Promise<readonly string[] | null>;
|
|
}
|