@rork8s/ror-resources 1.17.2 → 1.17.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/resources.d.ts +25 -3
- package/package.json +2 -2
- package/rork8s-ror-resources-1.17.4.tgz +0 -0
- package/src/resources.ts +22 -3
- package/tsconfig.json +3 -3
- package/rork8s-ror-resources-1.17.2.tgz +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/resources.d.ts
CHANGED
|
@@ -76,6 +76,9 @@ export interface MachineStatus {
|
|
|
76
76
|
failureReason?: string;
|
|
77
77
|
failureMessage?: string;
|
|
78
78
|
}
|
|
79
|
+
export interface ResourceMachineStatus {
|
|
80
|
+
providerStatus?: MachineStatus;
|
|
81
|
+
}
|
|
79
82
|
export interface CloudInitConfigMapRef {
|
|
80
83
|
name: string;
|
|
81
84
|
key?: string;
|
|
@@ -173,9 +176,12 @@ export interface MachineSpec {
|
|
|
173
176
|
backup?: MachineBackup;
|
|
174
177
|
cloudInit?: CloudInitConfig;
|
|
175
178
|
}
|
|
179
|
+
export interface ResourceMachineSpec {
|
|
180
|
+
providerSpec?: MachineSpec;
|
|
181
|
+
}
|
|
176
182
|
export interface ResourceMachine {
|
|
177
|
-
spec:
|
|
178
|
-
status:
|
|
183
|
+
spec: ResourceMachineSpec;
|
|
184
|
+
status: ResourceMachineStatus;
|
|
179
185
|
}
|
|
180
186
|
export interface ResourceBackupRunSpec {
|
|
181
187
|
delete: boolean;
|
|
@@ -702,8 +708,24 @@ export interface ResourceWorkspace {
|
|
|
702
708
|
}
|
|
703
709
|
export interface ResourceProvider {
|
|
704
710
|
}
|
|
711
|
+
export interface Time {
|
|
712
|
+
}
|
|
705
713
|
export interface KubernetesClusterAgentStatus {
|
|
706
|
-
|
|
714
|
+
clusterId: string;
|
|
715
|
+
clusterName: string;
|
|
716
|
+
kubernetesProvider: string;
|
|
717
|
+
az: string;
|
|
718
|
+
region: string;
|
|
719
|
+
country: string;
|
|
720
|
+
workspaceId: string;
|
|
721
|
+
environment: string;
|
|
722
|
+
datacenter: string;
|
|
723
|
+
nodes: number;
|
|
724
|
+
versions: {
|
|
725
|
+
[key: string]: string;
|
|
726
|
+
};
|
|
727
|
+
createdAt: Time;
|
|
728
|
+
lastSeen: Time;
|
|
707
729
|
}
|
|
708
730
|
export interface KubernetesClusterCondition {
|
|
709
731
|
type: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "ROR Team",
|
|
3
|
-
"commit": "
|
|
3
|
+
"commit": "72f333b",
|
|
4
4
|
"description": "ROR resource models",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"prettier": "^3.4.2",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"typings": "dist/index.d.ts",
|
|
60
|
-
"version": "1.17.
|
|
60
|
+
"version": "1.17.4"
|
|
61
61
|
}
|
|
Binary file
|
package/src/resources.ts
CHANGED
|
@@ -77,6 +77,9 @@ export interface MachineStatus {
|
|
|
77
77
|
failureReason?: string;
|
|
78
78
|
failureMessage?: string;
|
|
79
79
|
}
|
|
80
|
+
export interface ResourceMachineStatus {
|
|
81
|
+
providerStatus?: MachineStatus;
|
|
82
|
+
}
|
|
80
83
|
export interface CloudInitConfigMapRef {
|
|
81
84
|
name: string;
|
|
82
85
|
key?: string;
|
|
@@ -170,9 +173,12 @@ export interface MachineSpec {
|
|
|
170
173
|
backup?: MachineBackup;
|
|
171
174
|
cloudInit?: CloudInitConfig;
|
|
172
175
|
}
|
|
176
|
+
export interface ResourceMachineSpec {
|
|
177
|
+
providerSpec?: MachineSpec;
|
|
178
|
+
}
|
|
173
179
|
export interface ResourceMachine {
|
|
174
|
-
spec:
|
|
175
|
-
status:
|
|
180
|
+
spec: ResourceMachineSpec;
|
|
181
|
+
status: ResourceMachineStatus;
|
|
176
182
|
}
|
|
177
183
|
export interface ResourceBackupRunSpec {
|
|
178
184
|
delete: boolean;
|
|
@@ -682,8 +688,21 @@ export interface ResourceWorkspace {
|
|
|
682
688
|
status: ResourceWorkspaceStatus;
|
|
683
689
|
}
|
|
684
690
|
export interface ResourceProvider {}
|
|
691
|
+
export interface Time {}
|
|
685
692
|
export interface KubernetesClusterAgentStatus {
|
|
686
|
-
|
|
693
|
+
clusterId: string;
|
|
694
|
+
clusterName: string;
|
|
695
|
+
kubernetesProvider: string;
|
|
696
|
+
az: string;
|
|
697
|
+
region: string;
|
|
698
|
+
country: string;
|
|
699
|
+
workspaceId: string;
|
|
700
|
+
environment: string;
|
|
701
|
+
datacenter: string;
|
|
702
|
+
nodes: number;
|
|
703
|
+
versions: { [key: string]: string };
|
|
704
|
+
createdAt: Time;
|
|
705
|
+
lastSeen: Time;
|
|
687
706
|
}
|
|
688
707
|
export interface KubernetesClusterCondition {
|
|
689
708
|
type: string;
|
package/tsconfig.json
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
"declaration": true,
|
|
5
5
|
"esModuleInterop": true,
|
|
6
6
|
"lib": ["ES5", "ES6", "ES2020", "ES2021", "ES2022", "ES2023"],
|
|
7
|
-
"module": "
|
|
8
|
-
"moduleResolution": "
|
|
7
|
+
"module": "Node16",
|
|
8
|
+
"moduleResolution": "Node16",
|
|
9
9
|
"outDir": "./dist",
|
|
10
10
|
"rootDir": "./src",
|
|
11
11
|
"sourceMap": true,
|
|
12
12
|
"strict": true,
|
|
13
|
-
"target": "
|
|
13
|
+
"target": "ES2020"
|
|
14
14
|
},
|
|
15
15
|
"exclude": ["node_modules"],
|
|
16
16
|
"include": ["src/**/*.ts"]
|
|
Binary file
|