-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathmodels.ts
76 lines (71 loc) · 1.69 KB
/
models.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
import { F5TmosProduct } from "f5-conx-core";
import { Stats, TmosApp } from "f5-corkscrew";
export type CfgExploreReport = {
Greeting: string;
repo: string;
extensionVersion: string;
corkscrewVersion: string;
issues: string;
documentation: string;
label?: string;
description?: string;
id: string;
dateTime: Date;
hostname?: string;
baseRegKey?: string;
inputFileType: string;
sourceFileCount?: number;
appCount?: number;
cfgExploreStats: Stats;
cfgExploreParsedFiles: string[];
xcDiagStats?: {
Green?: number;
Error?: number;
Warning?: number;
Information?: number;
defaultRedirects: number;
};
xcDiags?: {
Green?: string[];
Information?: {
appName: string;
diagnostics: string[];
}[];
Warning?: {
appName: string;
diagnostics: string[];
}[];
Error?: {
appName: string;
diagnostics: string[];
}[];
defaultRedirects: string[];
}
apps: TmosAppReport[];
gslb?: any;
};
export interface TmosAppReport extends TmosApp {
xcDiagnostics: string[]
xcDiagStats: unknown;
xcDiagStatus: string;
}
/**
* extension device model for hosts view
*/
export type BigipHost = {
device: string,
label?: string,
folder?: string,
product?: F5TmosProduct;
details?: {
platformMarketingName?: string;
version?: string;
hostname?: string;
managementAddress?: string;
platform?: string;
physicalMemory?: number;
}
provider: string,
onConnect?: string[],
onDisconnect?: string[]
};