@rork8s/ror-resources 1.15.9 → 1.16.0
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/resources.d.ts +22 -10
- package/package.json +2 -2
- package/rork8s-ror-resources-1.16.0.tgz +0 -0
- package/src/resources.ts +22 -10
- package/rork8s-ror-resources-1.15.9.tgz +0 -0
package/dist/resources.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface ResourceUnknown {
|
|
|
17
17
|
export interface MachineCondition {
|
|
18
18
|
type?: string;
|
|
19
19
|
status?: string;
|
|
20
|
-
lastTransitionTime
|
|
20
|
+
lastTransitionTime?: Time;
|
|
21
21
|
reason?: string;
|
|
22
22
|
message?: string;
|
|
23
23
|
}
|
|
@@ -53,7 +53,7 @@ export interface MachineStatus {
|
|
|
53
53
|
providerID?: string;
|
|
54
54
|
machineID?: string;
|
|
55
55
|
state?: string;
|
|
56
|
-
lastUpdated
|
|
56
|
+
lastUpdated?: Time;
|
|
57
57
|
provider?: string;
|
|
58
58
|
region?: string;
|
|
59
59
|
zone?: string;
|
|
@@ -156,13 +156,13 @@ export interface MachineSpec {
|
|
|
156
156
|
name?: string;
|
|
157
157
|
machineClass?: string;
|
|
158
158
|
machineType?: string;
|
|
159
|
-
cpu
|
|
159
|
+
cpu?: MachineCPU;
|
|
160
160
|
memory?: number;
|
|
161
161
|
disks?: MachineSpecDisk[];
|
|
162
|
-
network
|
|
163
|
-
os
|
|
164
|
-
provider
|
|
165
|
-
providerConfig
|
|
162
|
+
network?: MachineNetwork;
|
|
163
|
+
os?: MachineOS;
|
|
164
|
+
provider?: string;
|
|
165
|
+
providerConfig?: CloudProviderConfig;
|
|
166
166
|
sshKeys?: string[];
|
|
167
167
|
userData?: string;
|
|
168
168
|
tags?: {
|
|
@@ -170,7 +170,7 @@ export interface MachineSpec {
|
|
|
170
170
|
};
|
|
171
171
|
securityGroups?: string[];
|
|
172
172
|
monitoring?: boolean;
|
|
173
|
-
backup
|
|
173
|
+
backup?: MachineBackup;
|
|
174
174
|
cloudInit?: CloudInitConfig;
|
|
175
175
|
}
|
|
176
176
|
export interface ResourceMachine {
|
|
@@ -702,6 +702,9 @@ export interface ResourceWorkspace {
|
|
|
702
702
|
}
|
|
703
703
|
export interface ResourceProvider {
|
|
704
704
|
}
|
|
705
|
+
export interface KubernetesClusterAgentStatus {
|
|
706
|
+
connected: boolean;
|
|
707
|
+
}
|
|
705
708
|
export interface KubernetesClusterCondition {
|
|
706
709
|
type: string;
|
|
707
710
|
status: string;
|
|
@@ -780,6 +783,10 @@ export interface KubernetesClusterStatus {
|
|
|
780
783
|
phase: string;
|
|
781
784
|
conditions: KubernetesClusterCondition[];
|
|
782
785
|
}
|
|
786
|
+
export interface ResourceKubernetesClusterStatus {
|
|
787
|
+
providerstatus: KubernetesClusterStatus;
|
|
788
|
+
agentstatus: KubernetesClusterAgentStatus;
|
|
789
|
+
}
|
|
783
790
|
export interface KubernetesClusterTaint {
|
|
784
791
|
key: string;
|
|
785
792
|
value: string;
|
|
@@ -844,14 +851,19 @@ export interface KubernetesClusterSpecData {
|
|
|
844
851
|
workspace: string;
|
|
845
852
|
workorder: string;
|
|
846
853
|
environment: string;
|
|
854
|
+
networkNamespaceName: string;
|
|
847
855
|
}
|
|
848
856
|
export interface KubernetesClusterSpec {
|
|
849
857
|
data: KubernetesClusterSpecData;
|
|
850
858
|
topology: KubernetesClusterSpecTopology;
|
|
851
859
|
}
|
|
860
|
+
export interface ResourceKubernetesClusterSpec {
|
|
861
|
+
slackChannels: string[];
|
|
862
|
+
vitiSpec: KubernetesClusterSpec;
|
|
863
|
+
}
|
|
852
864
|
export interface ResourceKubernetesCluster {
|
|
853
|
-
spec:
|
|
854
|
-
status
|
|
865
|
+
spec: ResourceKubernetesClusterSpec;
|
|
866
|
+
status: ResourceKubernetesClusterStatus;
|
|
855
867
|
}
|
|
856
868
|
export interface ResourceVirtualMachineClassSpecHardwareInstanceStorage {
|
|
857
869
|
storageClass: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "ROR Team",
|
|
3
|
-
"commit": "
|
|
3
|
+
"commit": "398a402",
|
|
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.
|
|
60
|
+
"version": "1.16.0"
|
|
61
61
|
}
|
|
Binary file
|
package/src/resources.ts
CHANGED
|
@@ -18,7 +18,7 @@ export interface ResourceUnknown {}
|
|
|
18
18
|
export interface MachineCondition {
|
|
19
19
|
type?: string;
|
|
20
20
|
status?: string;
|
|
21
|
-
lastTransitionTime
|
|
21
|
+
lastTransitionTime?: Time;
|
|
22
22
|
reason?: string;
|
|
23
23
|
message?: string;
|
|
24
24
|
}
|
|
@@ -54,7 +54,7 @@ export interface MachineStatus {
|
|
|
54
54
|
providerID?: string;
|
|
55
55
|
machineID?: string;
|
|
56
56
|
state?: string;
|
|
57
|
-
lastUpdated
|
|
57
|
+
lastUpdated?: Time;
|
|
58
58
|
provider?: string;
|
|
59
59
|
region?: string;
|
|
60
60
|
zone?: string;
|
|
@@ -155,19 +155,19 @@ export interface MachineSpec {
|
|
|
155
155
|
name?: string;
|
|
156
156
|
machineClass?: string;
|
|
157
157
|
machineType?: string;
|
|
158
|
-
cpu
|
|
158
|
+
cpu?: MachineCPU;
|
|
159
159
|
memory?: number;
|
|
160
160
|
disks?: MachineSpecDisk[];
|
|
161
|
-
network
|
|
162
|
-
os
|
|
163
|
-
provider
|
|
164
|
-
providerConfig
|
|
161
|
+
network?: MachineNetwork;
|
|
162
|
+
os?: MachineOS;
|
|
163
|
+
provider?: string;
|
|
164
|
+
providerConfig?: CloudProviderConfig;
|
|
165
165
|
sshKeys?: string[];
|
|
166
166
|
userData?: string;
|
|
167
167
|
tags?: { [key: string]: string };
|
|
168
168
|
securityGroups?: string[];
|
|
169
169
|
monitoring?: boolean;
|
|
170
|
-
backup
|
|
170
|
+
backup?: MachineBackup;
|
|
171
171
|
cloudInit?: CloudInitConfig;
|
|
172
172
|
}
|
|
173
173
|
export interface ResourceMachine {
|
|
@@ -682,6 +682,9 @@ export interface ResourceWorkspace {
|
|
|
682
682
|
status: ResourceWorkspaceStatus;
|
|
683
683
|
}
|
|
684
684
|
export interface ResourceProvider {}
|
|
685
|
+
export interface KubernetesClusterAgentStatus {
|
|
686
|
+
connected: boolean;
|
|
687
|
+
}
|
|
685
688
|
export interface KubernetesClusterCondition {
|
|
686
689
|
type: string;
|
|
687
690
|
status: string;
|
|
@@ -760,6 +763,10 @@ export interface KubernetesClusterStatus {
|
|
|
760
763
|
phase: string;
|
|
761
764
|
conditions: KubernetesClusterCondition[];
|
|
762
765
|
}
|
|
766
|
+
export interface ResourceKubernetesClusterStatus {
|
|
767
|
+
providerstatus: KubernetesClusterStatus;
|
|
768
|
+
agentstatus: KubernetesClusterAgentStatus;
|
|
769
|
+
}
|
|
763
770
|
export interface KubernetesClusterTaint {
|
|
764
771
|
key: string;
|
|
765
772
|
value: string;
|
|
@@ -820,14 +827,19 @@ export interface KubernetesClusterSpecData {
|
|
|
820
827
|
workspace: string;
|
|
821
828
|
workorder: string;
|
|
822
829
|
environment: string;
|
|
830
|
+
networkNamespaceName: string;
|
|
823
831
|
}
|
|
824
832
|
export interface KubernetesClusterSpec {
|
|
825
833
|
data: KubernetesClusterSpecData;
|
|
826
834
|
topology: KubernetesClusterSpecTopology;
|
|
827
835
|
}
|
|
836
|
+
export interface ResourceKubernetesClusterSpec {
|
|
837
|
+
slackChannels: string[];
|
|
838
|
+
vitiSpec: KubernetesClusterSpec;
|
|
839
|
+
}
|
|
828
840
|
export interface ResourceKubernetesCluster {
|
|
829
|
-
spec:
|
|
830
|
-
status
|
|
841
|
+
spec: ResourceKubernetesClusterSpec;
|
|
842
|
+
status: ResourceKubernetesClusterStatus;
|
|
831
843
|
}
|
|
832
844
|
export interface ResourceVirtualMachineClassSpecHardwareInstanceStorage {
|
|
833
845
|
storageClass: string;
|
|
Binary file
|