Fix custom resources not having a fallback details component (#3542)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-08-03 12:31:44 -04:00
1 parent a6e91fc34a
commit 77077ef72c
4 files changed
+40 -32

No files matched your search

+10
View File
@@ -86,6 +86,16 @@ export class KubeStatus {
}
}
export interface KubeObjectStatus {
conditions?: {
lastTransitionTime: string;
message: string;
reason: string;
status: string;
type?: string;
}[];
}
export type KubeMetaField = keyof KubeObjectMetadata;
export class KubeObject<Metadata extends KubeObjectMetadata = KubeObjectMetadata, Status = any, Spec = any> implements ItemObject {