eliot-portal
[eliot.git] / blueprints / common / eliot-ui / frontend-src / src / app / datainterface.ts
1 export interface nodeDetailss {
2     nodeName: string;
3     position: number;
4     role: string;
5     nodeStatus: string;
6 }
7
8 export interface nodeDetails {
9     eliotNodes: nodinfo[];
10 }
11
12 export interface nodinfo {
13   nodeName: string;
14   nodeStatus: string;
15   nodeRole: string;
16   age: string;
17   version: string;
18   internalIp: string;
19   externalIp: string;
20   osImage: string;
21   kernel: string;
22   containerRuntime: string;
23 }
24
25 export interface podNamespace {
26   podNamespaces: string[];
27 }
28
29 export interface podDetails {
30   eliotPods: podinfo[];
31 }
32
33 export interface podinfo {
34   namespace: string;
35   name: string;
36   ready: string;
37   status: string;
38   restarts: string;
39   age: string;
40   ip: string;
41   node: string;
42   nominated: string;
43   readiness: string;
44 }
45
46 export interface nodesDropDownDetails {
47   nodesArray: nodesDropDown[];
48 }
49
50 export interface nodesDropDown {
51   value: string;
52   viewValue: string;
53 }
54
55 export interface serviceDetails {
56   eliotServices: serviceinfo[];
57 }
58
59 export interface serviceinfo {
60   serviceName: string;
61   serviceType: string;
62   clusterIp: string;
63   externalIp: string;
64   ports: string;
65   age: string;
66   selector: string;
67 }