slight refactor, bring pod phase to k8s lib, better types

This commit is contained in:
Thomas Boop
2022-06-06 22:39:28 -04:00
parent 1bfc52f466
commit cd310988c9
6 changed files with 49 additions and 37 deletions

View File

@@ -74,14 +74,6 @@ export enum Protocol {
UDP = 'udp'
}
export enum PodPhase {
PENDING = 'Pending',
RUNNING = 'Running',
SUCCEEDED = 'Succeeded',
FAILED = 'Failed',
UNKNOWN = 'Unknown'
}
export interface PrepareJobResponse {
state?: object
context?: ContainerContext