hostctl 0.1.58 → 0.1.61
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/bin/hostctl.js +1427 -1532
- package/dist/bin/hostctl.js.map +1 -1
- package/dist/index.d.ts +340 -271
- package/dist/index.js +1464 -1087
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ type YamlHost = {
|
|
|
29
29
|
user?: string;
|
|
30
30
|
password?: SecretRef$1 | string;
|
|
31
31
|
'ssh-key'?: SecretRef$1 | string;
|
|
32
|
+
'ssh-key-passphrase'?: SecretRef$1 | string;
|
|
32
33
|
tags?: string[];
|
|
33
34
|
};
|
|
34
35
|
type YamlHostsMapping = {
|
|
@@ -125,6 +126,7 @@ declare class Host {
|
|
|
125
126
|
user?: string;
|
|
126
127
|
password?: SecretRef$1 | string;
|
|
127
128
|
sshKey?: SecretRef$1 | string;
|
|
129
|
+
sshKeyPassphrase?: SecretRef$1 | string;
|
|
128
130
|
tags: string[];
|
|
129
131
|
tagSet: Set<string>;
|
|
130
132
|
constructor(config: {
|
|
@@ -136,16 +138,19 @@ declare class Host {
|
|
|
136
138
|
user?: string;
|
|
137
139
|
password?: SecretRef$1 | string;
|
|
138
140
|
sshKey?: SecretRef$1 | string;
|
|
141
|
+
sshKeyPassphrase?: SecretRef$1 | string;
|
|
139
142
|
tags?: string[];
|
|
140
143
|
});
|
|
141
144
|
decryptedPassword(): Promise<string | undefined>;
|
|
142
145
|
decryptedSshKey(): Promise<string | undefined>;
|
|
146
|
+
decryptedSshKeyPassphrase(): Promise<string | undefined>;
|
|
143
147
|
toYAML(): {
|
|
144
148
|
host: string;
|
|
145
149
|
user: string | undefined;
|
|
146
150
|
port: number | undefined;
|
|
147
151
|
password: string | SecretRef$1 | undefined;
|
|
148
152
|
'ssh-key': string | SecretRef$1 | undefined;
|
|
153
|
+
'ssh-key-passphrase': string | SecretRef$1 | undefined;
|
|
149
154
|
tags: string[];
|
|
150
155
|
};
|
|
151
156
|
get shortName(): string;
|
|
@@ -191,6 +196,7 @@ type HostInput = {
|
|
|
191
196
|
port?: number;
|
|
192
197
|
password?: string | SecretRef;
|
|
193
198
|
sshKey?: string | SecretRef;
|
|
199
|
+
sshKeyPassphrase?: string | SecretRef;
|
|
194
200
|
tags?: string[];
|
|
195
201
|
};
|
|
196
202
|
type SecretRef = {
|
|
@@ -927,7 +933,7 @@ declare class Cli {
|
|
|
927
933
|
}, cmd: cmdr.Command): Promise<void>;
|
|
928
934
|
}
|
|
929
935
|
|
|
930
|
-
declare const _default$
|
|
936
|
+
declare const _default$3T: TaskFn<{
|
|
931
937
|
path: string;
|
|
932
938
|
sudo?: boolean | undefined;
|
|
933
939
|
}, {
|
|
@@ -939,7 +945,7 @@ declare const _default$3Q: TaskFn<{
|
|
|
939
945
|
error?: string | undefined;
|
|
940
946
|
}>;
|
|
941
947
|
|
|
942
|
-
declare const _default$
|
|
948
|
+
declare const _default$3S: TaskFn<{
|
|
943
949
|
from: string;
|
|
944
950
|
to: string;
|
|
945
951
|
mode?: string | undefined;
|
|
@@ -953,7 +959,7 @@ declare const _default$3P: TaskFn<{
|
|
|
953
959
|
error?: string | undefined;
|
|
954
960
|
}>;
|
|
955
961
|
|
|
956
|
-
declare const _default$
|
|
962
|
+
declare const _default$3R: TaskFn<{
|
|
957
963
|
path: string;
|
|
958
964
|
mode?: string | undefined;
|
|
959
965
|
owner?: string | undefined;
|
|
@@ -965,7 +971,7 @@ declare const _default$3O: TaskFn<{
|
|
|
965
971
|
error?: string | undefined;
|
|
966
972
|
}>;
|
|
967
973
|
|
|
968
|
-
declare const _default$
|
|
974
|
+
declare const _default$3Q: TaskFn<{
|
|
969
975
|
path: string;
|
|
970
976
|
sudo?: boolean | undefined;
|
|
971
977
|
all?: boolean | undefined;
|
|
@@ -974,7 +980,7 @@ declare const _default$3N: TaskFn<{
|
|
|
974
980
|
entries: string[];
|
|
975
981
|
}>;
|
|
976
982
|
|
|
977
|
-
declare const _default$
|
|
983
|
+
declare const _default$3P: TaskFn<{
|
|
978
984
|
path: string;
|
|
979
985
|
recursive?: boolean | undefined;
|
|
980
986
|
force?: boolean | undefined;
|
|
@@ -989,7 +995,7 @@ declare const _default$3M: TaskFn<{
|
|
|
989
995
|
}>;
|
|
990
996
|
|
|
991
997
|
declare namespace dir {
|
|
992
|
-
export { _default$
|
|
998
|
+
export { _default$3S as copy, _default$3R as create, _default$3P as delete, _default$3T as exists, _default$3Q as list };
|
|
993
999
|
}
|
|
994
1000
|
|
|
995
1001
|
declare const ChownInputSchema: z.ZodObject<{
|
|
@@ -1007,7 +1013,7 @@ declare const ChownOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1007
1013
|
error: z.ZodOptional<z.ZodString>;
|
|
1008
1014
|
}, z.z.core.$strip>]>;
|
|
1009
1015
|
type ChownResult = z.infer<typeof ChownOutputSchema>;
|
|
1010
|
-
declare const _default$
|
|
1016
|
+
declare const _default$3O: TaskFn<{
|
|
1011
1017
|
path: string;
|
|
1012
1018
|
owner: string;
|
|
1013
1019
|
group?: string | undefined;
|
|
@@ -1034,7 +1040,7 @@ declare const ChgrpOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1034
1040
|
error: z.ZodOptional<z.ZodString>;
|
|
1035
1041
|
}, z.z.core.$strip>]>;
|
|
1036
1042
|
type ChgrpResult = z.infer<typeof ChgrpOutputSchema>;
|
|
1037
|
-
declare const _default$
|
|
1043
|
+
declare const _default$3N: TaskFn<{
|
|
1038
1044
|
path: string;
|
|
1039
1045
|
group: string;
|
|
1040
1046
|
recursive?: boolean | undefined;
|
|
@@ -1060,7 +1066,7 @@ declare const ChmodOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1060
1066
|
error: z.ZodOptional<z.ZodString>;
|
|
1061
1067
|
}, z.z.core.$strip>]>;
|
|
1062
1068
|
type ChmodResult = z.infer<typeof ChmodOutputSchema>;
|
|
1063
|
-
declare const _default$
|
|
1069
|
+
declare const _default$3M: TaskFn<{
|
|
1064
1070
|
path: string;
|
|
1065
1071
|
mode: string | number;
|
|
1066
1072
|
recursive?: boolean | undefined;
|
|
@@ -1089,7 +1095,7 @@ declare const FileCopyOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1089
1095
|
error: z.ZodOptional<z.ZodString>;
|
|
1090
1096
|
}, z.z.core.$strip>]>;
|
|
1091
1097
|
type FileCopyResult = z.infer<typeof FileCopyOutputSchema>;
|
|
1092
|
-
declare const _default$
|
|
1098
|
+
declare const _default$3L: TaskFn<{
|
|
1093
1099
|
from: string;
|
|
1094
1100
|
to: string;
|
|
1095
1101
|
mode?: string | undefined;
|
|
@@ -1118,7 +1124,7 @@ declare const FileExistsOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1118
1124
|
error: z.ZodOptional<z.ZodString>;
|
|
1119
1125
|
}, z.z.core.$strip>]>;
|
|
1120
1126
|
type FileExistsResult = z.infer<typeof FileExistsOutputSchema>;
|
|
1121
|
-
declare const _default$
|
|
1127
|
+
declare const _default$3K: TaskFn<{
|
|
1122
1128
|
path: string;
|
|
1123
1129
|
sudo?: boolean | undefined;
|
|
1124
1130
|
}, {
|
|
@@ -1144,7 +1150,7 @@ declare const FileTouchOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1144
1150
|
error: z.ZodOptional<z.ZodString>;
|
|
1145
1151
|
}, z.z.core.$strip>]>;
|
|
1146
1152
|
type FileTouchResult = z.infer<typeof FileTouchOutputSchema>;
|
|
1147
|
-
declare const _default$
|
|
1153
|
+
declare const _default$3J: TaskFn<{
|
|
1148
1154
|
file: string;
|
|
1149
1155
|
mode?: string | undefined;
|
|
1150
1156
|
owner?: string | undefined;
|
|
@@ -1170,7 +1176,7 @@ declare const FileDeleteOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1170
1176
|
error: z.ZodOptional<z.ZodString>;
|
|
1171
1177
|
}, z.z.core.$strip>]>;
|
|
1172
1178
|
type FileDeleteResult = z.infer<typeof FileDeleteOutputSchema>;
|
|
1173
|
-
declare const _default$
|
|
1179
|
+
declare const _default$3I: TaskFn<{
|
|
1174
1180
|
path: string;
|
|
1175
1181
|
recursive?: boolean | undefined;
|
|
1176
1182
|
force?: boolean | undefined;
|
|
@@ -1198,7 +1204,7 @@ declare const FileLinkOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1198
1204
|
error: z.ZodOptional<z.ZodString>;
|
|
1199
1205
|
}, z.z.core.$strip>]>;
|
|
1200
1206
|
type FileLinkResult = z.infer<typeof FileLinkOutputSchema>;
|
|
1201
|
-
declare const _default$
|
|
1207
|
+
declare const _default$3H: TaskFn<{
|
|
1202
1208
|
target: string;
|
|
1203
1209
|
link: string;
|
|
1204
1210
|
force?: boolean | undefined;
|
|
@@ -1239,7 +1245,7 @@ declare const FileEditOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1239
1245
|
error: z.ZodOptional<z.ZodString>;
|
|
1240
1246
|
}, z.z.core.$strip>]>;
|
|
1241
1247
|
type FileEditResult = z.infer<typeof FileEditOutputSchema>;
|
|
1242
|
-
declare const _default$
|
|
1248
|
+
declare const _default$3G: TaskFn<{
|
|
1243
1249
|
file: string;
|
|
1244
1250
|
state?: "present" | "absent" | undefined;
|
|
1245
1251
|
backup?: boolean | undefined;
|
|
@@ -1290,7 +1296,7 @@ declare const FileGrepOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1290
1296
|
error: z.ZodOptional<z.ZodString>;
|
|
1291
1297
|
}, z.z.core.$strip>]>;
|
|
1292
1298
|
type FileGrepResult = z.infer<typeof FileGrepOutputSchema>;
|
|
1293
|
-
declare const _default$
|
|
1299
|
+
declare const _default$3F: TaskFn<{
|
|
1294
1300
|
file: string;
|
|
1295
1301
|
pattern: string;
|
|
1296
1302
|
ignore_case?: boolean | undefined;
|
|
@@ -1338,7 +1344,7 @@ type file_FileLinkResult = FileLinkResult;
|
|
|
1338
1344
|
type file_FileTouchParams = FileTouchParams;
|
|
1339
1345
|
type file_FileTouchResult = FileTouchResult;
|
|
1340
1346
|
declare namespace file {
|
|
1341
|
-
export { type file_ChgrpParams as ChgrpParams, type file_ChgrpResult as ChgrpResult, type file_ChmodParams as ChmodParams, type file_ChmodResult as ChmodResult, type file_ChownParams as ChownParams, type file_ChownResult as ChownResult, type file_FileCopyParams as FileCopyParams, type file_FileCopyResult as FileCopyResult, type file_FileDeleteParams as FileDeleteParams, type file_FileDeleteResult as FileDeleteResult, type file_FileEditParams as FileEditParams, type file_FileEditResult as FileEditResult, type file_FileExistsParams as FileExistsParams, type file_FileExistsResult as FileExistsResult, type file_FileGrepParams as FileGrepParams, type file_FileGrepResult as FileGrepResult, type file_FileLinkParams as FileLinkParams, type file_FileLinkResult as FileLinkResult, type file_FileTouchParams as FileTouchParams, type file_FileTouchResult as FileTouchResult, _default$
|
|
1347
|
+
export { type file_ChgrpParams as ChgrpParams, type file_ChgrpResult as ChgrpResult, type file_ChmodParams as ChmodParams, type file_ChmodResult as ChmodResult, type file_ChownParams as ChownParams, type file_ChownResult as ChownResult, type file_FileCopyParams as FileCopyParams, type file_FileCopyResult as FileCopyResult, type file_FileDeleteParams as FileDeleteParams, type file_FileDeleteResult as FileDeleteResult, type file_FileEditParams as FileEditParams, type file_FileEditResult as FileEditResult, type file_FileExistsParams as FileExistsParams, type file_FileExistsResult as FileExistsResult, type file_FileGrepParams as FileGrepParams, type file_FileGrepResult as FileGrepResult, type file_FileLinkParams as FileLinkParams, type file_FileLinkResult as FileLinkResult, type file_FileTouchParams as FileTouchParams, type file_FileTouchResult as FileTouchResult, _default$3N as chgrp, _default$3M as chmod, _default$3O as chown, _default$3L as copy, _default$3I as delete, _default$3G as edit, _default$3K as exists, _default$3F as grep, _default$3H as link, _default$3J as touch };
|
|
1342
1348
|
}
|
|
1343
1349
|
|
|
1344
1350
|
declare const GitCloneInputSchema: z.ZodObject<{
|
|
@@ -1353,7 +1359,7 @@ declare const GitCloneOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1353
1359
|
error: z.ZodOptional<z.ZodString>;
|
|
1354
1360
|
}, z.z.core.$strip>]>;
|
|
1355
1361
|
type GitCloneResult = z.infer<typeof GitCloneOutputSchema>;
|
|
1356
|
-
declare const _default$
|
|
1362
|
+
declare const _default$3E: TaskFn<{
|
|
1357
1363
|
repo: string;
|
|
1358
1364
|
dir: string;
|
|
1359
1365
|
}, {
|
|
@@ -1377,7 +1383,7 @@ declare const GitPullOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1377
1383
|
error: z.ZodOptional<z.ZodString>;
|
|
1378
1384
|
}, z.z.core.$strip>]>;
|
|
1379
1385
|
type GitPullResult = z.infer<typeof GitPullOutputSchema>;
|
|
1380
|
-
declare const _default$
|
|
1386
|
+
declare const _default$3D: TaskFn<{
|
|
1381
1387
|
directory: string;
|
|
1382
1388
|
rebase?: boolean | undefined;
|
|
1383
1389
|
remote?: string | undefined;
|
|
@@ -1402,7 +1408,7 @@ declare const GitCheckoutOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1402
1408
|
error: z.ZodOptional<z.ZodString>;
|
|
1403
1409
|
}, z.z.core.$strip>]>;
|
|
1404
1410
|
type GitCheckoutResult = z.infer<typeof GitCheckoutOutputSchema>;
|
|
1405
|
-
declare const _default$
|
|
1411
|
+
declare const _default$3C: TaskFn<{
|
|
1406
1412
|
directory: string;
|
|
1407
1413
|
target: string;
|
|
1408
1414
|
new_branch?: boolean | undefined;
|
|
@@ -1420,7 +1426,7 @@ type git_GitCloneResult = GitCloneResult;
|
|
|
1420
1426
|
type git_GitPullParams = GitPullParams;
|
|
1421
1427
|
type git_GitPullResult = GitPullResult;
|
|
1422
1428
|
declare namespace git {
|
|
1423
|
-
export { type git_GitCheckoutParams as GitCheckoutParams, type git_GitCheckoutResult as GitCheckoutResult, type git_GitCloneParams as GitCloneParams, type git_GitCloneResult as GitCloneResult, type git_GitPullParams as GitPullParams, type git_GitPullResult as GitPullResult, _default$
|
|
1429
|
+
export { type git_GitCheckoutParams as GitCheckoutParams, type git_GitCheckoutResult as GitCheckoutResult, type git_GitCloneParams as GitCloneParams, type git_GitCloneResult as GitCloneResult, type git_GitPullParams as GitPullParams, type git_GitPullResult as GitPullResult, _default$3C as checkout, _default$3E as clone, _default$3D as pull };
|
|
1424
1430
|
}
|
|
1425
1431
|
|
|
1426
1432
|
declare const GroupCreateInputSchema: z.ZodObject<{
|
|
@@ -1435,7 +1441,7 @@ declare const GroupCreateOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1435
1441
|
error: z.ZodOptional<z.ZodString>;
|
|
1436
1442
|
}, z.z.core.$strip>]>;
|
|
1437
1443
|
type GroupCreateResult = z.infer<typeof GroupCreateOutputSchema>;
|
|
1438
|
-
declare const _default$
|
|
1444
|
+
declare const _default$3B: TaskFn<{
|
|
1439
1445
|
group: string;
|
|
1440
1446
|
sudo?: boolean | undefined;
|
|
1441
1447
|
}, {
|
|
@@ -1458,7 +1464,7 @@ declare const GroupDeleteOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1458
1464
|
error: z.ZodOptional<z.ZodString>;
|
|
1459
1465
|
}, z.z.core.$strip>]>;
|
|
1460
1466
|
type GroupDeleteResult = z.infer<typeof GroupDeleteOutputSchema>;
|
|
1461
|
-
declare const _default$
|
|
1467
|
+
declare const _default$3A: TaskFn<{
|
|
1462
1468
|
group: string;
|
|
1463
1469
|
sudo?: boolean | undefined;
|
|
1464
1470
|
}, {
|
|
@@ -1477,7 +1483,7 @@ declare const GroupExistsOutputSchema: z.ZodObject<{
|
|
|
1477
1483
|
exists: z.ZodBoolean;
|
|
1478
1484
|
}, z.z.core.$strip>;
|
|
1479
1485
|
type GroupExistsResult = z.infer<typeof GroupExistsOutputSchema>;
|
|
1480
|
-
declare const _default$
|
|
1486
|
+
declare const _default$3z: TaskFn<{
|
|
1481
1487
|
group: string;
|
|
1482
1488
|
}, {
|
|
1483
1489
|
exists: boolean;
|
|
@@ -1498,7 +1504,7 @@ declare const GroupListOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1498
1504
|
groups: z.ZodArray<z.ZodType<GroupInfo, unknown, z.z.core.$ZodTypeInternals<GroupInfo, unknown>>>;
|
|
1499
1505
|
}, z.z.core.$strip>]>;
|
|
1500
1506
|
type GroupListResult = z.infer<typeof GroupListOutputSchema>;
|
|
1501
|
-
declare const _default$
|
|
1507
|
+
declare const _default$3y: TaskFn<Record<string, never>, {
|
|
1502
1508
|
success: true;
|
|
1503
1509
|
groups: GroupInfo[];
|
|
1504
1510
|
} | {
|
|
@@ -1524,7 +1530,7 @@ declare const GroupModifyOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1524
1530
|
error: z.ZodOptional<z.ZodString>;
|
|
1525
1531
|
}, z.z.core.$strip>]>;
|
|
1526
1532
|
type GroupModifyResult = z.infer<typeof GroupModifyOutputSchema>;
|
|
1527
|
-
declare const _default$
|
|
1533
|
+
declare const _default$3x: TaskFn<{
|
|
1528
1534
|
group: string;
|
|
1529
1535
|
new_name?: string | undefined;
|
|
1530
1536
|
gid?: number | undefined;
|
|
@@ -1551,7 +1557,7 @@ type group_GroupListResult = GroupListResult;
|
|
|
1551
1557
|
type group_GroupModifyParams = GroupModifyParams;
|
|
1552
1558
|
type group_GroupModifyResult = GroupModifyResult;
|
|
1553
1559
|
declare namespace group {
|
|
1554
|
-
export { type group_GroupCreateParams as GroupCreateParams, type group_GroupCreateResult as GroupCreateResult, type group_GroupDeleteParams as GroupDeleteParams, type group_GroupDeleteResult as GroupDeleteResult, type group_GroupExistsParams as GroupExistsParams, type group_GroupExistsResult as GroupExistsResult, type group_GroupInfo as GroupInfo, type group_GroupListParams as GroupListParams, type group_GroupListResult as GroupListResult, type group_GroupModifyParams as GroupModifyParams, type group_GroupModifyResult as GroupModifyResult, _default$
|
|
1560
|
+
export { type group_GroupCreateParams as GroupCreateParams, type group_GroupCreateResult as GroupCreateResult, type group_GroupDeleteParams as GroupDeleteParams, type group_GroupDeleteResult as GroupDeleteResult, type group_GroupExistsParams as GroupExistsParams, type group_GroupExistsResult as GroupExistsResult, type group_GroupInfo as GroupInfo, type group_GroupListParams as GroupListParams, type group_GroupListResult as GroupListResult, type group_GroupModifyParams as GroupModifyParams, type group_GroupModifyResult as GroupModifyResult, _default$3B as create, _default$3A as delete, _default$3z as exists, _default$3y as list, _default$3x as modify };
|
|
1555
1561
|
}
|
|
1556
1562
|
|
|
1557
1563
|
interface OSInfo {
|
|
@@ -1592,7 +1598,7 @@ declare const HostInfoOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1592
1598
|
error: z.ZodOptional<z.ZodString>;
|
|
1593
1599
|
}, z.z.core.$strip>]>;
|
|
1594
1600
|
type HostInfoResult = z.infer<typeof HostInfoOutputSchema>;
|
|
1595
|
-
declare const _default$
|
|
1601
|
+
declare const _default$3w: TaskFn<Record<string, never>, {
|
|
1596
1602
|
success: true;
|
|
1597
1603
|
host: HostInfo;
|
|
1598
1604
|
} | {
|
|
@@ -1610,7 +1616,7 @@ declare const HostSummaryOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1610
1616
|
error: z.ZodOptional<z.ZodString>;
|
|
1611
1617
|
}, z.z.core.$strip>]>;
|
|
1612
1618
|
type HostSummaryResult = z.infer<typeof HostSummaryOutputSchema>;
|
|
1613
|
-
declare const _default$
|
|
1619
|
+
declare const _default$3v: TaskFn<Record<string, never>, {
|
|
1614
1620
|
success: true;
|
|
1615
1621
|
host: HostSummary;
|
|
1616
1622
|
} | {
|
|
@@ -1647,7 +1653,7 @@ type OsDetailsResult = z.infer<typeof OsDetailsOutputSchema>;
|
|
|
1647
1653
|
* Determines the operating system family, specific OS, variant, and version.
|
|
1648
1654
|
* @returns {OsDetailsResult}
|
|
1649
1655
|
*/
|
|
1650
|
-
declare const _default$
|
|
1656
|
+
declare const _default$3u: TaskFn<Record<string, never>, {
|
|
1651
1657
|
success: true;
|
|
1652
1658
|
family: "darwin" | "linux" | "unknown" | "bsd" | "solaris" | "windows";
|
|
1653
1659
|
os: string;
|
|
@@ -1677,7 +1683,7 @@ declare const HostnameOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1677
1683
|
}, z.z.core.$strip>]>;
|
|
1678
1684
|
type HostnameParams = z.infer<typeof HostnameInputSchema>;
|
|
1679
1685
|
type HostnameResult = z.infer<typeof HostnameOutputSchema>;
|
|
1680
|
-
declare const _default$
|
|
1686
|
+
declare const _default$3t: TaskFn<{
|
|
1681
1687
|
new_name?: string | undefined;
|
|
1682
1688
|
}, {
|
|
1683
1689
|
success: true;
|
|
@@ -1718,7 +1724,7 @@ declare const BootstrapServiceAccountOutputSchema: z.ZodObject<{
|
|
|
1718
1724
|
trace: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1719
1725
|
}, z.z.core.$strip>;
|
|
1720
1726
|
type BootstrapServiceAccountResult = z.infer<typeof BootstrapServiceAccountOutputSchema>;
|
|
1721
|
-
declare const _default$
|
|
1727
|
+
declare const _default$3s: TaskFn<{
|
|
1722
1728
|
username: string;
|
|
1723
1729
|
password: string;
|
|
1724
1730
|
public_key: string;
|
|
@@ -1757,7 +1763,7 @@ type host_LSCPUChild = LSCPUChild;
|
|
|
1757
1763
|
type host_OSInfo = OSInfo;
|
|
1758
1764
|
type host_OsDetailsResult = OsDetailsResult;
|
|
1759
1765
|
declare namespace host {
|
|
1760
|
-
export { type host_BootstrapServiceAccountParams as BootstrapServiceAccountParams, type host_BootstrapServiceAccountResult as BootstrapServiceAccountResult, type host_HostInfo as HostInfo, type host_HostInfoResult as HostInfoResult, type host_HostSummary as HostSummary, type host_HostSummaryResult as HostSummaryResult, type host_HostnameParams as HostnameParams, type host_HostnameResult as HostnameResult, type host_LSBRelease as LSBRelease, type host_LSCPUChild as LSCPUChild, type host_OSInfo as OSInfo, type host_OsDetailsResult as OsDetailsResult, _default$
|
|
1766
|
+
export { type host_BootstrapServiceAccountParams as BootstrapServiceAccountParams, type host_BootstrapServiceAccountResult as BootstrapServiceAccountResult, type host_HostInfo as HostInfo, type host_HostInfoResult as HostInfoResult, type host_HostSummary as HostSummary, type host_HostSummaryResult as HostSummaryResult, type host_HostnameParams as HostnameParams, type host_HostnameResult as HostnameResult, type host_LSBRelease as LSBRelease, type host_LSCPUChild as LSCPUChild, type host_OSInfo as OSInfo, type host_OsDetailsResult as OsDetailsResult, _default$3s as bootstrapServiceAccount, _default$3t as hostname, _default$3w as info, _default$3u as os, _default$3v as summary };
|
|
1761
1767
|
}
|
|
1762
1768
|
|
|
1763
1769
|
interface AbstractPkgParams {
|
|
@@ -1806,7 +1812,7 @@ interface AbstractPkgInstallParams extends AbstractPkgParams {
|
|
|
1806
1812
|
}
|
|
1807
1813
|
interface AbstractPkgInstallResult extends AbstractPkgResult {
|
|
1808
1814
|
}
|
|
1809
|
-
declare const _default$
|
|
1815
|
+
declare const _default$3r: TaskFn<AbstractPkgInstallParams, AbstractPkgInstallResult>;
|
|
1810
1816
|
|
|
1811
1817
|
declare const AbstractPkgUninstallParamsSchema: z.ZodObject<{
|
|
1812
1818
|
sudo: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1828,7 +1834,7 @@ declare const AbstractPkgUninstallResultSchema: z.ZodObject<{
|
|
|
1828
1834
|
failed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1829
1835
|
}, z.z.core.$strip>;
|
|
1830
1836
|
type AbstractPkgUninstallResult = z.infer<typeof AbstractPkgUninstallResultSchema>;
|
|
1831
|
-
declare const _default$
|
|
1837
|
+
declare const _default$3q: TaskFn<{
|
|
1832
1838
|
package: string | string[];
|
|
1833
1839
|
sudo?: boolean | undefined;
|
|
1834
1840
|
packageManager?: string | undefined;
|
|
@@ -1848,6 +1854,7 @@ declare const _default$3n: TaskFn<{
|
|
|
1848
1854
|
|
|
1849
1855
|
declare const AbstractPkgUpdateParamsSchema: z.ZodObject<{
|
|
1850
1856
|
sudo: z.ZodOptional<z.ZodBoolean>;
|
|
1857
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1851
1858
|
packageManager: z.ZodOptional<z.ZodString>;
|
|
1852
1859
|
extraArgs: z.ZodOptional<z.ZodString>;
|
|
1853
1860
|
}, z.z.core.$strip>;
|
|
@@ -1864,8 +1871,9 @@ declare const AbstractPkgUpdateResultSchema: z.ZodObject<{
|
|
|
1864
1871
|
failed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1865
1872
|
}, z.z.core.$strip>;
|
|
1866
1873
|
type AbstractPkgUpdateResult = z.infer<typeof AbstractPkgUpdateResultSchema>;
|
|
1867
|
-
declare const _default$
|
|
1874
|
+
declare const _default$3p: TaskFn<{
|
|
1868
1875
|
sudo?: boolean | undefined;
|
|
1876
|
+
input?: Record<string, string> | undefined;
|
|
1869
1877
|
packageManager?: string | undefined;
|
|
1870
1878
|
extraArgs?: string | undefined;
|
|
1871
1879
|
}, {
|
|
@@ -1894,7 +1902,7 @@ declare const PkgInfoOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1894
1902
|
error: z.ZodOptional<z.ZodString>;
|
|
1895
1903
|
}, z.z.core.$strip>]>;
|
|
1896
1904
|
type PkgInfoResult = z.infer<typeof PkgInfoOutputSchema>;
|
|
1897
|
-
declare const _default$
|
|
1905
|
+
declare const _default$3o: TaskFn<{
|
|
1898
1906
|
package: string;
|
|
1899
1907
|
}, {
|
|
1900
1908
|
installed: boolean;
|
|
@@ -1946,13 +1954,11 @@ interface PkgIsInstalledResult {
|
|
|
1946
1954
|
error?: string;
|
|
1947
1955
|
}
|
|
1948
1956
|
|
|
1949
|
-
declare const _default$
|
|
1957
|
+
declare const _default$3n: TaskFn<PkgIsInstalledParams, PkgIsInstalledResult>;
|
|
1950
1958
|
|
|
1951
1959
|
declare const install: TaskFn<PkgInstallParams, PkgInstallResult>;
|
|
1952
1960
|
|
|
1953
|
-
declare const _default$
|
|
1954
|
-
|
|
1955
|
-
declare const _default$3i: TaskFn<PkgUpdateParams, PkgUpdateResult>;
|
|
1961
|
+
declare const _default$3m: TaskFn<PkgRemoveParams, PkgRemoveResult>;
|
|
1956
1962
|
|
|
1957
1963
|
declare const AbstractPkgUpgradeParamsSchema: z.ZodObject<{
|
|
1958
1964
|
sudo: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1972,7 +1978,7 @@ declare const AbstractPkgUpgradeResultSchema: z.ZodObject<{
|
|
|
1972
1978
|
failed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1973
1979
|
}, z.z.core.$strip>;
|
|
1974
1980
|
type AbstractPkgUpgradeResult = z.infer<typeof AbstractPkgUpgradeResultSchema>;
|
|
1975
|
-
declare const _default$
|
|
1981
|
+
declare const _default$3l: TaskFn<{
|
|
1976
1982
|
sudo?: boolean | undefined;
|
|
1977
1983
|
packageManager?: string | undefined;
|
|
1978
1984
|
extraArgs?: string | undefined;
|
|
@@ -2005,7 +2011,7 @@ declare const AbstractPkgSearchResultSchema: z.ZodObject<{
|
|
|
2005
2011
|
failed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2006
2012
|
}, z.z.core.$strip>;
|
|
2007
2013
|
type AbstractPkgSearchResult = z.infer<typeof AbstractPkgSearchResultSchema>;
|
|
2008
|
-
declare const _default$
|
|
2014
|
+
declare const _default$3k: TaskFn<{
|
|
2009
2015
|
query: string;
|
|
2010
2016
|
packageManager?: string | undefined;
|
|
2011
2017
|
}, {
|
|
@@ -2036,7 +2042,7 @@ declare const AbstractPkgListResultSchema: z.ZodObject<{
|
|
|
2036
2042
|
failed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2037
2043
|
}, z.z.core.$strip>;
|
|
2038
2044
|
type AbstractPkgListResult = z.infer<typeof AbstractPkgListResultSchema>;
|
|
2039
|
-
declare const _default$
|
|
2045
|
+
declare const _default$3j: TaskFn<{
|
|
2040
2046
|
packageManager?: string | undefined;
|
|
2041
2047
|
}, {
|
|
2042
2048
|
success: boolean;
|
|
@@ -2050,7 +2056,7 @@ declare const _default$3f: TaskFn<{
|
|
|
2050
2056
|
failed?: string[] | undefined;
|
|
2051
2057
|
}>;
|
|
2052
2058
|
|
|
2053
|
-
declare const _default$
|
|
2059
|
+
declare const _default$3i: TaskFn<AbstractPkgCleanParams, AbstractPkgCleanResult>;
|
|
2054
2060
|
|
|
2055
2061
|
interface AptBaseParams extends AbstractPkgParams {
|
|
2056
2062
|
/** Force use of apt package manager (always true for apt-specific tasks) */
|
|
@@ -2236,27 +2242,27 @@ interface AptAddRepositoryResult {
|
|
|
2236
2242
|
error?: string;
|
|
2237
2243
|
}
|
|
2238
2244
|
|
|
2239
|
-
declare const _default$
|
|
2245
|
+
declare const _default$3h: TaskFn<AptInstallParams, AptInstallResult>;
|
|
2240
2246
|
|
|
2241
|
-
declare const _default$
|
|
2247
|
+
declare const _default$3g: TaskFn<AptUninstallParams, AptUninstallResult>;
|
|
2242
2248
|
|
|
2243
|
-
declare const _default$
|
|
2249
|
+
declare const _default$3f: TaskFn<AptUpdateParams, AptUpdateResult>;
|
|
2244
2250
|
|
|
2245
|
-
declare const _default$
|
|
2251
|
+
declare const _default$3e: TaskFn<AptUpgradeParams, AptUpgradeResult>;
|
|
2246
2252
|
|
|
2247
|
-
declare const _default$
|
|
2253
|
+
declare const _default$3d: TaskFn<AptSearchParams, AptSearchResult>;
|
|
2248
2254
|
|
|
2249
|
-
declare const _default$
|
|
2255
|
+
declare const _default$3c: TaskFn<AptListParams, AptListResult>;
|
|
2250
2256
|
|
|
2251
|
-
declare const _default$
|
|
2257
|
+
declare const _default$3b: TaskFn<AptCleanParams, AptCleanResult>;
|
|
2252
2258
|
|
|
2253
|
-
declare const _default$
|
|
2259
|
+
declare const _default$3a: TaskFn<AptIsInstalledParams, AptIsInstalledResult>;
|
|
2254
2260
|
|
|
2255
|
-
declare const _default$
|
|
2261
|
+
declare const _default$39: TaskFn<AptInfoParams, AptInfoResult>;
|
|
2256
2262
|
|
|
2257
|
-
declare const _default$
|
|
2263
|
+
declare const _default$38: TaskFn<AptAddKeyParams, AptAddKeyResult>;
|
|
2258
2264
|
|
|
2259
|
-
declare const _default$
|
|
2265
|
+
declare const _default$37: TaskFn<AptAddRepositoryParams, AptAddRepositoryResult>;
|
|
2260
2266
|
|
|
2261
2267
|
type index$3_AptAddKeyParams = AptAddKeyParams;
|
|
2262
2268
|
type index$3_AptAddKeyResult = AptAddKeyResult;
|
|
@@ -2281,7 +2287,7 @@ type index$3_AptUpdateResult = AptUpdateResult;
|
|
|
2281
2287
|
type index$3_AptUpgradeParams = AptUpgradeParams;
|
|
2282
2288
|
type index$3_AptUpgradeResult = AptUpgradeResult;
|
|
2283
2289
|
declare namespace index$3 {
|
|
2284
|
-
export { type index$3_AptAddKeyParams as AptAddKeyParams, type index$3_AptAddKeyResult as AptAddKeyResult, type index$3_AptAddRepositoryParams as AptAddRepositoryParams, type index$3_AptAddRepositoryResult as AptAddRepositoryResult, type index$3_AptCleanParams as AptCleanParams, type index$3_AptCleanResult as AptCleanResult, type index$3_AptInfoParams as AptInfoParams, type index$3_AptInfoResult as AptInfoResult, type index$3_AptInstallParams as AptInstallParams, type index$3_AptInstallResult as AptInstallResult, type index$3_AptIsInstalledParams as AptIsInstalledParams, type index$3_AptIsInstalledResult as AptIsInstalledResult, type index$3_AptListParams as AptListParams, type index$3_AptListResult as AptListResult, type index$3_AptSearchParams as AptSearchParams, type index$3_AptSearchResult as AptSearchResult, type index$3_AptUninstallParams as AptUninstallParams, type index$3_AptUninstallResult as AptUninstallResult, type index$3_AptUpdateParams as AptUpdateParams, type index$3_AptUpdateResult as AptUpdateResult, type index$3_AptUpgradeParams as AptUpgradeParams, type index$3_AptUpgradeResult as AptUpgradeResult, _default$
|
|
2290
|
+
export { type index$3_AptAddKeyParams as AptAddKeyParams, type index$3_AptAddKeyResult as AptAddKeyResult, type index$3_AptAddRepositoryParams as AptAddRepositoryParams, type index$3_AptAddRepositoryResult as AptAddRepositoryResult, type index$3_AptCleanParams as AptCleanParams, type index$3_AptCleanResult as AptCleanResult, type index$3_AptInfoParams as AptInfoParams, type index$3_AptInfoResult as AptInfoResult, type index$3_AptInstallParams as AptInstallParams, type index$3_AptInstallResult as AptInstallResult, type index$3_AptIsInstalledParams as AptIsInstalledParams, type index$3_AptIsInstalledResult as AptIsInstalledResult, type index$3_AptListParams as AptListParams, type index$3_AptListResult as AptListResult, type index$3_AptSearchParams as AptSearchParams, type index$3_AptSearchResult as AptSearchResult, type index$3_AptUninstallParams as AptUninstallParams, type index$3_AptUninstallResult as AptUninstallResult, type index$3_AptUpdateParams as AptUpdateParams, type index$3_AptUpdateResult as AptUpdateResult, type index$3_AptUpgradeParams as AptUpgradeParams, type index$3_AptUpgradeResult as AptUpgradeResult, _default$38 as add_key, _default$37 as add_repository, _default$3b as clean, _default$39 as info, _default$3h as install, _default$3a as isInstalled, _default$3c as list, _default$3d as search, _default$3g as uninstall, _default$3f as update, _default$3e as upgrade };
|
|
2285
2291
|
}
|
|
2286
2292
|
|
|
2287
2293
|
interface DnfBaseParams extends AbstractPkgParams {
|
|
@@ -2454,23 +2460,23 @@ interface DnfInfoResult extends AbstractPkgResult {
|
|
|
2454
2460
|
installed?: boolean;
|
|
2455
2461
|
}
|
|
2456
2462
|
|
|
2457
|
-
declare const _default$
|
|
2463
|
+
declare const _default$36: TaskFn<DnfInstallParams, DnfInstallResult>;
|
|
2458
2464
|
|
|
2459
|
-
declare const _default$
|
|
2465
|
+
declare const _default$35: TaskFn<DnfUninstallParams, DnfUninstallResult>;
|
|
2460
2466
|
|
|
2461
|
-
declare const _default$
|
|
2467
|
+
declare const _default$34: TaskFn<DnfUpdateParams, DnfUpdateResult>;
|
|
2462
2468
|
|
|
2463
|
-
declare const _default$
|
|
2469
|
+
declare const _default$33: TaskFn<DnfUpgradeParams, DnfUpgradeResult>;
|
|
2464
2470
|
|
|
2465
|
-
declare const _default$
|
|
2471
|
+
declare const _default$32: TaskFn<DnfSearchParams, DnfSearchResult>;
|
|
2466
2472
|
|
|
2467
|
-
declare const _default$
|
|
2473
|
+
declare const _default$31: TaskFn<DnfListParams, DnfListResult>;
|
|
2468
2474
|
|
|
2469
|
-
declare const _default$
|
|
2475
|
+
declare const _default$30: TaskFn<DnfCleanParams, DnfCleanResult>;
|
|
2470
2476
|
|
|
2471
|
-
declare const _default$
|
|
2477
|
+
declare const _default$2$: TaskFn<DnfIsInstalledParams, DnfIsInstalledResult>;
|
|
2472
2478
|
|
|
2473
|
-
declare const _default$
|
|
2479
|
+
declare const _default$2_: TaskFn<DnfInfoParams, DnfInfoResult>;
|
|
2474
2480
|
|
|
2475
2481
|
type index$2_DnfCleanParams = DnfCleanParams;
|
|
2476
2482
|
type index$2_DnfCleanResult = DnfCleanResult;
|
|
@@ -2491,7 +2497,7 @@ type index$2_DnfUpdateResult = DnfUpdateResult;
|
|
|
2491
2497
|
type index$2_DnfUpgradeParams = DnfUpgradeParams;
|
|
2492
2498
|
type index$2_DnfUpgradeResult = DnfUpgradeResult;
|
|
2493
2499
|
declare namespace index$2 {
|
|
2494
|
-
export { type index$2_DnfCleanParams as DnfCleanParams, type index$2_DnfCleanResult as DnfCleanResult, type index$2_DnfInfoParams as DnfInfoParams, type index$2_DnfInfoResult as DnfInfoResult, type index$2_DnfInstallParams as DnfInstallParams, type index$2_DnfInstallResult as DnfInstallResult, type index$2_DnfIsInstalledParams as DnfIsInstalledParams, type index$2_DnfIsInstalledResult as DnfIsInstalledResult, type index$2_DnfListParams as DnfListParams, type index$2_DnfListResult as DnfListResult, type index$2_DnfSearchParams as DnfSearchParams, type index$2_DnfSearchResult as DnfSearchResult, type index$2_DnfUninstallParams as DnfUninstallParams, type index$2_DnfUninstallResult as DnfUninstallResult, type index$2_DnfUpdateParams as DnfUpdateParams, type index$2_DnfUpdateResult as DnfUpdateResult, type index$2_DnfUpgradeParams as DnfUpgradeParams, type index$2_DnfUpgradeResult as DnfUpgradeResult, _default$
|
|
2500
|
+
export { type index$2_DnfCleanParams as DnfCleanParams, type index$2_DnfCleanResult as DnfCleanResult, type index$2_DnfInfoParams as DnfInfoParams, type index$2_DnfInfoResult as DnfInfoResult, type index$2_DnfInstallParams as DnfInstallParams, type index$2_DnfInstallResult as DnfInstallResult, type index$2_DnfIsInstalledParams as DnfIsInstalledParams, type index$2_DnfIsInstalledResult as DnfIsInstalledResult, type index$2_DnfListParams as DnfListParams, type index$2_DnfListResult as DnfListResult, type index$2_DnfSearchParams as DnfSearchParams, type index$2_DnfSearchResult as DnfSearchResult, type index$2_DnfUninstallParams as DnfUninstallParams, type index$2_DnfUninstallResult as DnfUninstallResult, type index$2_DnfUpdateParams as DnfUpdateParams, type index$2_DnfUpdateResult as DnfUpdateResult, type index$2_DnfUpgradeParams as DnfUpgradeParams, type index$2_DnfUpgradeResult as DnfUpgradeResult, _default$30 as clean, _default$2_ as info, _default$36 as install, _default$2$ as isInstalled, _default$31 as list, _default$32 as search, _default$35 as uninstall, _default$34 as update, _default$33 as upgrade };
|
|
2495
2501
|
}
|
|
2496
2502
|
|
|
2497
2503
|
interface YumBaseParams extends AbstractPkgParams {
|
|
@@ -2656,23 +2662,23 @@ interface YumInfoResult extends AbstractPkgResult {
|
|
|
2656
2662
|
installed?: boolean;
|
|
2657
2663
|
}
|
|
2658
2664
|
|
|
2659
|
-
declare const _default$
|
|
2665
|
+
declare const _default$2Z: TaskFn<YumInstallParams, YumInstallResult>;
|
|
2660
2666
|
|
|
2661
|
-
declare const _default$
|
|
2667
|
+
declare const _default$2Y: TaskFn<YumUninstallParams, YumUninstallResult>;
|
|
2662
2668
|
|
|
2663
|
-
declare const _default$
|
|
2669
|
+
declare const _default$2X: TaskFn<YumUpdateParams, YumUpdateResult>;
|
|
2664
2670
|
|
|
2665
|
-
declare const _default$
|
|
2671
|
+
declare const _default$2W: TaskFn<YumUpgradeParams, YumUpgradeResult>;
|
|
2666
2672
|
|
|
2667
|
-
declare const _default$
|
|
2673
|
+
declare const _default$2V: TaskFn<YumSearchParams, YumSearchResult>;
|
|
2668
2674
|
|
|
2669
|
-
declare const _default$
|
|
2675
|
+
declare const _default$2U: TaskFn<YumListParams, YumListResult>;
|
|
2670
2676
|
|
|
2671
|
-
declare const _default$
|
|
2677
|
+
declare const _default$2T: TaskFn<YumCleanParams, YumCleanResult>;
|
|
2672
2678
|
|
|
2673
|
-
declare const _default$
|
|
2679
|
+
declare const _default$2S: TaskFn<YumIsInstalledParams, YumIsInstalledResult>;
|
|
2674
2680
|
|
|
2675
|
-
declare const _default$
|
|
2681
|
+
declare const _default$2R: TaskFn<YumInfoParams, YumInfoResult>;
|
|
2676
2682
|
|
|
2677
2683
|
type index$1_YumCleanParams = YumCleanParams;
|
|
2678
2684
|
type index$1_YumCleanResult = YumCleanResult;
|
|
@@ -2693,7 +2699,7 @@ type index$1_YumUpdateResult = YumUpdateResult;
|
|
|
2693
2699
|
type index$1_YumUpgradeParams = YumUpgradeParams;
|
|
2694
2700
|
type index$1_YumUpgradeResult = YumUpgradeResult;
|
|
2695
2701
|
declare namespace index$1 {
|
|
2696
|
-
export { type index$1_YumCleanParams as YumCleanParams, type index$1_YumCleanResult as YumCleanResult, type index$1_YumInfoParams as YumInfoParams, type index$1_YumInfoResult as YumInfoResult, type index$1_YumInstallParams as YumInstallParams, type index$1_YumInstallResult as YumInstallResult, type index$1_YumIsInstalledParams as YumIsInstalledParams, type index$1_YumIsInstalledResult as YumIsInstalledResult, type index$1_YumListParams as YumListParams, type index$1_YumListResult as YumListResult, type index$1_YumSearchParams as YumSearchParams, type index$1_YumSearchResult as YumSearchResult, type index$1_YumUninstallParams as YumUninstallParams, type index$1_YumUninstallResult as YumUninstallResult, type index$1_YumUpdateParams as YumUpdateParams, type index$1_YumUpdateResult as YumUpdateResult, type index$1_YumUpgradeParams as YumUpgradeParams, type index$1_YumUpgradeResult as YumUpgradeResult, _default$
|
|
2702
|
+
export { type index$1_YumCleanParams as YumCleanParams, type index$1_YumCleanResult as YumCleanResult, type index$1_YumInfoParams as YumInfoParams, type index$1_YumInfoResult as YumInfoResult, type index$1_YumInstallParams as YumInstallParams, type index$1_YumInstallResult as YumInstallResult, type index$1_YumIsInstalledParams as YumIsInstalledParams, type index$1_YumIsInstalledResult as YumIsInstalledResult, type index$1_YumListParams as YumListParams, type index$1_YumListResult as YumListResult, type index$1_YumSearchParams as YumSearchParams, type index$1_YumSearchResult as YumSearchResult, type index$1_YumUninstallParams as YumUninstallParams, type index$1_YumUninstallResult as YumUninstallResult, type index$1_YumUpdateParams as YumUpdateParams, type index$1_YumUpdateResult as YumUpdateResult, type index$1_YumUpgradeParams as YumUpgradeParams, type index$1_YumUpgradeResult as YumUpgradeResult, _default$2T as clean, _default$2R as info, _default$2Z as install, _default$2S as isInstalled, _default$2U as list, _default$2V as search, _default$2Y as uninstall, _default$2X as update, _default$2W as upgrade };
|
|
2697
2703
|
}
|
|
2698
2704
|
|
|
2699
2705
|
interface PacmanBaseParams extends AbstractPkgParams {
|
|
@@ -2874,25 +2880,25 @@ interface PacmanInfoResult extends AbstractPkgResult {
|
|
|
2874
2880
|
};
|
|
2875
2881
|
}
|
|
2876
2882
|
|
|
2877
|
-
declare const _default$
|
|
2883
|
+
declare const _default$2Q: TaskFn<PacmanInstallParams, PacmanInstallResult>;
|
|
2878
2884
|
|
|
2879
|
-
declare const _default$
|
|
2885
|
+
declare const _default$2P: TaskFn<PacmanUninstallParams, PacmanUninstallResult>;
|
|
2880
2886
|
|
|
2881
|
-
declare const _default$
|
|
2887
|
+
declare const _default$2O: TaskFn<PacmanUpdateParams, PacmanUpdateResult>;
|
|
2882
2888
|
|
|
2883
|
-
declare const _default$
|
|
2889
|
+
declare const _default$2N: TaskFn<PacmanUpgradeParams, PacmanUpgradeResult>;
|
|
2884
2890
|
|
|
2885
|
-
declare const _default$
|
|
2891
|
+
declare const _default$2M: TaskFn<PacmanSearchParams, PacmanSearchResult>;
|
|
2886
2892
|
|
|
2887
|
-
declare const _default$
|
|
2893
|
+
declare const _default$2L: TaskFn<PacmanListParams, PacmanListResult>;
|
|
2888
2894
|
|
|
2889
|
-
declare const _default$
|
|
2895
|
+
declare const _default$2K: TaskFn<PacmanCleanParams, PacmanCleanResult>;
|
|
2890
2896
|
|
|
2891
|
-
declare const _default$
|
|
2897
|
+
declare const _default$2J: TaskFn<PacmanIsInstalledParams, PacmanIsInstalledResult>;
|
|
2892
2898
|
|
|
2893
|
-
declare const _default$
|
|
2899
|
+
declare const _default$2I: TaskFn<PacmanInfoParams, PacmanInfoResult>;
|
|
2894
2900
|
|
|
2895
|
-
declare const _default$
|
|
2901
|
+
declare const _default$2H: TaskFn<PacmanKeyringRepairParams, PacmanKeyringRepairResult>;
|
|
2896
2902
|
|
|
2897
2903
|
type index_PacmanCleanParams = PacmanCleanParams;
|
|
2898
2904
|
type index_PacmanCleanResult = PacmanCleanResult;
|
|
@@ -2915,7 +2921,7 @@ type index_PacmanUpdateResult = PacmanUpdateResult;
|
|
|
2915
2921
|
type index_PacmanUpgradeParams = PacmanUpgradeParams;
|
|
2916
2922
|
type index_PacmanUpgradeResult = PacmanUpgradeResult;
|
|
2917
2923
|
declare namespace index {
|
|
2918
|
-
export { type index_PacmanCleanParams as PacmanCleanParams, type index_PacmanCleanResult as PacmanCleanResult, type index_PacmanInfoParams as PacmanInfoParams, type index_PacmanInfoResult as PacmanInfoResult, type index_PacmanInstallParams as PacmanInstallParams, type index_PacmanInstallResult as PacmanInstallResult, type index_PacmanIsInstalledParams as PacmanIsInstalledParams, type index_PacmanIsInstalledResult as PacmanIsInstalledResult, type index_PacmanKeyringRepairParams as PacmanKeyringRepairParams, type index_PacmanKeyringRepairResult as PacmanKeyringRepairResult, type index_PacmanListParams as PacmanListParams, type index_PacmanListResult as PacmanListResult, type index_PacmanSearchParams as PacmanSearchParams, type index_PacmanSearchResult as PacmanSearchResult, type index_PacmanUninstallParams as PacmanUninstallParams, type index_PacmanUninstallResult as PacmanUninstallResult, type index_PacmanUpdateParams as PacmanUpdateParams, type index_PacmanUpdateResult as PacmanUpdateResult, type index_PacmanUpgradeParams as PacmanUpgradeParams, type index_PacmanUpgradeResult as PacmanUpgradeResult, _default$
|
|
2924
|
+
export { type index_PacmanCleanParams as PacmanCleanParams, type index_PacmanCleanResult as PacmanCleanResult, type index_PacmanInfoParams as PacmanInfoParams, type index_PacmanInfoResult as PacmanInfoResult, type index_PacmanInstallParams as PacmanInstallParams, type index_PacmanInstallResult as PacmanInstallResult, type index_PacmanIsInstalledParams as PacmanIsInstalledParams, type index_PacmanIsInstalledResult as PacmanIsInstalledResult, type index_PacmanKeyringRepairParams as PacmanKeyringRepairParams, type index_PacmanKeyringRepairResult as PacmanKeyringRepairResult, type index_PacmanListParams as PacmanListParams, type index_PacmanListResult as PacmanListResult, type index_PacmanSearchParams as PacmanSearchParams, type index_PacmanSearchResult as PacmanSearchResult, type index_PacmanUninstallParams as PacmanUninstallParams, type index_PacmanUninstallResult as PacmanUninstallResult, type index_PacmanUpdateParams as PacmanUpdateParams, type index_PacmanUpdateResult as PacmanUpdateResult, type index_PacmanUpgradeParams as PacmanUpgradeParams, type index_PacmanUpgradeResult as PacmanUpgradeResult, _default$2K as clean, _default$2I as info, _default$2Q as install, _default$2J as isInstalled, _default$2L as list, _default$2H as repair_keyring, _default$2M as search, _default$2P as uninstall, _default$2O as update, _default$2N as upgrade };
|
|
2919
2925
|
}
|
|
2920
2926
|
|
|
2921
2927
|
type pkg_AbstractPkgCleanParams = AbstractPkgCleanParams;
|
|
@@ -2945,7 +2951,7 @@ type pkg_PkgRemoveResult = PkgRemoveResult;
|
|
|
2945
2951
|
type pkg_PkgUpdateParams = PkgUpdateParams;
|
|
2946
2952
|
type pkg_PkgUpdateResult = PkgUpdateResult;
|
|
2947
2953
|
declare namespace pkg {
|
|
2948
|
-
export { type pkg_AbstractPkgCleanParams as AbstractPkgCleanParams, type pkg_AbstractPkgCleanResult as AbstractPkgCleanResult, type pkg_AbstractPkgInstallParams as AbstractPkgInstallParams, type pkg_AbstractPkgInstallResult as AbstractPkgInstallResult, type pkg_AbstractPkgListParams as AbstractPkgListParams, type pkg_AbstractPkgListResult as AbstractPkgListResult, type pkg_AbstractPkgParams as AbstractPkgParams, type pkg_AbstractPkgResult as AbstractPkgResult, type pkg_AbstractPkgSearchParams as AbstractPkgSearchParams, type pkg_AbstractPkgSearchResult as AbstractPkgSearchResult, type pkg_AbstractPkgUninstallParams as AbstractPkgUninstallParams, type pkg_AbstractPkgUninstallResult as AbstractPkgUninstallResult, type pkg_AbstractPkgUpdateParams as AbstractPkgUpdateParams, type pkg_AbstractPkgUpdateResult as AbstractPkgUpdateResult, type pkg_AbstractPkgUpgradeParams as AbstractPkgUpgradeParams, type pkg_AbstractPkgUpgradeResult as AbstractPkgUpgradeResult, type pkg_PkgInfoParams as PkgInfoParams, type pkg_PkgInfoResult as PkgInfoResult, type pkg_PkgInstallParams as PkgInstallParams, type pkg_PkgInstallResult as PkgInstallResult, type pkg_PkgIsInstalledParams as PkgIsInstalledParams, type pkg_PkgIsInstalledResult as PkgIsInstalledResult, type pkg_PkgRemoveParams as PkgRemoveParams, type pkg_PkgRemoveResult as PkgRemoveResult, type pkg_PkgUpdateParams as PkgUpdateParams, type pkg_PkgUpdateResult as PkgUpdateResult, index$3 as apt, _default$
|
|
2954
|
+
export { type pkg_AbstractPkgCleanParams as AbstractPkgCleanParams, type pkg_AbstractPkgCleanResult as AbstractPkgCleanResult, type pkg_AbstractPkgInstallParams as AbstractPkgInstallParams, type pkg_AbstractPkgInstallResult as AbstractPkgInstallResult, type pkg_AbstractPkgListParams as AbstractPkgListParams, type pkg_AbstractPkgListResult as AbstractPkgListResult, type pkg_AbstractPkgParams as AbstractPkgParams, type pkg_AbstractPkgResult as AbstractPkgResult, type pkg_AbstractPkgSearchParams as AbstractPkgSearchParams, type pkg_AbstractPkgSearchResult as AbstractPkgSearchResult, type pkg_AbstractPkgUninstallParams as AbstractPkgUninstallParams, type pkg_AbstractPkgUninstallResult as AbstractPkgUninstallResult, type pkg_AbstractPkgUpdateParams as AbstractPkgUpdateParams, type pkg_AbstractPkgUpdateResult as AbstractPkgUpdateResult, type pkg_AbstractPkgUpgradeParams as AbstractPkgUpgradeParams, type pkg_AbstractPkgUpgradeResult as AbstractPkgUpgradeResult, type pkg_PkgInfoParams as PkgInfoParams, type pkg_PkgInfoResult as PkgInfoResult, type pkg_PkgInstallParams as PkgInstallParams, type pkg_PkgInstallResult as PkgInstallResult, type pkg_PkgIsInstalledParams as PkgIsInstalledParams, type pkg_PkgIsInstalledResult as PkgIsInstalledResult, type pkg_PkgRemoveParams as PkgRemoveParams, type pkg_PkgRemoveResult as PkgRemoveResult, type pkg_PkgUpdateParams as PkgUpdateParams, type pkg_PkgUpdateResult as PkgUpdateResult, index$3 as apt, _default$3i as clean, index$2 as dnf, _default$3o as info, _default$3r as install, install as installCp, _default$3n as isInstalled, _default$3j as list, index as pacman, _default$3q as remove, _default$3m as removeCp, _default$3k as search, _default$3p as update, _default$3l as upgrade, index$1 as yum };
|
|
2949
2955
|
}
|
|
2950
2956
|
|
|
2951
2957
|
declare const K3supInstallInputSchema: z.ZodObject<{
|
|
@@ -2980,7 +2986,7 @@ declare const K3supInstallOutputSchema: z.ZodObject<{
|
|
|
2980
2986
|
executedCommand: z.ZodOptional<z.ZodString>;
|
|
2981
2987
|
}, z.z.core.$strip>;
|
|
2982
2988
|
type K3supInstallResult = z.infer<typeof K3supInstallOutputSchema>;
|
|
2983
|
-
declare const _default$
|
|
2989
|
+
declare const _default$2G: TaskFn<{
|
|
2984
2990
|
cluster?: boolean | undefined;
|
|
2985
2991
|
context?: string | undefined;
|
|
2986
2992
|
datastore?: string | undefined;
|
|
@@ -3013,7 +3019,7 @@ declare const _default$2C: TaskFn<{
|
|
|
3013
3019
|
type k3s_K3supInstallParams = K3supInstallParams;
|
|
3014
3020
|
type k3s_K3supInstallResult = K3supInstallResult;
|
|
3015
3021
|
declare namespace k3s {
|
|
3016
|
-
export { type k3s_K3supInstallParams as K3supInstallParams, type k3s_K3supInstallResult as K3supInstallResult, _default$
|
|
3022
|
+
export { type k3s_K3supInstallParams as K3supInstallParams, type k3s_K3supInstallResult as K3supInstallResult, _default$2G as k3supInstall };
|
|
3017
3023
|
}
|
|
3018
3024
|
|
|
3019
3025
|
declare const DockerInstallInputSchema: z.ZodObject<{
|
|
@@ -3032,7 +3038,7 @@ declare const DockerInstallOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3032
3038
|
error: z.ZodOptional<z.ZodString>;
|
|
3033
3039
|
}, z.z.core.$strip>]>;
|
|
3034
3040
|
type DockerInstallResult = z.infer<typeof DockerInstallOutputSchema>;
|
|
3035
|
-
declare const _default$
|
|
3041
|
+
declare const _default$2F: TaskFn<{
|
|
3036
3042
|
users?: string[] | undefined;
|
|
3037
3043
|
install_compose_plugin?: boolean | undefined;
|
|
3038
3044
|
install_compose_standalone?: boolean | undefined;
|
|
@@ -3058,7 +3064,7 @@ declare const AddUsersOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3058
3064
|
error: z.ZodOptional<z.ZodString>;
|
|
3059
3065
|
}, z.z.core.$strip>]>;
|
|
3060
3066
|
type AddUsersResult = z.infer<typeof AddUsersOutputSchema>;
|
|
3061
|
-
declare const _default$
|
|
3067
|
+
declare const _default$2E: TaskFn<{
|
|
3062
3068
|
users: string[];
|
|
3063
3069
|
}, {
|
|
3064
3070
|
success: true;
|
|
@@ -3081,7 +3087,7 @@ declare const InstallComposeOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3081
3087
|
error: z.ZodOptional<z.ZodString>;
|
|
3082
3088
|
}, z.z.core.$strip>]>;
|
|
3083
3089
|
type InstallComposeResult = z.infer<typeof InstallComposeOutputSchema>;
|
|
3084
|
-
declare const _default$
|
|
3090
|
+
declare const _default$2D: TaskFn<{
|
|
3085
3091
|
version?: string | undefined;
|
|
3086
3092
|
path?: string | undefined;
|
|
3087
3093
|
}, {
|
|
@@ -3130,7 +3136,7 @@ declare const DockerRunContainerOutputSchema: z.ZodObject<{
|
|
|
3130
3136
|
error: z.ZodOptional<z.ZodString>;
|
|
3131
3137
|
}, z.z.core.$strip>;
|
|
3132
3138
|
type DockerRunContainerResult = z.infer<typeof DockerRunContainerOutputSchema>;
|
|
3133
|
-
declare const _default$
|
|
3139
|
+
declare const _default$2C: TaskFn<{
|
|
3134
3140
|
image: string;
|
|
3135
3141
|
name?: string | undefined;
|
|
3136
3142
|
env?: Record<string, string> | undefined;
|
|
@@ -3196,7 +3202,7 @@ declare const DockerRunDetachedOutputSchema: z.ZodObject<{
|
|
|
3196
3202
|
error: z.ZodOptional<z.ZodString>;
|
|
3197
3203
|
}, z.z.core.$strip>;
|
|
3198
3204
|
type DockerRunDetachedResult = z.infer<typeof DockerRunDetachedOutputSchema>;
|
|
3199
|
-
declare const _default$
|
|
3205
|
+
declare const _default$2B: TaskFn<DockerRunCommonParams, {
|
|
3200
3206
|
success: boolean;
|
|
3201
3207
|
stdout: string;
|
|
3202
3208
|
stderr: string;
|
|
@@ -3216,10 +3222,10 @@ type docker_DockerRunDetachedResult = DockerRunDetachedResult;
|
|
|
3216
3222
|
type docker_InstallComposeParams = InstallComposeParams;
|
|
3217
3223
|
type docker_InstallComposeResult = InstallComposeResult;
|
|
3218
3224
|
declare namespace docker {
|
|
3219
|
-
export { type docker_AddUsersParams as AddUsersParams, type docker_AddUsersResult as AddUsersResult, type docker_DockerInstallParams as DockerInstallParams, type docker_DockerInstallResult as DockerInstallResult, type docker_DockerRunContainerParams as DockerRunContainerParams, type docker_DockerRunContainerResult as DockerRunContainerResult, type docker_DockerRunDetachedParams as DockerRunDetachedParams, type docker_DockerRunDetachedResult as DockerRunDetachedResult, type docker_InstallComposeParams as InstallComposeParams, type docker_InstallComposeResult as InstallComposeResult, _default$
|
|
3225
|
+
export { type docker_AddUsersParams as AddUsersParams, type docker_AddUsersResult as AddUsersResult, type docker_DockerInstallParams as DockerInstallParams, type docker_DockerInstallResult as DockerInstallResult, type docker_DockerRunContainerParams as DockerRunContainerParams, type docker_DockerRunContainerResult as DockerRunContainerResult, type docker_DockerRunDetachedParams as DockerRunDetachedParams, type docker_DockerRunDetachedResult as DockerRunDetachedResult, type docker_InstallComposeParams as InstallComposeParams, type docker_InstallComposeResult as InstallComposeResult, _default$2E as addUsers, _default$2F as install, _default$2D as installCompose, _default$2C as runContainer, _default$2B as runContainerDetached };
|
|
3220
3226
|
}
|
|
3221
3227
|
|
|
3222
|
-
declare const _default$
|
|
3228
|
+
declare const _default$2A: TaskFn<{
|
|
3223
3229
|
public_key: string;
|
|
3224
3230
|
user?: string | undefined;
|
|
3225
3231
|
sudo?: boolean | undefined;
|
|
@@ -3233,10 +3239,10 @@ declare const _default$2w: TaskFn<{
|
|
|
3233
3239
|
}>;
|
|
3234
3240
|
|
|
3235
3241
|
declare namespace ssh {
|
|
3236
|
-
export { _default$
|
|
3242
|
+
export { _default$2A as copy_id };
|
|
3237
3243
|
}
|
|
3238
3244
|
|
|
3239
|
-
declare const _default$
|
|
3245
|
+
declare const _default$2z: TaskFn<{
|
|
3240
3246
|
file?: string | undefined;
|
|
3241
3247
|
}, {
|
|
3242
3248
|
success: true;
|
|
@@ -3245,7 +3251,7 @@ declare const _default$2v: TaskFn<{
|
|
|
3245
3251
|
error?: string | undefined;
|
|
3246
3252
|
}>;
|
|
3247
3253
|
|
|
3248
|
-
declare const _default$
|
|
3254
|
+
declare const _default$2y: TaskFn<{
|
|
3249
3255
|
user: string;
|
|
3250
3256
|
name?: string | undefined;
|
|
3251
3257
|
}, {
|
|
@@ -3259,7 +3265,7 @@ declare const _default$2u: TaskFn<{
|
|
|
3259
3265
|
error?: string | undefined;
|
|
3260
3266
|
}>;
|
|
3261
3267
|
|
|
3262
|
-
declare const _default$
|
|
3268
|
+
declare const _default$2x: TaskFn<{
|
|
3263
3269
|
user: string;
|
|
3264
3270
|
name?: string | undefined;
|
|
3265
3271
|
}, {
|
|
@@ -3275,7 +3281,7 @@ declare const _default$2t: TaskFn<{
|
|
|
3275
3281
|
}>;
|
|
3276
3282
|
|
|
3277
3283
|
declare namespace sudoers {
|
|
3278
|
-
export { _default$
|
|
3284
|
+
export { _default$2z as check, _default$2y as grantNopasswd, _default$2x as revokeNopasswd };
|
|
3279
3285
|
}
|
|
3280
3286
|
|
|
3281
3287
|
declare const ProcessListInputSchema: z.ZodObject<{
|
|
@@ -3328,7 +3334,7 @@ declare const ProcessListOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3328
3334
|
error: z.ZodOptional<z.ZodString>;
|
|
3329
3335
|
}, z.z.core.$strip>]>;
|
|
3330
3336
|
type ProcessListResult = z.infer<typeof ProcessListOutputSchema>;
|
|
3331
|
-
declare const _default$
|
|
3337
|
+
declare const _default$2w: TaskFn<{
|
|
3332
3338
|
user?: string | undefined;
|
|
3333
3339
|
command?: string | undefined;
|
|
3334
3340
|
limit?: number | undefined;
|
|
@@ -3422,7 +3428,7 @@ declare const ProcessSearchOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3422
3428
|
error: z.ZodOptional<z.ZodString>;
|
|
3423
3429
|
}, z.z.core.$strip>]>;
|
|
3424
3430
|
type ProcessSearchResult = z.infer<typeof ProcessSearchOutputSchema>;
|
|
3425
|
-
declare const _default$
|
|
3431
|
+
declare const _default$2v: TaskFn<{
|
|
3426
3432
|
name?: string | undefined;
|
|
3427
3433
|
user?: string | undefined;
|
|
3428
3434
|
pid?: number | undefined;
|
|
@@ -3491,7 +3497,7 @@ declare const ProcessKillOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3491
3497
|
error: z.ZodOptional<z.ZodString>;
|
|
3492
3498
|
}, z.z.core.$strip>]>;
|
|
3493
3499
|
type ProcessKillResult = z.infer<typeof ProcessKillOutputSchema>;
|
|
3494
|
-
declare const _default$
|
|
3500
|
+
declare const _default$2u: TaskFn<{
|
|
3495
3501
|
pid?: number | number[] | undefined;
|
|
3496
3502
|
user?: string | undefined;
|
|
3497
3503
|
command?: string | undefined;
|
|
@@ -3522,7 +3528,7 @@ declare const ProcessSignalOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3522
3528
|
error: z.ZodOptional<z.ZodString>;
|
|
3523
3529
|
}, z.z.core.$strip>]>;
|
|
3524
3530
|
type ProcessSignalResult = z.infer<typeof ProcessSignalOutputSchema>;
|
|
3525
|
-
declare const _default$
|
|
3531
|
+
declare const _default$2t: TaskFn<{
|
|
3526
3532
|
pid: number;
|
|
3527
3533
|
signal?: string | undefined;
|
|
3528
3534
|
sudo?: boolean | undefined;
|
|
@@ -3560,7 +3566,7 @@ declare const ProcessInfoOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3560
3566
|
error: z.ZodOptional<z.ZodString>;
|
|
3561
3567
|
}, z.z.core.$strip>]>;
|
|
3562
3568
|
type ProcessInfoResult = z.infer<typeof ProcessInfoOutputSchema>;
|
|
3563
|
-
declare const _default$
|
|
3569
|
+
declare const _default$2s: TaskFn<{
|
|
3564
3570
|
pid: number;
|
|
3565
3571
|
}, {
|
|
3566
3572
|
success: true;
|
|
@@ -3671,7 +3677,7 @@ declare const ProcessTopOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3671
3677
|
timestamp: z.ZodString;
|
|
3672
3678
|
}, z.z.core.$strip>]>;
|
|
3673
3679
|
type ProcessTopResult = z.infer<typeof ProcessTopOutputSchema>;
|
|
3674
|
-
declare const _default$
|
|
3680
|
+
declare const _default$2r: TaskFn<{
|
|
3675
3681
|
limit?: number | undefined;
|
|
3676
3682
|
sort?: "pid" | "cpu" | "command" | "mem" | "time" | undefined;
|
|
3677
3683
|
user?: string | undefined;
|
|
@@ -3830,7 +3836,7 @@ declare const ProcessStatsOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3830
3836
|
timestamp: z.ZodString;
|
|
3831
3837
|
}, z.z.core.$strip>]>;
|
|
3832
3838
|
type ProcessStatsResult = z.infer<typeof ProcessStatsOutputSchema>;
|
|
3833
|
-
declare const _default$
|
|
3839
|
+
declare const _default$2q: TaskFn<{
|
|
3834
3840
|
includeUsers?: boolean | undefined;
|
|
3835
3841
|
includeStates?: boolean | undefined;
|
|
3836
3842
|
includeCommands?: boolean | undefined;
|
|
@@ -3944,7 +3950,7 @@ declare const ProcessChildrenOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3944
3950
|
error: z.ZodOptional<z.ZodString>;
|
|
3945
3951
|
}, z.z.core.$strip>]>;
|
|
3946
3952
|
type ProcessChildrenResult = z.infer<typeof ProcessChildrenOutputSchema>;
|
|
3947
|
-
declare const _default$
|
|
3953
|
+
declare const _default$2p: TaskFn<{
|
|
3948
3954
|
pid: number;
|
|
3949
3955
|
recursive?: boolean | undefined;
|
|
3950
3956
|
maxDepth?: number | undefined;
|
|
@@ -3994,7 +4000,7 @@ type process_ProcessStatsResult = ProcessStatsResult;
|
|
|
3994
4000
|
type process_ProcessTopParams = ProcessTopParams;
|
|
3995
4001
|
type process_ProcessTopResult = ProcessTopResult;
|
|
3996
4002
|
declare namespace process {
|
|
3997
|
-
export { type process_ProcessChildrenParams as ProcessChildrenParams, type process_ProcessChildrenResult as ProcessChildrenResult, type process_ProcessInfoParams as ProcessInfoParams, type process_ProcessInfoResult as ProcessInfoResult, type process_ProcessKillParams as ProcessKillParams, type process_ProcessKillResult as ProcessKillResult, type process_ProcessListParams as ProcessListParams, type process_ProcessListResult as ProcessListResult, type process_ProcessSearchParams as ProcessSearchParams, type process_ProcessSearchResult as ProcessSearchResult, type process_ProcessSignalParams as ProcessSignalParams, type process_ProcessSignalResult as ProcessSignalResult, type process_ProcessStatsParams as ProcessStatsParams, type process_ProcessStatsResult as ProcessStatsResult, type process_ProcessTopParams as ProcessTopParams, type process_ProcessTopResult as ProcessTopResult, _default$
|
|
4003
|
+
export { type process_ProcessChildrenParams as ProcessChildrenParams, type process_ProcessChildrenResult as ProcessChildrenResult, type process_ProcessInfoParams as ProcessInfoParams, type process_ProcessInfoResult as ProcessInfoResult, type process_ProcessKillParams as ProcessKillParams, type process_ProcessKillResult as ProcessKillResult, type process_ProcessListParams as ProcessListParams, type process_ProcessListResult as ProcessListResult, type process_ProcessSearchParams as ProcessSearchParams, type process_ProcessSearchResult as ProcessSearchResult, type process_ProcessSignalParams as ProcessSignalParams, type process_ProcessSignalResult as ProcessSignalResult, type process_ProcessStatsParams as ProcessStatsParams, type process_ProcessStatsResult as ProcessStatsResult, type process_ProcessTopParams as ProcessTopParams, type process_ProcessTopResult as ProcessTopResult, _default$2p as children, _default$2s as info, _default$2u as kill, _default$2w as list, _default$2v as search, _default$2t as signal, _default$2q as stats, _default$2r as top };
|
|
3998
4004
|
}
|
|
3999
4005
|
|
|
4000
4006
|
declare const RebootInputSchema: z.ZodObject<{
|
|
@@ -4009,7 +4015,7 @@ declare const RebootOutputSchema: z.ZodObject<{
|
|
|
4009
4015
|
status: z.ZodString;
|
|
4010
4016
|
}, z.z.core.$strip>;
|
|
4011
4017
|
type RebootResult = z.infer<typeof RebootOutputSchema>;
|
|
4012
|
-
declare const _default$
|
|
4018
|
+
declare const _default$2o: TaskFn<{
|
|
4013
4019
|
message?: string | undefined;
|
|
4014
4020
|
time?: string | undefined;
|
|
4015
4021
|
sudo?: boolean | undefined;
|
|
@@ -4031,7 +4037,7 @@ declare const ShutdownOutputSchema: z.ZodObject<{
|
|
|
4031
4037
|
status: z.ZodString;
|
|
4032
4038
|
}, z.z.core.$strip>;
|
|
4033
4039
|
type ShutdownResult = z.infer<typeof ShutdownOutputSchema>;
|
|
4034
|
-
declare const _default$
|
|
4040
|
+
declare const _default$2n: TaskFn<{
|
|
4035
4041
|
message?: string | undefined;
|
|
4036
4042
|
time?: string | undefined;
|
|
4037
4043
|
sudo?: boolean | undefined;
|
|
@@ -4052,7 +4058,7 @@ declare const RebootNeededOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4052
4058
|
error: z.ZodOptional<z.ZodString>;
|
|
4053
4059
|
}, z.z.core.$strip>]>;
|
|
4054
4060
|
type RebootNeededResult = z.infer<typeof RebootNeededOutputSchema>;
|
|
4055
|
-
declare const _default$
|
|
4061
|
+
declare const _default$2m: TaskFn<Record<string, never>, {
|
|
4056
4062
|
reboot_needed: boolean;
|
|
4057
4063
|
success: true;
|
|
4058
4064
|
} | {
|
|
@@ -4075,7 +4081,7 @@ declare const RebootIfNeededOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4075
4081
|
error: z.ZodOptional<z.ZodString>;
|
|
4076
4082
|
}, z.z.core.$strip>]>;
|
|
4077
4083
|
type RebootIfNeededResult = z.infer<typeof RebootIfNeededOutputSchema>;
|
|
4078
|
-
declare const _default$
|
|
4084
|
+
declare const _default$2l: TaskFn<{
|
|
4079
4085
|
delay?: number | undefined;
|
|
4080
4086
|
message?: string | undefined;
|
|
4081
4087
|
}, {
|
|
@@ -4098,7 +4104,7 @@ declare const SystemUptimeOutputSchema: z.ZodObject<{
|
|
|
4098
4104
|
}, z.z.core.$strip>;
|
|
4099
4105
|
type SystemUptimeParams = z.infer<typeof SystemUptimeInputSchema>;
|
|
4100
4106
|
type SystemUptimeResult = z.infer<typeof SystemUptimeOutputSchema>;
|
|
4101
|
-
declare const _default$
|
|
4107
|
+
declare const _default$2k: TaskFn<{
|
|
4102
4108
|
sudo?: boolean | undefined;
|
|
4103
4109
|
}, {
|
|
4104
4110
|
success: boolean;
|
|
@@ -4124,7 +4130,7 @@ declare const SystemDatetimeOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4124
4130
|
error: z.ZodOptional<z.ZodString>;
|
|
4125
4131
|
}, z.z.core.$strip>]>;
|
|
4126
4132
|
type SystemDatetimeResult = z.infer<typeof SystemDatetimeOutputSchema>;
|
|
4127
|
-
declare const _default$
|
|
4133
|
+
declare const _default$2j: TaskFn<{
|
|
4128
4134
|
sudo?: boolean | undefined;
|
|
4129
4135
|
}, {
|
|
4130
4136
|
success: true;
|
|
@@ -4158,7 +4164,7 @@ declare const SystemHardwareOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4158
4164
|
error: z.ZodOptional<z.ZodString>;
|
|
4159
4165
|
}, z.z.core.$strip>]>;
|
|
4160
4166
|
type SystemHardwareResult = z.infer<typeof SystemHardwareOutputSchema>;
|
|
4161
|
-
declare const _default$
|
|
4167
|
+
declare const _default$2i: TaskFn<{
|
|
4162
4168
|
sudo?: boolean | undefined;
|
|
4163
4169
|
}, {
|
|
4164
4170
|
success: true;
|
|
@@ -4190,10 +4196,10 @@ type system_SystemHardwareResult = SystemHardwareResult;
|
|
|
4190
4196
|
type system_SystemUptimeParams = SystemUptimeParams;
|
|
4191
4197
|
type system_SystemUptimeResult = SystemUptimeResult;
|
|
4192
4198
|
declare namespace system {
|
|
4193
|
-
export { type system_RebootIfNeededParams as RebootIfNeededParams, type system_RebootIfNeededResult as RebootIfNeededResult, type system_RebootNeededParams as RebootNeededParams, type system_RebootNeededResult as RebootNeededResult, type system_RebootParams as RebootParams, type system_RebootResult as RebootResult, type system_ShutdownParams as ShutdownParams, type system_ShutdownResult as ShutdownResult, type system_SystemDatetimeParams as SystemDatetimeParams, type system_SystemDatetimeResult as SystemDatetimeResult, type system_SystemHardwareParams as SystemHardwareParams, type system_SystemHardwareResult as SystemHardwareResult, type system_SystemUptimeParams as SystemUptimeParams, type system_SystemUptimeResult as SystemUptimeResult, _default$
|
|
4199
|
+
export { type system_RebootIfNeededParams as RebootIfNeededParams, type system_RebootIfNeededResult as RebootIfNeededResult, type system_RebootNeededParams as RebootNeededParams, type system_RebootNeededResult as RebootNeededResult, type system_RebootParams as RebootParams, type system_RebootResult as RebootResult, type system_ShutdownParams as ShutdownParams, type system_ShutdownResult as ShutdownResult, type system_SystemDatetimeParams as SystemDatetimeParams, type system_SystemDatetimeResult as SystemDatetimeResult, type system_SystemHardwareParams as SystemHardwareParams, type system_SystemHardwareResult as SystemHardwareResult, type system_SystemUptimeParams as SystemUptimeParams, type system_SystemUptimeResult as SystemUptimeResult, _default$2j as datetime, _default$2i as hardware, _default$2o as reboot, _default$2l as rebootIfNeeded, _default$2m as rebootNeeded, _default$2n as shutdown, _default$2k as uptime };
|
|
4194
4200
|
}
|
|
4195
4201
|
|
|
4196
|
-
declare const _default$
|
|
4202
|
+
declare const _default$2h: TaskFn<{
|
|
4197
4203
|
service: string;
|
|
4198
4204
|
sudo?: boolean | undefined;
|
|
4199
4205
|
}, {
|
|
@@ -4203,7 +4209,7 @@ declare const _default$2d: TaskFn<{
|
|
|
4203
4209
|
error?: string | undefined;
|
|
4204
4210
|
}>;
|
|
4205
4211
|
|
|
4206
|
-
declare const _default$
|
|
4212
|
+
declare const _default$2g: TaskFn<{
|
|
4207
4213
|
service: string;
|
|
4208
4214
|
sudo?: boolean | undefined;
|
|
4209
4215
|
}, {
|
|
@@ -4213,7 +4219,7 @@ declare const _default$2c: TaskFn<{
|
|
|
4213
4219
|
error?: string | undefined;
|
|
4214
4220
|
}>;
|
|
4215
4221
|
|
|
4216
|
-
declare const _default$
|
|
4222
|
+
declare const _default$2f: TaskFn<{
|
|
4217
4223
|
service: string;
|
|
4218
4224
|
sudo?: boolean | undefined;
|
|
4219
4225
|
}, {
|
|
@@ -4223,7 +4229,7 @@ declare const _default$2b: TaskFn<{
|
|
|
4223
4229
|
error?: string | undefined;
|
|
4224
4230
|
}>;
|
|
4225
4231
|
|
|
4226
|
-
declare const _default$
|
|
4232
|
+
declare const _default$2e: TaskFn<{
|
|
4227
4233
|
service: string;
|
|
4228
4234
|
sudo?: boolean | undefined;
|
|
4229
4235
|
}, {
|
|
@@ -4233,7 +4239,7 @@ declare const _default$2a: TaskFn<{
|
|
|
4233
4239
|
error?: string | undefined;
|
|
4234
4240
|
}>;
|
|
4235
4241
|
|
|
4236
|
-
declare const _default$
|
|
4242
|
+
declare const _default$2d: TaskFn<{
|
|
4237
4243
|
service: string;
|
|
4238
4244
|
sudo?: boolean | undefined;
|
|
4239
4245
|
}, {
|
|
@@ -4243,7 +4249,7 @@ declare const _default$29: TaskFn<{
|
|
|
4243
4249
|
error?: string | undefined;
|
|
4244
4250
|
}>;
|
|
4245
4251
|
|
|
4246
|
-
declare const _default$
|
|
4252
|
+
declare const _default$2c: TaskFn<{
|
|
4247
4253
|
service: string;
|
|
4248
4254
|
sudo?: boolean | undefined;
|
|
4249
4255
|
}, {
|
|
@@ -4253,7 +4259,7 @@ declare const _default$28: TaskFn<{
|
|
|
4253
4259
|
error?: string | undefined;
|
|
4254
4260
|
}>;
|
|
4255
4261
|
|
|
4256
|
-
declare const _default$
|
|
4262
|
+
declare const _default$2b: TaskFn<{
|
|
4257
4263
|
service: string;
|
|
4258
4264
|
sudo?: boolean | undefined;
|
|
4259
4265
|
}, {
|
|
@@ -4266,10 +4272,10 @@ declare const _default$27: TaskFn<{
|
|
|
4266
4272
|
}>;
|
|
4267
4273
|
|
|
4268
4274
|
declare namespace systemd {
|
|
4269
|
-
export { _default$
|
|
4275
|
+
export { _default$2h as disable, _default$2g as enable, _default$2c as reload, _default$2f as restart, _default$2e as start, _default$2b as status, _default$2d as stop };
|
|
4270
4276
|
}
|
|
4271
4277
|
|
|
4272
|
-
declare const _default$
|
|
4278
|
+
declare const _default$2a: TaskFn<{
|
|
4273
4279
|
variables: Record<string, any>;
|
|
4274
4280
|
to: string;
|
|
4275
4281
|
template?: string | undefined;
|
|
@@ -4284,10 +4290,10 @@ declare const _default$26: TaskFn<{
|
|
|
4284
4290
|
}>;
|
|
4285
4291
|
|
|
4286
4292
|
declare namespace template {
|
|
4287
|
-
export { _default$
|
|
4293
|
+
export { _default$2a as write };
|
|
4288
4294
|
}
|
|
4289
4295
|
|
|
4290
|
-
declare const _default$
|
|
4296
|
+
declare const _default$29: TaskFn<{
|
|
4291
4297
|
port: string | number;
|
|
4292
4298
|
proto?: "tcp" | "udp" | undefined;
|
|
4293
4299
|
from?: string | undefined;
|
|
@@ -4299,7 +4305,7 @@ declare const _default$25: TaskFn<{
|
|
|
4299
4305
|
error?: string | undefined;
|
|
4300
4306
|
}>;
|
|
4301
4307
|
|
|
4302
|
-
declare const _default$
|
|
4308
|
+
declare const _default$28: TaskFn<{
|
|
4303
4309
|
port: string | number;
|
|
4304
4310
|
proto?: "tcp" | "udp" | undefined;
|
|
4305
4311
|
from?: string | undefined;
|
|
@@ -4311,7 +4317,7 @@ declare const _default$24: TaskFn<{
|
|
|
4311
4317
|
error?: string | undefined;
|
|
4312
4318
|
}>;
|
|
4313
4319
|
|
|
4314
|
-
declare const _default$
|
|
4320
|
+
declare const _default$27: TaskFn<{
|
|
4315
4321
|
rule_number: number;
|
|
4316
4322
|
}, {
|
|
4317
4323
|
success: true;
|
|
@@ -4320,24 +4326,24 @@ declare const _default$23: TaskFn<{
|
|
|
4320
4326
|
error?: string | undefined;
|
|
4321
4327
|
}>;
|
|
4322
4328
|
|
|
4323
|
-
declare const _default$
|
|
4329
|
+
declare const _default$26: TaskFn<Record<string, never>, {
|
|
4324
4330
|
success: boolean;
|
|
4325
4331
|
error?: string | undefined;
|
|
4326
4332
|
}>;
|
|
4327
4333
|
|
|
4328
|
-
declare const _default$
|
|
4334
|
+
declare const _default$25: TaskFn<Record<string, never>, {
|
|
4329
4335
|
success: boolean;
|
|
4330
4336
|
error?: string | undefined;
|
|
4331
4337
|
}>;
|
|
4332
4338
|
|
|
4333
|
-
declare const _default$
|
|
4339
|
+
declare const _default$24: TaskFn<Record<string, never>, {
|
|
4334
4340
|
success: true;
|
|
4335
4341
|
} | {
|
|
4336
4342
|
success: false;
|
|
4337
4343
|
error?: string | undefined;
|
|
4338
4344
|
}>;
|
|
4339
4345
|
|
|
4340
|
-
declare const _default$
|
|
4346
|
+
declare const _default$23: TaskFn<{
|
|
4341
4347
|
level: "full" | "on" | "off" | "low" | "medium" | "high";
|
|
4342
4348
|
}, {
|
|
4343
4349
|
success: true;
|
|
@@ -4347,14 +4353,14 @@ declare const _default$1$: TaskFn<{
|
|
|
4347
4353
|
error?: string | undefined;
|
|
4348
4354
|
}>;
|
|
4349
4355
|
|
|
4350
|
-
declare const _default$
|
|
4356
|
+
declare const _default$22: TaskFn<Record<string, never>, {
|
|
4351
4357
|
success: true;
|
|
4352
4358
|
} | {
|
|
4353
4359
|
success: false;
|
|
4354
4360
|
error?: string | undefined;
|
|
4355
4361
|
}>;
|
|
4356
4362
|
|
|
4357
|
-
declare const _default$
|
|
4363
|
+
declare const _default$21: TaskFn<Record<string, never>, {
|
|
4358
4364
|
success: true;
|
|
4359
4365
|
error?: string | undefined;
|
|
4360
4366
|
} | {
|
|
@@ -4362,7 +4368,7 @@ declare const _default$1Z: TaskFn<Record<string, never>, {
|
|
|
4362
4368
|
error?: string | undefined;
|
|
4363
4369
|
}>;
|
|
4364
4370
|
|
|
4365
|
-
declare const _default$
|
|
4371
|
+
declare const _default$20: TaskFn<Record<string, never>, {
|
|
4366
4372
|
success: boolean;
|
|
4367
4373
|
status?: string | undefined;
|
|
4368
4374
|
rules?: {
|
|
@@ -4377,7 +4383,7 @@ declare const _default$1Y: TaskFn<Record<string, never>, {
|
|
|
4377
4383
|
}>;
|
|
4378
4384
|
|
|
4379
4385
|
declare namespace ufw {
|
|
4380
|
-
export { _default$
|
|
4386
|
+
export { _default$29 as allow, _default$27 as delete, _default$28 as deny, _default$26 as disable, _default$25 as enable, _default$24 as install, _default$23 as logging, _default$22 as reload, _default$21 as reset, _default$20 as status };
|
|
4381
4387
|
}
|
|
4382
4388
|
|
|
4383
4389
|
declare const AddGroupsInputSchema: z.ZodObject<{
|
|
@@ -4393,7 +4399,7 @@ declare const AddGroupsOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4393
4399
|
error: z.ZodOptional<z.ZodString>;
|
|
4394
4400
|
}, z.z.core.$strip>]>;
|
|
4395
4401
|
type AddGroupsResult = z.infer<typeof AddGroupsOutputSchema>;
|
|
4396
|
-
declare const _default$
|
|
4402
|
+
declare const _default$1$: TaskFn<{
|
|
4397
4403
|
user: string;
|
|
4398
4404
|
groups?: string | string[] | undefined;
|
|
4399
4405
|
sudo?: boolean | undefined;
|
|
@@ -4419,7 +4425,7 @@ declare const CreateUserOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4419
4425
|
error: z.ZodOptional<z.ZodString>;
|
|
4420
4426
|
}, z.z.core.$strip>]>;
|
|
4421
4427
|
type CreateUserResult = z.infer<typeof CreateUserOutputSchema>;
|
|
4422
|
-
declare const _default$
|
|
4428
|
+
declare const _default$1_: TaskFn<{
|
|
4423
4429
|
user: string;
|
|
4424
4430
|
create_home?: boolean | undefined;
|
|
4425
4431
|
create_group?: boolean | undefined;
|
|
@@ -4440,7 +4446,7 @@ declare const UserExistsOutputSchema: z.ZodObject<{
|
|
|
4440
4446
|
exists: z.ZodBoolean;
|
|
4441
4447
|
}, z.z.core.$strip>;
|
|
4442
4448
|
type UserExistsResult = z.infer<typeof UserExistsOutputSchema>;
|
|
4443
|
-
declare const _default$
|
|
4449
|
+
declare const _default$1Z: TaskFn<{
|
|
4444
4450
|
user: string;
|
|
4445
4451
|
}, {
|
|
4446
4452
|
exists: boolean;
|
|
@@ -4458,7 +4464,7 @@ declare const GetGidOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4458
4464
|
gid: z.ZodOptional<z.ZodString>;
|
|
4459
4465
|
}, z.z.core.$strip>]>;
|
|
4460
4466
|
type GetGidResult = z.infer<typeof GetGidOutputSchema>;
|
|
4461
|
-
declare const _default$
|
|
4467
|
+
declare const _default$1Y: TaskFn<{
|
|
4462
4468
|
user: string;
|
|
4463
4469
|
}, {
|
|
4464
4470
|
success: true;
|
|
@@ -4480,7 +4486,7 @@ declare const GetGroupsOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4480
4486
|
groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4481
4487
|
}, z.z.core.$strip>]>;
|
|
4482
4488
|
type GetGroupsResult = z.infer<typeof GetGroupsOutputSchema>;
|
|
4483
|
-
declare const _default$
|
|
4489
|
+
declare const _default$1X: TaskFn<{
|
|
4484
4490
|
user: string;
|
|
4485
4491
|
}, {
|
|
4486
4492
|
success: true;
|
|
@@ -4502,7 +4508,7 @@ declare const GetUidOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4502
4508
|
uid: z.ZodOptional<z.ZodString>;
|
|
4503
4509
|
}, z.z.core.$strip>]>;
|
|
4504
4510
|
type GetUidResult = z.infer<typeof GetUidOutputSchema>;
|
|
4505
|
-
declare const _default$
|
|
4511
|
+
declare const _default$1W: TaskFn<{
|
|
4506
4512
|
user: string;
|
|
4507
4513
|
}, {
|
|
4508
4514
|
success: true;
|
|
@@ -4520,7 +4526,7 @@ declare const GetUsernameOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4520
4526
|
username: z.ZodString;
|
|
4521
4527
|
}, z.z.core.$strip>]>;
|
|
4522
4528
|
type GetUsernameResult = z.infer<typeof GetUsernameOutputSchema>;
|
|
4523
|
-
declare const _default$
|
|
4529
|
+
declare const _default$1V: TaskFn<Record<string, never>, {
|
|
4524
4530
|
success: true;
|
|
4525
4531
|
username: string;
|
|
4526
4532
|
} | {
|
|
@@ -4544,7 +4550,7 @@ declare const UserHomeDirOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4544
4550
|
error: z.ZodOptional<z.ZodString>;
|
|
4545
4551
|
}, z.z.core.$strip>]>;
|
|
4546
4552
|
type UserHomeDirResult = z.infer<typeof UserHomeDirOutputSchema>;
|
|
4547
|
-
declare const _default$
|
|
4553
|
+
declare const _default$1U: TaskFn<{
|
|
4548
4554
|
user: string;
|
|
4549
4555
|
sudo?: boolean | undefined;
|
|
4550
4556
|
}, {
|
|
@@ -4571,7 +4577,7 @@ declare const SetUserPasswordOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4571
4577
|
error: z.ZodOptional<z.ZodString>;
|
|
4572
4578
|
}, z.z.core.$strip>]>;
|
|
4573
4579
|
type SetUserPasswordResult = z.infer<typeof SetUserPasswordOutputSchema>;
|
|
4574
|
-
declare const _default$
|
|
4580
|
+
declare const _default$1T: TaskFn<{
|
|
4575
4581
|
user: string;
|
|
4576
4582
|
password: string;
|
|
4577
4583
|
sudo?: boolean | undefined;
|
|
@@ -4595,7 +4601,7 @@ declare const SetUserGroupsOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4595
4601
|
error: z.ZodOptional<z.ZodString>;
|
|
4596
4602
|
}, z.z.core.$strip>]>;
|
|
4597
4603
|
type SetUserGroupsResult = z.infer<typeof SetUserGroupsOutputSchema>;
|
|
4598
|
-
declare const _default$
|
|
4604
|
+
declare const _default$1S: TaskFn<{
|
|
4599
4605
|
user: string;
|
|
4600
4606
|
groups?: string | string[] | undefined;
|
|
4601
4607
|
sudo?: boolean | undefined;
|
|
@@ -4619,7 +4625,7 @@ declare const SetUserShellOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4619
4625
|
error: z.ZodOptional<z.ZodString>;
|
|
4620
4626
|
}, z.z.core.$strip>]>;
|
|
4621
4627
|
type SetUserShellResult = z.infer<typeof SetUserShellOutputSchema>;
|
|
4622
|
-
declare const _default$
|
|
4628
|
+
declare const _default$1R: TaskFn<{
|
|
4623
4629
|
user: string;
|
|
4624
4630
|
shell: string;
|
|
4625
4631
|
sudo?: boolean | undefined;
|
|
@@ -4641,7 +4647,7 @@ declare const UserDeleteOutputSchema: z.ZodObject<{
|
|
|
4641
4647
|
error: z.ZodOptional<z.ZodString>;
|
|
4642
4648
|
}, z.z.core.$strip>;
|
|
4643
4649
|
type UserDeleteResult = z.infer<typeof UserDeleteOutputSchema>;
|
|
4644
|
-
declare const _default$
|
|
4650
|
+
declare const _default$1Q: TaskFn<{
|
|
4645
4651
|
user: string;
|
|
4646
4652
|
remove?: boolean | undefined;
|
|
4647
4653
|
sudo?: boolean | undefined;
|
|
@@ -4650,7 +4656,7 @@ declare const _default$1M: TaskFn<{
|
|
|
4650
4656
|
error?: string | undefined;
|
|
4651
4657
|
}>;
|
|
4652
4658
|
|
|
4653
|
-
declare const _default$
|
|
4659
|
+
declare const _default$1P: TaskFn<{
|
|
4654
4660
|
user: string;
|
|
4655
4661
|
comment?: string | undefined;
|
|
4656
4662
|
home?: string | undefined;
|
|
@@ -4693,7 +4699,7 @@ declare const EnsureUserOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4693
4699
|
trace: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4694
4700
|
}, z.z.core.$strip>]>;
|
|
4695
4701
|
type EnsureUserResult = z.infer<typeof EnsureUserOutputSchema>;
|
|
4696
|
-
declare const _default$
|
|
4702
|
+
declare const _default$1O: TaskFn<{
|
|
4697
4703
|
user: string;
|
|
4698
4704
|
password?: string | undefined;
|
|
4699
4705
|
create_home?: boolean | undefined;
|
|
@@ -4739,7 +4745,7 @@ type user_UserExistsResult = UserExistsResult;
|
|
|
4739
4745
|
type user_UserHomeDirParams = UserHomeDirParams;
|
|
4740
4746
|
type user_UserHomeDirResult = UserHomeDirResult;
|
|
4741
4747
|
declare namespace user {
|
|
4742
|
-
export { type user_AddGroupsParams as AddGroupsParams, type user_AddGroupsResult as AddGroupsResult, type user_CreateUserParams as CreateUserParams, type user_CreateUserResult as CreateUserResult, type user_EnsureUserParams as EnsureUserParams, type user_EnsureUserResult as EnsureUserResult, type user_GetGidParams as GetGidParams, type user_GetGidResult as GetGidResult, type user_GetGroupsParams as GetGroupsParams, type user_GetGroupsResult as GetGroupsResult, type user_GetUidParams as GetUidParams, type user_GetUidResult as GetUidResult, type user_GetUsernameResult as GetUsernameResult, type user_SetUserGroupsParams as SetUserGroupsParams, type user_SetUserGroupsResult as SetUserGroupsResult, type user_SetUserPasswordParams as SetUserPasswordParams, type user_SetUserPasswordResult as SetUserPasswordResult, type user_SetUserShellParams as SetUserShellParams, type user_SetUserShellResult as SetUserShellResult, type user_UserDeleteParams as UserDeleteParams, type user_UserDeleteResult as UserDeleteResult, type user_UserExistsParams as UserExistsParams, type user_UserExistsResult as UserExistsResult, type user_UserHomeDirParams as UserHomeDirParams, type user_UserHomeDirResult as UserHomeDirResult, _default$
|
|
4748
|
+
export { type user_AddGroupsParams as AddGroupsParams, type user_AddGroupsResult as AddGroupsResult, type user_CreateUserParams as CreateUserParams, type user_CreateUserResult as CreateUserResult, type user_EnsureUserParams as EnsureUserParams, type user_EnsureUserResult as EnsureUserResult, type user_GetGidParams as GetGidParams, type user_GetGidResult as GetGidResult, type user_GetGroupsParams as GetGroupsParams, type user_GetGroupsResult as GetGroupsResult, type user_GetUidParams as GetUidParams, type user_GetUidResult as GetUidResult, type user_GetUsernameResult as GetUsernameResult, type user_SetUserGroupsParams as SetUserGroupsParams, type user_SetUserGroupsResult as SetUserGroupsResult, type user_SetUserPasswordParams as SetUserPasswordParams, type user_SetUserPasswordResult as SetUserPasswordResult, type user_SetUserShellParams as SetUserShellParams, type user_SetUserShellResult as SetUserShellResult, type user_UserDeleteParams as UserDeleteParams, type user_UserDeleteResult as UserDeleteResult, type user_UserExistsParams as UserExistsParams, type user_UserExistsResult as UserExistsResult, type user_UserHomeDirParams as UserHomeDirParams, type user_UserHomeDirResult as UserHomeDirResult, _default$1$ as addGroups, _default$1_ as create, _default$1Q as delete, _default$1O as ensure, _default$1Z as exists, _default$1Y as getGid, _default$1X as getGroups, _default$1W as getUid, _default$1V as getUsername, _default$1U as homeDir, _default$1P as modify, _default$1S as setGroups, _default$1T as setPassword, _default$1R as setShell };
|
|
4743
4749
|
}
|
|
4744
4750
|
|
|
4745
4751
|
interface XcpngListAttachedDisksParams {
|
|
@@ -4763,7 +4769,7 @@ interface XcpngListAttachedDisksResult {
|
|
|
4763
4769
|
disks?: XcpngAttachedDisk[];
|
|
4764
4770
|
error?: string;
|
|
4765
4771
|
}
|
|
4766
|
-
declare const _default$
|
|
4772
|
+
declare const _default$1N: TaskFn<XcpngListAttachedDisksParams, XcpngListAttachedDisksResult>;
|
|
4767
4773
|
|
|
4768
4774
|
/**
|
|
4769
4775
|
* Supported input for filter-style arguments. Allows callers to pass:
|
|
@@ -4784,7 +4790,7 @@ interface XcpngListVbdsResult {
|
|
|
4784
4790
|
items?: XcpngVbdRecord[];
|
|
4785
4791
|
error?: string;
|
|
4786
4792
|
}
|
|
4787
|
-
declare const _default$
|
|
4793
|
+
declare const _default$1M: TaskFn<XcpngListVbdsParams, XcpngListVbdsResult>;
|
|
4788
4794
|
|
|
4789
4795
|
interface XcpngListVifsParams {
|
|
4790
4796
|
filters?: XeFilterInput;
|
|
@@ -4797,7 +4803,7 @@ interface XcpngListVifsResult {
|
|
|
4797
4803
|
items?: XcpngVifRecord[];
|
|
4798
4804
|
error?: string;
|
|
4799
4805
|
}
|
|
4800
|
-
declare const _default$
|
|
4806
|
+
declare const _default$1L: TaskFn<XcpngListVifsParams, XcpngListVifsResult>;
|
|
4801
4807
|
|
|
4802
4808
|
interface XcpngGetVmInfoParams {
|
|
4803
4809
|
vm_uuid?: string;
|
|
@@ -4842,7 +4848,7 @@ interface XcpngGetVmInfoResult {
|
|
|
4842
4848
|
error?: string;
|
|
4843
4849
|
skipped?: boolean;
|
|
4844
4850
|
}
|
|
4845
|
-
declare const _default$
|
|
4851
|
+
declare const _default$1K: TaskFn<XcpngGetVmInfoParams, XcpngGetVmInfoResult>;
|
|
4846
4852
|
|
|
4847
4853
|
/**
|
|
4848
4854
|
* Parameters for powering off an XCP-ng VM.
|
|
@@ -4869,7 +4875,7 @@ interface XcpngStopVmResult {
|
|
|
4869
4875
|
finalPowerState?: string;
|
|
4870
4876
|
waitAttempts?: number;
|
|
4871
4877
|
}
|
|
4872
|
-
declare const _default$
|
|
4878
|
+
declare const _default$1J: TaskFn<XcpngStopVmParams, XcpngStopVmResult>;
|
|
4873
4879
|
|
|
4874
4880
|
/**
|
|
4875
4881
|
* Parameters for powering on an XCP-ng VM.
|
|
@@ -4896,7 +4902,7 @@ interface XcpngStartVmResult {
|
|
|
4896
4902
|
finalPowerState?: string;
|
|
4897
4903
|
waitAttempts?: number;
|
|
4898
4904
|
}
|
|
4899
|
-
declare const _default$
|
|
4905
|
+
declare const _default$1I: TaskFn<XcpngStartVmParams, XcpngStartVmResult>;
|
|
4900
4906
|
|
|
4901
4907
|
interface XcpngSnapshotVmParams {
|
|
4902
4908
|
vm_uuid?: string;
|
|
@@ -4912,7 +4918,7 @@ interface XcpngSnapshotVmResult {
|
|
|
4912
4918
|
command?: string;
|
|
4913
4919
|
error?: string;
|
|
4914
4920
|
}
|
|
4915
|
-
declare const _default$
|
|
4921
|
+
declare const _default$1H: TaskFn<XcpngSnapshotVmParams, XcpngSnapshotVmResult>;
|
|
4916
4922
|
|
|
4917
4923
|
interface XcpngUnplugVbdParams {
|
|
4918
4924
|
vbd_uuid: string;
|
|
@@ -4924,7 +4930,7 @@ interface XcpngUnplugVbdResult {
|
|
|
4924
4930
|
alreadyDetached?: boolean;
|
|
4925
4931
|
error?: string;
|
|
4926
4932
|
}
|
|
4927
|
-
declare const _default$
|
|
4933
|
+
declare const _default$1G: TaskFn<XcpngUnplugVbdParams, XcpngUnplugVbdResult>;
|
|
4928
4934
|
|
|
4929
4935
|
interface XcpngResumeVmParams {
|
|
4930
4936
|
vm_uuid: string;
|
|
@@ -4940,7 +4946,7 @@ interface XcpngResumeVmResult {
|
|
|
4940
4946
|
waitAttempts?: number;
|
|
4941
4947
|
error?: string;
|
|
4942
4948
|
}
|
|
4943
|
-
declare const _default$
|
|
4949
|
+
declare const _default$1F: TaskFn<XcpngResumeVmParams, XcpngResumeVmResult>;
|
|
4944
4950
|
|
|
4945
4951
|
interface XcpngSuspendVmParams {
|
|
4946
4952
|
vm_uuid: string;
|
|
@@ -4955,7 +4961,7 @@ interface XcpngSuspendVmResult {
|
|
|
4955
4961
|
waitAttempts?: number;
|
|
4956
4962
|
error?: string;
|
|
4957
4963
|
}
|
|
4958
|
-
declare const _default$
|
|
4964
|
+
declare const _default$1E: TaskFn<XcpngSuspendVmParams, XcpngSuspendVmResult>;
|
|
4959
4965
|
|
|
4960
4966
|
interface XcpngSetVmResourcesParams {
|
|
4961
4967
|
vm_uuid?: string;
|
|
@@ -4982,7 +4988,7 @@ interface XcpngSetVmResourcesResult {
|
|
|
4982
4988
|
powerState?: string;
|
|
4983
4989
|
waitAttempts?: number;
|
|
4984
4990
|
}
|
|
4985
|
-
declare const _default$
|
|
4991
|
+
declare const _default$1D: TaskFn<XcpngSetVmResourcesParams, XcpngSetVmResourcesResult>;
|
|
4986
4992
|
|
|
4987
4993
|
/**
|
|
4988
4994
|
* Parameters for configuring VM boot behaviour.
|
|
@@ -5005,7 +5011,7 @@ interface XcpngSetBootOrderResult {
|
|
|
5005
5011
|
appliedCommands: string[];
|
|
5006
5012
|
error?: string;
|
|
5007
5013
|
}
|
|
5008
|
-
declare const _default$
|
|
5014
|
+
declare const _default$1C: TaskFn<XcpngSetBootOrderParams, XcpngSetBootOrderResult>;
|
|
5009
5015
|
|
|
5010
5016
|
interface XcpngSetSnapshotParamParams {
|
|
5011
5017
|
snapshot_uuid: string;
|
|
@@ -5018,7 +5024,7 @@ interface XcpngSetSnapshotParamResult {
|
|
|
5018
5024
|
command?: string;
|
|
5019
5025
|
error?: string;
|
|
5020
5026
|
}
|
|
5021
|
-
declare const _default$
|
|
5027
|
+
declare const _default$1B: TaskFn<XcpngSetSnapshotParamParams, XcpngSetSnapshotParamResult>;
|
|
5022
5028
|
|
|
5023
5029
|
interface XcpngRevertSnapshotParams {
|
|
5024
5030
|
snapshot_uuid: string;
|
|
@@ -5032,7 +5038,7 @@ interface XcpngRevertSnapshotResult {
|
|
|
5032
5038
|
powerState?: string;
|
|
5033
5039
|
waitAttempts?: number;
|
|
5034
5040
|
}
|
|
5035
|
-
declare const _default$
|
|
5041
|
+
declare const _default$1A: TaskFn<XcpngRevertSnapshotParams, XcpngRevertSnapshotResult>;
|
|
5036
5042
|
|
|
5037
5043
|
interface XcpngRemoveDiskParams {
|
|
5038
5044
|
vbd_uuid?: string;
|
|
@@ -5054,7 +5060,7 @@ interface XcpngRemoveDiskResult {
|
|
|
5054
5060
|
appliedCommands: string[];
|
|
5055
5061
|
error?: string;
|
|
5056
5062
|
}
|
|
5057
|
-
declare const _default$
|
|
5063
|
+
declare const _default$1z: TaskFn<XcpngRemoveDiskParams, XcpngRemoveDiskResult>;
|
|
5058
5064
|
|
|
5059
5065
|
interface XcpngResizeVmMemoryParams {
|
|
5060
5066
|
vm_uuid?: string;
|
|
@@ -5070,7 +5076,7 @@ interface XcpngResizeVmMemoryResult {
|
|
|
5070
5076
|
powerState?: string;
|
|
5071
5077
|
waitAttempts?: number;
|
|
5072
5078
|
}
|
|
5073
|
-
declare const _default$
|
|
5079
|
+
declare const _default$1y: TaskFn<XcpngResizeVmMemoryParams, XcpngResizeVmMemoryResult>;
|
|
5074
5080
|
|
|
5075
5081
|
interface XcpngResizeVmCpusParams {
|
|
5076
5082
|
vm_uuid?: string;
|
|
@@ -5090,7 +5096,7 @@ interface XcpngResizeVmCpusResult {
|
|
|
5090
5096
|
powerState?: string;
|
|
5091
5097
|
waitAttempts?: number;
|
|
5092
5098
|
}
|
|
5093
|
-
declare const _default$
|
|
5099
|
+
declare const _default$1x: TaskFn<XcpngResizeVmCpusParams, XcpngResizeVmCpusResult>;
|
|
5094
5100
|
|
|
5095
5101
|
interface XcpngResizeVdiParams {
|
|
5096
5102
|
vdi_uuid?: string;
|
|
@@ -5109,7 +5115,7 @@ interface XcpngResizeVdiResult {
|
|
|
5109
5115
|
newSizeBytes?: number;
|
|
5110
5116
|
error?: string;
|
|
5111
5117
|
}
|
|
5112
|
-
declare const _default$
|
|
5118
|
+
declare const _default$1w: TaskFn<XcpngResizeVdiParams, XcpngResizeVdiResult>;
|
|
5113
5119
|
|
|
5114
5120
|
interface XcpngListVmParamsParams {
|
|
5115
5121
|
filters?: XeFilterInput;
|
|
@@ -5119,7 +5125,7 @@ interface XcpngListVmParamsResult {
|
|
|
5119
5125
|
items?: Array<Record<string, string>>;
|
|
5120
5126
|
error?: string;
|
|
5121
5127
|
}
|
|
5122
|
-
declare const _default$
|
|
5128
|
+
declare const _default$1v: TaskFn<XcpngListVmParamsParams, XcpngListVmParamsResult>;
|
|
5123
5129
|
|
|
5124
5130
|
/**
|
|
5125
5131
|
* Parameters when querying VMs from an XCP-ng host.
|
|
@@ -5144,7 +5150,7 @@ interface XcpngListVmsResult {
|
|
|
5144
5150
|
type XcpngVmRecord = Record<string, string> & {
|
|
5145
5151
|
params: Record<string, string>;
|
|
5146
5152
|
};
|
|
5147
|
-
declare const _default$
|
|
5153
|
+
declare const _default$1u: TaskFn<XcpngListVmsParams, XcpngListVmsResult>;
|
|
5148
5154
|
|
|
5149
5155
|
interface XcpngImportVdiParams {
|
|
5150
5156
|
sr_uuid?: string;
|
|
@@ -5165,7 +5171,7 @@ interface XcpngImportVdiResult {
|
|
|
5165
5171
|
appliedCommands: string[];
|
|
5166
5172
|
error?: string;
|
|
5167
5173
|
}
|
|
5168
|
-
declare const _default$
|
|
5174
|
+
declare const _default$1t: TaskFn<XcpngImportVdiParams, XcpngImportVdiResult>;
|
|
5169
5175
|
|
|
5170
5176
|
interface XcpngListVdiParamsParams {
|
|
5171
5177
|
filters?: XeFilterInput;
|
|
@@ -5175,7 +5181,7 @@ interface XcpngListVdiParamsResult {
|
|
|
5175
5181
|
items?: Array<Record<string, string>>;
|
|
5176
5182
|
error?: string;
|
|
5177
5183
|
}
|
|
5178
|
-
declare const _default$
|
|
5184
|
+
declare const _default$1s: TaskFn<XcpngListVdiParamsParams, XcpngListVdiParamsResult>;
|
|
5179
5185
|
|
|
5180
5186
|
/**
|
|
5181
5187
|
* Parameters for querying VDIs.
|
|
@@ -5198,7 +5204,7 @@ interface XcpngListVdisResult {
|
|
|
5198
5204
|
items?: XcpngVdiRecord[];
|
|
5199
5205
|
error?: string;
|
|
5200
5206
|
}
|
|
5201
|
-
declare const _default$
|
|
5207
|
+
declare const _default$1r: TaskFn<XcpngListVdisParams, XcpngListVdisResult>;
|
|
5202
5208
|
|
|
5203
5209
|
interface XcpngListPifParamsParams {
|
|
5204
5210
|
filters?: XeFilterInput;
|
|
@@ -5208,7 +5214,7 @@ interface XcpngListPifParamsResult {
|
|
|
5208
5214
|
items?: Array<Record<string, string>>;
|
|
5209
5215
|
error?: string;
|
|
5210
5216
|
}
|
|
5211
|
-
declare const _default$
|
|
5217
|
+
declare const _default$1q: TaskFn<XcpngListPifParamsParams, XcpngListPifParamsResult>;
|
|
5212
5218
|
|
|
5213
5219
|
interface XcpngListPifsParams {
|
|
5214
5220
|
filters?: XeFilterInput;
|
|
@@ -5221,7 +5227,7 @@ interface XcpngListPifsResult {
|
|
|
5221
5227
|
items?: XcpngPifRecord[];
|
|
5222
5228
|
error?: string;
|
|
5223
5229
|
}
|
|
5224
|
-
declare const _default$
|
|
5230
|
+
declare const _default$1p: TaskFn<XcpngListPifsParams, XcpngListPifsResult>;
|
|
5225
5231
|
|
|
5226
5232
|
interface XcpngListVifParamsParams {
|
|
5227
5233
|
filters?: XeFilterInput;
|
|
@@ -5231,7 +5237,7 @@ interface XcpngListVifParamsResult {
|
|
|
5231
5237
|
items?: Array<Record<string, string>>;
|
|
5232
5238
|
error?: string;
|
|
5233
5239
|
}
|
|
5234
|
-
declare const _default$
|
|
5240
|
+
declare const _default$1o: TaskFn<XcpngListVifParamsParams, XcpngListVifParamsResult>;
|
|
5235
5241
|
|
|
5236
5242
|
interface XcpngListVbdParamsParams {
|
|
5237
5243
|
filters?: XeFilterInput;
|
|
@@ -5241,7 +5247,7 @@ interface XcpngListVbdParamsResult {
|
|
|
5241
5247
|
items?: Array<Record<string, string>>;
|
|
5242
5248
|
error?: string;
|
|
5243
5249
|
}
|
|
5244
|
-
declare const _default$
|
|
5250
|
+
declare const _default$1n: TaskFn<XcpngListVbdParamsParams, XcpngListVbdParamsResult>;
|
|
5245
5251
|
|
|
5246
5252
|
interface XcpngListTemplateParamsParams {
|
|
5247
5253
|
filters?: XeFilterInput;
|
|
@@ -5251,7 +5257,7 @@ interface XcpngListTemplateParamsResult {
|
|
|
5251
5257
|
items?: Array<Record<string, string>>;
|
|
5252
5258
|
error?: string;
|
|
5253
5259
|
}
|
|
5254
|
-
declare const _default$
|
|
5260
|
+
declare const _default$1m: TaskFn<XcpngListTemplateParamsParams, XcpngListTemplateParamsResult>;
|
|
5255
5261
|
|
|
5256
5262
|
interface XcpngListTemplatesParams {
|
|
5257
5263
|
filters?: XeFilterInput;
|
|
@@ -5264,7 +5270,7 @@ interface XcpngListTemplatesResult {
|
|
|
5264
5270
|
items?: XcpngTemplateRecord[];
|
|
5265
5271
|
error?: string;
|
|
5266
5272
|
}
|
|
5267
|
-
declare const _default$
|
|
5273
|
+
declare const _default$1l: TaskFn<XcpngListTemplatesParams, XcpngListTemplatesResult>;
|
|
5268
5274
|
|
|
5269
5275
|
interface XcpngListNetworkParamsParams {
|
|
5270
5276
|
filters?: XeFilterInput;
|
|
@@ -5274,7 +5280,7 @@ interface XcpngListNetworkParamsResult {
|
|
|
5274
5280
|
items?: Array<Record<string, string>>;
|
|
5275
5281
|
error?: string;
|
|
5276
5282
|
}
|
|
5277
|
-
declare const _default$
|
|
5283
|
+
declare const _default$1k: TaskFn<XcpngListNetworkParamsParams, XcpngListNetworkParamsResult>;
|
|
5278
5284
|
|
|
5279
5285
|
interface XcpngListNetworksParams {
|
|
5280
5286
|
filters?: XeFilterInput;
|
|
@@ -5287,7 +5293,7 @@ interface XcpngListNetworksResult {
|
|
|
5287
5293
|
items?: XcpngNetworkRecord[];
|
|
5288
5294
|
error?: string;
|
|
5289
5295
|
}
|
|
5290
|
-
declare const _default$
|
|
5296
|
+
declare const _default$1j: TaskFn<XcpngListNetworksParams, XcpngListNetworksResult>;
|
|
5291
5297
|
|
|
5292
5298
|
/**
|
|
5293
5299
|
* Parameters for querying storage repositories.
|
|
@@ -5310,7 +5316,7 @@ interface XcpngListStorageRepositoriesResult {
|
|
|
5310
5316
|
items?: XcpngStorageRepositoryRecord[];
|
|
5311
5317
|
error?: string;
|
|
5312
5318
|
}
|
|
5313
|
-
declare const _default$
|
|
5319
|
+
declare const _default$1i: TaskFn<XcpngListStorageRepositoriesParams, XcpngListStorageRepositoriesResult>;
|
|
5314
5320
|
|
|
5315
5321
|
interface XcpngUploadIsoParams {
|
|
5316
5322
|
/** Path to the ISO on the local machine running hostctl. */
|
|
@@ -5351,7 +5357,7 @@ interface XcpngUploadIsoResult {
|
|
|
5351
5357
|
uploads: Record<string, XcpngUploadIsoHostResult | Error>;
|
|
5352
5358
|
error?: string;
|
|
5353
5359
|
}
|
|
5354
|
-
declare const _default$
|
|
5360
|
+
declare const _default$1h: TaskFn<XcpngUploadIsoParams, XcpngUploadIsoResult>;
|
|
5355
5361
|
|
|
5356
5362
|
interface XcpngProvisionVmParams {
|
|
5357
5363
|
vm_name_label: string;
|
|
@@ -5432,7 +5438,7 @@ interface XcpngProvisionVmResult {
|
|
|
5432
5438
|
error?: string;
|
|
5433
5439
|
skipped?: boolean;
|
|
5434
5440
|
}
|
|
5435
|
-
declare const _default$
|
|
5441
|
+
declare const _default$1g: TaskFn<XcpngProvisionVmParams, XcpngProvisionVmResult>;
|
|
5436
5442
|
|
|
5437
5443
|
interface XcpngProvisionVmFromIsoParams {
|
|
5438
5444
|
/** Human readable VM name. */
|
|
@@ -5517,7 +5523,7 @@ interface XcpngProvisionVmFromIsoResult {
|
|
|
5517
5523
|
steps: XcpngProvisionVmFromIsoStep[];
|
|
5518
5524
|
error?: string;
|
|
5519
5525
|
}
|
|
5520
|
-
declare const _default$
|
|
5526
|
+
declare const _default$1f: TaskFn<XcpngProvisionVmFromIsoParams, XcpngProvisionVmFromIsoResult>;
|
|
5521
5527
|
|
|
5522
5528
|
interface XcpngImportIsoParams {
|
|
5523
5529
|
/** ISO SR name-label that should surface the ISO. */
|
|
@@ -5557,7 +5563,7 @@ interface XcpngImportIsoResult {
|
|
|
5557
5563
|
commands: string[];
|
|
5558
5564
|
error?: string;
|
|
5559
5565
|
}
|
|
5560
|
-
declare const _default$
|
|
5566
|
+
declare const _default$1e: TaskFn<XcpngImportIsoParams, XcpngImportIsoResult>;
|
|
5561
5567
|
|
|
5562
5568
|
interface XcpngFindNetworkParams {
|
|
5563
5569
|
name_label?: string;
|
|
@@ -5573,7 +5579,7 @@ interface XcpngFindNetworkResult {
|
|
|
5573
5579
|
multiple?: boolean;
|
|
5574
5580
|
error?: string;
|
|
5575
5581
|
}
|
|
5576
|
-
declare const _default$
|
|
5582
|
+
declare const _default$1d: TaskFn<XcpngFindNetworkParams, XcpngFindNetworkResult>;
|
|
5577
5583
|
|
|
5578
5584
|
interface XcpngFindStorageRepositoryParams {
|
|
5579
5585
|
name_label?: string;
|
|
@@ -5591,7 +5597,7 @@ interface XcpngFindStorageRepositoryResult {
|
|
|
5591
5597
|
multiple?: boolean;
|
|
5592
5598
|
error?: string;
|
|
5593
5599
|
}
|
|
5594
|
-
declare const _default$
|
|
5600
|
+
declare const _default$1c: TaskFn<XcpngFindStorageRepositoryParams, XcpngFindStorageRepositoryResult>;
|
|
5595
5601
|
|
|
5596
5602
|
interface XcpngFindOrCreateIsoSrParams {
|
|
5597
5603
|
/** Desired `name-label` for the ISO SR. */
|
|
@@ -5641,7 +5647,7 @@ interface XcpngFindOrCreateIsoSrResult {
|
|
|
5641
5647
|
commands: string[];
|
|
5642
5648
|
error?: string;
|
|
5643
5649
|
}
|
|
5644
|
-
declare const _default$
|
|
5650
|
+
declare const _default$1b: TaskFn<XcpngFindOrCreateIsoSrParams, XcpngFindOrCreateIsoSrResult>;
|
|
5645
5651
|
|
|
5646
5652
|
interface XcpngFindVmParams {
|
|
5647
5653
|
name_label?: string;
|
|
@@ -5658,7 +5664,7 @@ interface XcpngFindVmResult {
|
|
|
5658
5664
|
multiple?: boolean;
|
|
5659
5665
|
error?: string;
|
|
5660
5666
|
}
|
|
5661
|
-
declare const _default$
|
|
5667
|
+
declare const _default$1a: TaskFn<XcpngFindVmParams, XcpngFindVmResult>;
|
|
5662
5668
|
|
|
5663
5669
|
interface XcpngFindVdiParams {
|
|
5664
5670
|
name_label?: string;
|
|
@@ -5675,7 +5681,7 @@ interface XcpngFindVdiResult {
|
|
|
5675
5681
|
multiple?: boolean;
|
|
5676
5682
|
error?: string;
|
|
5677
5683
|
}
|
|
5678
|
-
declare const _default$
|
|
5684
|
+
declare const _default$19: TaskFn<XcpngFindVdiParams, XcpngFindVdiResult>;
|
|
5679
5685
|
|
|
5680
5686
|
interface XcpngFindTemplateParams {
|
|
5681
5687
|
name_label?: string;
|
|
@@ -5691,7 +5697,7 @@ interface XcpngFindTemplateResult {
|
|
|
5691
5697
|
multiple?: boolean;
|
|
5692
5698
|
error?: string;
|
|
5693
5699
|
}
|
|
5694
|
-
declare const _default$
|
|
5700
|
+
declare const _default$18: TaskFn<XcpngFindTemplateParams, XcpngFindTemplateResult>;
|
|
5695
5701
|
|
|
5696
5702
|
interface XcpngRebootVmParams {
|
|
5697
5703
|
vm_uuid?: string;
|
|
@@ -5706,7 +5712,7 @@ interface XcpngRebootVmResult {
|
|
|
5706
5712
|
powerState?: string;
|
|
5707
5713
|
waitAttempts?: number;
|
|
5708
5714
|
}
|
|
5709
|
-
declare const _default$
|
|
5715
|
+
declare const _default$17: TaskFn<XcpngRebootVmParams, XcpngRebootVmResult>;
|
|
5710
5716
|
|
|
5711
5717
|
interface XcpngSetPifParamParams {
|
|
5712
5718
|
pif_uuid: string;
|
|
@@ -5719,7 +5725,7 @@ interface XcpngSetPifParamResult {
|
|
|
5719
5725
|
command?: string;
|
|
5720
5726
|
error?: string;
|
|
5721
5727
|
}
|
|
5722
|
-
declare const _default$
|
|
5728
|
+
declare const _default$16: TaskFn<XcpngSetPifParamParams, XcpngSetPifParamResult>;
|
|
5723
5729
|
|
|
5724
5730
|
interface XcpngUnplugPifParams {
|
|
5725
5731
|
pif_uuid?: string;
|
|
@@ -5735,7 +5741,7 @@ interface XcpngUnplugPifResult {
|
|
|
5735
5741
|
skipped?: boolean;
|
|
5736
5742
|
error?: string;
|
|
5737
5743
|
}
|
|
5738
|
-
declare const _default$
|
|
5744
|
+
declare const _default$15: TaskFn<XcpngUnplugPifParams, XcpngUnplugPifResult>;
|
|
5739
5745
|
|
|
5740
5746
|
interface XcpngPifScanParams {
|
|
5741
5747
|
host_uuid?: string;
|
|
@@ -5749,7 +5755,7 @@ interface XcpngPifScanResult {
|
|
|
5749
5755
|
skipped?: boolean;
|
|
5750
5756
|
error?: string;
|
|
5751
5757
|
}
|
|
5752
|
-
declare const _default$
|
|
5758
|
+
declare const _default$14: TaskFn<XcpngPifScanParams, XcpngPifScanResult>;
|
|
5753
5759
|
|
|
5754
5760
|
interface XcpngPlugPifParams {
|
|
5755
5761
|
pif_uuid?: string;
|
|
@@ -5765,7 +5771,7 @@ interface XcpngPlugPifResult {
|
|
|
5765
5771
|
skipped?: boolean;
|
|
5766
5772
|
error?: string;
|
|
5767
5773
|
}
|
|
5768
|
-
declare const _default
|
|
5774
|
+
declare const _default$13: TaskFn<XcpngPlugPifParams, XcpngPlugPifResult>;
|
|
5769
5775
|
|
|
5770
5776
|
interface XcpngListSrParamsParams {
|
|
5771
5777
|
filters?: XeFilterInput;
|
|
@@ -5775,7 +5781,7 @@ interface XcpngListSrParamsResult {
|
|
|
5775
5781
|
items?: Array<Record<string, string>>;
|
|
5776
5782
|
error?: string;
|
|
5777
5783
|
}
|
|
5778
|
-
declare const _default$
|
|
5784
|
+
declare const _default$12: TaskFn<XcpngListSrParamsParams, XcpngListSrParamsResult>;
|
|
5779
5785
|
|
|
5780
5786
|
interface XcpngSetSrParamParams {
|
|
5781
5787
|
sr_uuid?: string;
|
|
@@ -5789,7 +5795,7 @@ interface XcpngSetSrParamResult {
|
|
|
5789
5795
|
appliedCommands: string[];
|
|
5790
5796
|
error?: string;
|
|
5791
5797
|
}
|
|
5792
|
-
declare const _default$
|
|
5798
|
+
declare const _default$11: TaskFn<XcpngSetSrParamParams, XcpngSetSrParamResult>;
|
|
5793
5799
|
|
|
5794
5800
|
interface XcpngSetNetworkParamParams {
|
|
5795
5801
|
network_uuid?: string;
|
|
@@ -5803,7 +5809,7 @@ interface XcpngSetNetworkParamResult {
|
|
|
5803
5809
|
appliedCommands: string[];
|
|
5804
5810
|
error?: string;
|
|
5805
5811
|
}
|
|
5806
|
-
declare const _default$
|
|
5812
|
+
declare const _default$10: TaskFn<XcpngSetNetworkParamParams, XcpngSetNetworkParamResult>;
|
|
5807
5813
|
|
|
5808
5814
|
interface XcpngSetPoolParamParams {
|
|
5809
5815
|
pool_uuid?: string;
|
|
@@ -5817,7 +5823,7 @@ interface XcpngSetPoolParamResult {
|
|
|
5817
5823
|
appliedCommands: string[];
|
|
5818
5824
|
error?: string;
|
|
5819
5825
|
}
|
|
5820
|
-
declare const _default
|
|
5826
|
+
declare const _default$$: TaskFn<XcpngSetPoolParamParams, XcpngSetPoolParamResult>;
|
|
5821
5827
|
|
|
5822
5828
|
interface XcpngListPoolsParams {
|
|
5823
5829
|
filters?: XeFilterInput;
|
|
@@ -5827,7 +5833,7 @@ interface XcpngListPoolsResult {
|
|
|
5827
5833
|
items?: Array<Record<string, string>>;
|
|
5828
5834
|
error?: string;
|
|
5829
5835
|
}
|
|
5830
|
-
declare const _default$
|
|
5836
|
+
declare const _default$_: TaskFn<XcpngListPoolsParams, XcpngListPoolsResult>;
|
|
5831
5837
|
|
|
5832
5838
|
interface XcpngFindPoolParams {
|
|
5833
5839
|
uuid?: string;
|
|
@@ -5843,7 +5849,7 @@ interface XcpngFindPoolResult {
|
|
|
5843
5849
|
multiple?: boolean;
|
|
5844
5850
|
error?: string;
|
|
5845
5851
|
}
|
|
5846
|
-
declare const _default$
|
|
5852
|
+
declare const _default$Z: TaskFn<XcpngFindPoolParams, XcpngFindPoolResult>;
|
|
5847
5853
|
|
|
5848
5854
|
interface XcpngUnplugPbdParams {
|
|
5849
5855
|
pbd_uuid?: string;
|
|
@@ -5858,7 +5864,7 @@ interface XcpngUnplugPbdResult {
|
|
|
5858
5864
|
skipped?: boolean;
|
|
5859
5865
|
error?: string;
|
|
5860
5866
|
}
|
|
5861
|
-
declare const _default$
|
|
5867
|
+
declare const _default$Y: TaskFn<XcpngUnplugPbdParams, XcpngUnplugPbdResult>;
|
|
5862
5868
|
|
|
5863
5869
|
interface XcpngPlugPbdParams {
|
|
5864
5870
|
pbd_uuid?: string;
|
|
@@ -5873,7 +5879,7 @@ interface XcpngPlugPbdResult {
|
|
|
5873
5879
|
skipped?: boolean;
|
|
5874
5880
|
error?: string;
|
|
5875
5881
|
}
|
|
5876
|
-
declare const _default$
|
|
5882
|
+
declare const _default$X: TaskFn<XcpngPlugPbdParams, XcpngPlugPbdResult>;
|
|
5877
5883
|
|
|
5878
5884
|
interface XcpngDestroyPbdParams {
|
|
5879
5885
|
pbd_uuid?: string;
|
|
@@ -5890,7 +5896,7 @@ interface XcpngDestroyPbdResult {
|
|
|
5890
5896
|
skipped?: boolean;
|
|
5891
5897
|
error?: string;
|
|
5892
5898
|
}
|
|
5893
|
-
declare const _default$
|
|
5899
|
+
declare const _default$W: TaskFn<XcpngDestroyPbdParams, XcpngDestroyPbdResult>;
|
|
5894
5900
|
|
|
5895
5901
|
interface XcpngCreatePbdParams {
|
|
5896
5902
|
host_uuid?: string;
|
|
@@ -5910,7 +5916,7 @@ interface XcpngCreatePbdResult {
|
|
|
5910
5916
|
skipped?: boolean;
|
|
5911
5917
|
error?: string;
|
|
5912
5918
|
}
|
|
5913
|
-
declare const _default$
|
|
5919
|
+
declare const _default$V: TaskFn<XcpngCreatePbdParams, XcpngCreatePbdResult>;
|
|
5914
5920
|
|
|
5915
5921
|
interface XcpngListPbdsParams {
|
|
5916
5922
|
filters?: XeFilterInput;
|
|
@@ -5923,7 +5929,7 @@ interface XcpngListPbdsResult {
|
|
|
5923
5929
|
items?: XcpngPbdRecord[];
|
|
5924
5930
|
error?: string;
|
|
5925
5931
|
}
|
|
5926
|
-
declare const _default$
|
|
5932
|
+
declare const _default$U: TaskFn<XcpngListPbdsParams, XcpngListPbdsResult>;
|
|
5927
5933
|
|
|
5928
5934
|
interface XcpngFindPbdParams {
|
|
5929
5935
|
uuid?: string;
|
|
@@ -5940,7 +5946,7 @@ interface XcpngFindPbdResult {
|
|
|
5940
5946
|
multiple?: boolean;
|
|
5941
5947
|
error?: string;
|
|
5942
5948
|
}
|
|
5943
|
-
declare const _default$
|
|
5949
|
+
declare const _default$T: TaskFn<XcpngFindPbdParams, XcpngFindPbdResult>;
|
|
5944
5950
|
|
|
5945
5951
|
interface XcpngListPbdParamsParams {
|
|
5946
5952
|
filters?: XeFilterInput;
|
|
@@ -5950,7 +5956,7 @@ interface XcpngListPbdParamsResult {
|
|
|
5950
5956
|
items?: Array<Record<string, string>>;
|
|
5951
5957
|
error?: string;
|
|
5952
5958
|
}
|
|
5953
|
-
declare const _default$
|
|
5959
|
+
declare const _default$S: TaskFn<XcpngListPbdParamsParams, XcpngListPbdParamsResult>;
|
|
5954
5960
|
|
|
5955
5961
|
interface XcpngEvacuateHostParams {
|
|
5956
5962
|
host_uuid?: string;
|
|
@@ -5964,7 +5970,7 @@ interface XcpngEvacuateHostResult {
|
|
|
5964
5970
|
skipped?: boolean;
|
|
5965
5971
|
error?: string;
|
|
5966
5972
|
}
|
|
5967
|
-
declare const _default$
|
|
5973
|
+
declare const _default$R: TaskFn<XcpngEvacuateHostParams, XcpngEvacuateHostResult>;
|
|
5968
5974
|
|
|
5969
5975
|
interface XcpngShutdownHostParams {
|
|
5970
5976
|
host_uuid?: string;
|
|
@@ -5979,7 +5985,7 @@ interface XcpngShutdownHostResult {
|
|
|
5979
5985
|
skipped?: boolean;
|
|
5980
5986
|
error?: string;
|
|
5981
5987
|
}
|
|
5982
|
-
declare const _default$
|
|
5988
|
+
declare const _default$Q: TaskFn<XcpngShutdownHostParams, XcpngShutdownHostResult>;
|
|
5983
5989
|
|
|
5984
5990
|
interface XcpngRebootHostParams {
|
|
5985
5991
|
host_uuid?: string;
|
|
@@ -5994,7 +6000,7 @@ interface XcpngRebootHostResult {
|
|
|
5994
6000
|
skipped?: boolean;
|
|
5995
6001
|
error?: string;
|
|
5996
6002
|
}
|
|
5997
|
-
declare const _default$
|
|
6003
|
+
declare const _default$P: TaskFn<XcpngRebootHostParams, XcpngRebootHostResult>;
|
|
5998
6004
|
|
|
5999
6005
|
interface XcpngDisableHostParams {
|
|
6000
6006
|
host_uuid?: string;
|
|
@@ -6011,7 +6017,7 @@ interface XcpngDisableHostResult {
|
|
|
6011
6017
|
evacuated?: boolean;
|
|
6012
6018
|
error?: string;
|
|
6013
6019
|
}
|
|
6014
|
-
declare const _default$
|
|
6020
|
+
declare const _default$O: TaskFn<XcpngDisableHostParams, XcpngDisableHostResult>;
|
|
6015
6021
|
|
|
6016
6022
|
interface XcpngEnableHostParams {
|
|
6017
6023
|
host_uuid?: string;
|
|
@@ -6026,7 +6032,7 @@ interface XcpngEnableHostResult {
|
|
|
6026
6032
|
skipped?: boolean;
|
|
6027
6033
|
error?: string;
|
|
6028
6034
|
}
|
|
6029
|
-
declare const _default$
|
|
6035
|
+
declare const _default$N: TaskFn<XcpngEnableHostParams, XcpngEnableHostResult>;
|
|
6030
6036
|
|
|
6031
6037
|
interface XcpngListHostsParams {
|
|
6032
6038
|
filters?: XeFilterInput;
|
|
@@ -6036,7 +6042,7 @@ interface XcpngListHostsResult {
|
|
|
6036
6042
|
items?: Array<Record<string, string>>;
|
|
6037
6043
|
error?: string;
|
|
6038
6044
|
}
|
|
6039
|
-
declare const _default$
|
|
6045
|
+
declare const _default$M: TaskFn<XcpngListHostsParams, XcpngListHostsResult>;
|
|
6040
6046
|
|
|
6041
6047
|
interface XcpngFindHostParams {
|
|
6042
6048
|
name_label?: string;
|
|
@@ -6052,7 +6058,7 @@ interface XcpngFindHostResult {
|
|
|
6052
6058
|
multiple?: boolean;
|
|
6053
6059
|
error?: string;
|
|
6054
6060
|
}
|
|
6055
|
-
declare const _default$
|
|
6061
|
+
declare const _default$L: TaskFn<XcpngFindHostParams, XcpngFindHostResult>;
|
|
6056
6062
|
|
|
6057
6063
|
interface XcpngClearMessagesParams {
|
|
6058
6064
|
uuid?: string;
|
|
@@ -6066,7 +6072,7 @@ interface XcpngClearMessagesResult {
|
|
|
6066
6072
|
commands?: Array<string>;
|
|
6067
6073
|
error?: string;
|
|
6068
6074
|
}
|
|
6069
|
-
declare const _default$
|
|
6075
|
+
declare const _default$K: TaskFn<XcpngClearMessagesParams, XcpngClearMessagesResult>;
|
|
6070
6076
|
|
|
6071
6077
|
interface XcpngListMessagesParams {
|
|
6072
6078
|
filters?: XeFilterInput;
|
|
@@ -6076,7 +6082,7 @@ interface XcpngListMessagesResult {
|
|
|
6076
6082
|
items?: Array<Record<string, string>>;
|
|
6077
6083
|
error?: string;
|
|
6078
6084
|
}
|
|
6079
|
-
declare const _default$
|
|
6085
|
+
declare const _default$J: TaskFn<XcpngListMessagesParams, XcpngListMessagesResult>;
|
|
6080
6086
|
|
|
6081
6087
|
interface XcpngListSnapshotsParams {
|
|
6082
6088
|
filters?: XeFilterInput;
|
|
@@ -6086,7 +6092,7 @@ interface XcpngListSnapshotsResult {
|
|
|
6086
6092
|
items?: Array<Record<string, string>>;
|
|
6087
6093
|
error?: string;
|
|
6088
6094
|
}
|
|
6089
|
-
declare const _default$
|
|
6095
|
+
declare const _default$I: TaskFn<XcpngListSnapshotsParams, XcpngListSnapshotsResult>;
|
|
6090
6096
|
|
|
6091
6097
|
interface XcpngForgetSrParams {
|
|
6092
6098
|
sr_uuid?: string;
|
|
@@ -6100,7 +6106,7 @@ interface XcpngForgetSrResult {
|
|
|
6100
6106
|
skipped?: boolean;
|
|
6101
6107
|
error?: string;
|
|
6102
6108
|
}
|
|
6103
|
-
declare const _default$
|
|
6109
|
+
declare const _default$H: TaskFn<XcpngForgetSrParams, XcpngForgetSrResult>;
|
|
6104
6110
|
|
|
6105
6111
|
interface XcpngIntroduceSrParams {
|
|
6106
6112
|
sr_uuid: string;
|
|
@@ -6115,7 +6121,7 @@ interface XcpngIntroduceSrResult {
|
|
|
6115
6121
|
appliedCommands: string[];
|
|
6116
6122
|
error?: string;
|
|
6117
6123
|
}
|
|
6118
|
-
declare const _default$
|
|
6124
|
+
declare const _default$G: TaskFn<XcpngIntroduceSrParams, XcpngIntroduceSrResult>;
|
|
6119
6125
|
|
|
6120
6126
|
interface XcpngDestroySrParams {
|
|
6121
6127
|
sr_uuid?: string;
|
|
@@ -6130,7 +6136,7 @@ interface XcpngDestroySrResult {
|
|
|
6130
6136
|
skipped?: boolean;
|
|
6131
6137
|
error?: string;
|
|
6132
6138
|
}
|
|
6133
|
-
declare const _default$
|
|
6139
|
+
declare const _default$F: TaskFn<XcpngDestroySrParams, XcpngDestroySrResult>;
|
|
6134
6140
|
|
|
6135
6141
|
interface XcpngCreateSrParams {
|
|
6136
6142
|
name_label: string;
|
|
@@ -6147,7 +6153,7 @@ interface XcpngCreateSrResult {
|
|
|
6147
6153
|
skipped?: boolean;
|
|
6148
6154
|
error?: string;
|
|
6149
6155
|
}
|
|
6150
|
-
declare const _default$
|
|
6156
|
+
declare const _default$E: TaskFn<XcpngCreateSrParams, XcpngCreateSrResult>;
|
|
6151
6157
|
|
|
6152
6158
|
interface XcpngDetachVdiParams {
|
|
6153
6159
|
vbd_uuid?: string;
|
|
@@ -6168,7 +6174,7 @@ interface XcpngDetachVdiResult {
|
|
|
6168
6174
|
appliedCommands: string[];
|
|
6169
6175
|
error?: string;
|
|
6170
6176
|
}
|
|
6171
|
-
declare const _default$
|
|
6177
|
+
declare const _default$D: TaskFn<XcpngDetachVdiParams, XcpngDetachVdiResult>;
|
|
6172
6178
|
|
|
6173
6179
|
interface XcpngDetachNetworkInterfaceParams {
|
|
6174
6180
|
vif_uuid?: string;
|
|
@@ -6185,7 +6191,7 @@ interface XcpngDetachNetworkInterfaceResult {
|
|
|
6185
6191
|
appliedCommands: string[];
|
|
6186
6192
|
error?: string;
|
|
6187
6193
|
}
|
|
6188
|
-
declare const _default$
|
|
6194
|
+
declare const _default$C: TaskFn<XcpngDetachNetworkInterfaceParams, XcpngDetachNetworkInterfaceResult>;
|
|
6189
6195
|
|
|
6190
6196
|
interface XcpngDetachIsoParams {
|
|
6191
6197
|
vm_uuid: string;
|
|
@@ -6198,7 +6204,7 @@ interface XcpngDetachIsoResult {
|
|
|
6198
6204
|
alreadyEmpty?: boolean;
|
|
6199
6205
|
error?: string;
|
|
6200
6206
|
}
|
|
6201
|
-
declare const _default$
|
|
6207
|
+
declare const _default$B: TaskFn<XcpngDetachIsoParams, XcpngDetachIsoResult>;
|
|
6202
6208
|
|
|
6203
6209
|
interface XcpngVmImportParams {
|
|
6204
6210
|
filename: string;
|
|
@@ -6215,7 +6221,7 @@ interface XcpngVmImportResult {
|
|
|
6215
6221
|
appliedCommands: string[];
|
|
6216
6222
|
error?: string;
|
|
6217
6223
|
}
|
|
6218
|
-
declare const _default$
|
|
6224
|
+
declare const _default$A: TaskFn<XcpngVmImportParams, XcpngVmImportResult>;
|
|
6219
6225
|
|
|
6220
6226
|
interface XcpngVmExportParams {
|
|
6221
6227
|
vm_uuid?: string;
|
|
@@ -6235,7 +6241,7 @@ interface XcpngVmExportResult {
|
|
|
6235
6241
|
skipped?: boolean;
|
|
6236
6242
|
error?: string;
|
|
6237
6243
|
}
|
|
6238
|
-
declare const _default$
|
|
6244
|
+
declare const _default$z: TaskFn<XcpngVmExportParams, XcpngVmExportResult>;
|
|
6239
6245
|
|
|
6240
6246
|
interface XcpngVmMigrateParams {
|
|
6241
6247
|
vm_uuid?: string;
|
|
@@ -6258,7 +6264,7 @@ interface XcpngVmMigrateResult {
|
|
|
6258
6264
|
skipped?: boolean;
|
|
6259
6265
|
error?: string;
|
|
6260
6266
|
}
|
|
6261
|
-
declare const _default$
|
|
6267
|
+
declare const _default$y: TaskFn<XcpngVmMigrateParams, XcpngVmMigrateResult>;
|
|
6262
6268
|
|
|
6263
6269
|
interface XcpngVmCopyParams {
|
|
6264
6270
|
vm_uuid?: string;
|
|
@@ -6280,7 +6286,7 @@ interface XcpngVmCopyResult {
|
|
|
6280
6286
|
skipped?: boolean;
|
|
6281
6287
|
error?: string;
|
|
6282
6288
|
}
|
|
6283
|
-
declare const _default$
|
|
6289
|
+
declare const _default$x: TaskFn<XcpngVmCopyParams, XcpngVmCopyResult>;
|
|
6284
6290
|
|
|
6285
6291
|
interface XcpngExportVdiParams {
|
|
6286
6292
|
vdi_uuid?: string;
|
|
@@ -6299,7 +6305,7 @@ interface XcpngExportVdiResult {
|
|
|
6299
6305
|
skipped?: boolean;
|
|
6300
6306
|
error?: string;
|
|
6301
6307
|
}
|
|
6302
|
-
declare const _default$
|
|
6308
|
+
declare const _default$w: TaskFn<XcpngExportVdiParams, XcpngExportVdiResult>;
|
|
6303
6309
|
|
|
6304
6310
|
interface XcpngCopyVdiParams {
|
|
6305
6311
|
source_vdi_uuid?: string;
|
|
@@ -6323,7 +6329,7 @@ interface XcpngCopyVdiResult {
|
|
|
6323
6329
|
skipped?: boolean;
|
|
6324
6330
|
error?: string;
|
|
6325
6331
|
}
|
|
6326
|
-
declare const _default$
|
|
6332
|
+
declare const _default$v: TaskFn<XcpngCopyVdiParams, XcpngCopyVdiResult>;
|
|
6327
6333
|
|
|
6328
6334
|
interface XcpngDestroyVmParams {
|
|
6329
6335
|
vm_uuid?: string;
|
|
@@ -6343,7 +6349,7 @@ interface XcpngDestroyVmResult {
|
|
|
6343
6349
|
skipped?: boolean;
|
|
6344
6350
|
error?: string;
|
|
6345
6351
|
}
|
|
6346
|
-
declare const _default$
|
|
6352
|
+
declare const _default$u: TaskFn<XcpngDestroyVmParams, XcpngDestroyVmResult>;
|
|
6347
6353
|
|
|
6348
6354
|
interface XcpngDestroyVdiParams {
|
|
6349
6355
|
/** Target VDI UUID. */
|
|
@@ -6362,7 +6368,7 @@ interface XcpngDestroyVdiResult {
|
|
|
6362
6368
|
skipped?: boolean;
|
|
6363
6369
|
error?: string;
|
|
6364
6370
|
}
|
|
6365
|
-
declare const _default$
|
|
6371
|
+
declare const _default$t: TaskFn<XcpngDestroyVdiParams, XcpngDestroyVdiResult>;
|
|
6366
6372
|
|
|
6367
6373
|
interface XcpngDestroyNetworkParams {
|
|
6368
6374
|
network_uuid?: string;
|
|
@@ -6376,7 +6382,7 @@ interface XcpngDestroyNetworkResult {
|
|
|
6376
6382
|
skipped?: boolean;
|
|
6377
6383
|
error?: string;
|
|
6378
6384
|
}
|
|
6379
|
-
declare const _default$
|
|
6385
|
+
declare const _default$s: TaskFn<XcpngDestroyNetworkParams, XcpngDestroyNetworkResult>;
|
|
6380
6386
|
|
|
6381
6387
|
interface XcpngDestroyTemplateParams {
|
|
6382
6388
|
template_uuid?: string;
|
|
@@ -6392,7 +6398,7 @@ interface XcpngDestroyTemplateResult {
|
|
|
6392
6398
|
skipped?: boolean;
|
|
6393
6399
|
error?: string;
|
|
6394
6400
|
}
|
|
6395
|
-
declare const _default$
|
|
6401
|
+
declare const _default$r: TaskFn<XcpngDestroyTemplateParams, XcpngDestroyTemplateResult>;
|
|
6396
6402
|
|
|
6397
6403
|
interface XcpngDestroyIsoSrParams {
|
|
6398
6404
|
/** Target SR UUID. */
|
|
@@ -6412,7 +6418,7 @@ interface XcpngDestroyIsoSrResult {
|
|
|
6412
6418
|
skipped?: boolean;
|
|
6413
6419
|
error?: string;
|
|
6414
6420
|
}
|
|
6415
|
-
declare const _default$
|
|
6421
|
+
declare const _default$q: TaskFn<XcpngDestroyIsoSrParams, XcpngDestroyIsoSrResult>;
|
|
6416
6422
|
|
|
6417
6423
|
interface XcpngDestroyBondParams {
|
|
6418
6424
|
bond_uuid?: string;
|
|
@@ -6426,7 +6432,7 @@ interface XcpngDestroyBondResult {
|
|
|
6426
6432
|
skipped?: boolean;
|
|
6427
6433
|
error?: string;
|
|
6428
6434
|
}
|
|
6429
|
-
declare const _default$
|
|
6435
|
+
declare const _default$p: TaskFn<XcpngDestroyBondParams, XcpngDestroyBondResult>;
|
|
6430
6436
|
|
|
6431
6437
|
interface XcpngDestroySnapshotParams {
|
|
6432
6438
|
snapshot_uuid: string;
|
|
@@ -6437,7 +6443,7 @@ interface XcpngDestroySnapshotResult {
|
|
|
6437
6443
|
command?: string;
|
|
6438
6444
|
error?: string;
|
|
6439
6445
|
}
|
|
6440
|
-
declare const _default$
|
|
6446
|
+
declare const _default$o: TaskFn<XcpngDestroySnapshotParams, XcpngDestroySnapshotResult>;
|
|
6441
6447
|
|
|
6442
6448
|
interface XcpngConvertTemplateToVmParams {
|
|
6443
6449
|
template_uuid?: string;
|
|
@@ -6456,7 +6462,7 @@ interface XcpngConvertTemplateToVmResult {
|
|
|
6456
6462
|
alreadyVm?: boolean;
|
|
6457
6463
|
error?: string;
|
|
6458
6464
|
}
|
|
6459
|
-
declare const _default$
|
|
6465
|
+
declare const _default$n: TaskFn<XcpngConvertTemplateToVmParams, XcpngConvertTemplateToVmResult>;
|
|
6460
6466
|
|
|
6461
6467
|
/**
|
|
6462
6468
|
* Parameters for provisioning a new VM on an XCP-ng host.
|
|
@@ -6498,7 +6504,7 @@ interface XcpngCreateVmResult {
|
|
|
6498
6504
|
appliedCommands: string[];
|
|
6499
6505
|
error?: string;
|
|
6500
6506
|
}
|
|
6501
|
-
declare const _default$
|
|
6507
|
+
declare const _default$m: TaskFn<XcpngCreateVmParams, XcpngCreateVmResult>;
|
|
6502
6508
|
|
|
6503
6509
|
/**
|
|
6504
6510
|
* Parameters required to create a new virtual disk image (VDI) on an XCP-ng storage repository.
|
|
@@ -6531,7 +6537,7 @@ interface XcpngCreateVdiResult {
|
|
|
6531
6537
|
command?: string;
|
|
6532
6538
|
error?: string;
|
|
6533
6539
|
}
|
|
6534
|
-
declare const _default$
|
|
6540
|
+
declare const _default$l: TaskFn<XcpngCreateVdiParams, XcpngCreateVdiResult>;
|
|
6535
6541
|
|
|
6536
6542
|
interface XcpngCreateTemplateFromVdiParams {
|
|
6537
6543
|
template_name_label: string;
|
|
@@ -6576,7 +6582,7 @@ interface XcpngCreateTemplateFromVdiResult {
|
|
|
6576
6582
|
error?: string;
|
|
6577
6583
|
skipped?: boolean;
|
|
6578
6584
|
}
|
|
6579
|
-
declare const _default$
|
|
6585
|
+
declare const _default$k: TaskFn<XcpngCreateTemplateFromVdiParams, XcpngCreateTemplateFromVdiResult>;
|
|
6580
6586
|
|
|
6581
6587
|
interface XcpngCloneTemplateParams {
|
|
6582
6588
|
source_template_uuid?: string;
|
|
@@ -6596,7 +6602,7 @@ interface XcpngCloneTemplateResult {
|
|
|
6596
6602
|
alreadyExists?: boolean;
|
|
6597
6603
|
error?: string;
|
|
6598
6604
|
}
|
|
6599
|
-
declare const _default$
|
|
6605
|
+
declare const _default$j: TaskFn<XcpngCloneTemplateParams, XcpngCloneTemplateResult>;
|
|
6600
6606
|
|
|
6601
6607
|
interface XcpngCreateBondParams {
|
|
6602
6608
|
host_uuid?: string;
|
|
@@ -6618,7 +6624,7 @@ interface XcpngCreateBondResult {
|
|
|
6618
6624
|
appliedCommands: string[];
|
|
6619
6625
|
error?: string;
|
|
6620
6626
|
}
|
|
6621
|
-
declare const _default$
|
|
6627
|
+
declare const _default$i: TaskFn<XcpngCreateBondParams, XcpngCreateBondResult>;
|
|
6622
6628
|
|
|
6623
6629
|
interface XcpngDetachCdMediaParams {
|
|
6624
6630
|
vm_uuid: string;
|
|
@@ -6639,7 +6645,7 @@ interface XcpngDetachCdMediaResult {
|
|
|
6639
6645
|
error?: string;
|
|
6640
6646
|
skipped?: boolean;
|
|
6641
6647
|
}
|
|
6642
|
-
declare const _default$
|
|
6648
|
+
declare const _default$h: TaskFn<XcpngDetachCdMediaParams, XcpngDetachCdMediaResult>;
|
|
6643
6649
|
|
|
6644
6650
|
interface XcpngCleanupConfigDriveParams {
|
|
6645
6651
|
vm_uuid?: string;
|
|
@@ -6663,7 +6669,7 @@ interface XcpngCleanupConfigDriveResult {
|
|
|
6663
6669
|
error?: string;
|
|
6664
6670
|
skipped?: boolean;
|
|
6665
6671
|
}
|
|
6666
|
-
declare const _default$
|
|
6672
|
+
declare const _default$g: TaskFn<XcpngCleanupConfigDriveParams, XcpngCleanupConfigDriveResult>;
|
|
6667
6673
|
|
|
6668
6674
|
interface XcpngCreateConfigDriveParams {
|
|
6669
6675
|
iso_sr_uuid?: string;
|
|
@@ -6704,7 +6710,7 @@ interface XcpngCreateConfigDriveResult {
|
|
|
6704
6710
|
steps: XcpngCreateConfigDriveStep[];
|
|
6705
6711
|
error?: string;
|
|
6706
6712
|
}
|
|
6707
|
-
declare const _default$
|
|
6713
|
+
declare const _default$f: TaskFn<XcpngCreateConfigDriveParams, XcpngCreateConfigDriveResult>;
|
|
6708
6714
|
|
|
6709
6715
|
interface XcpngCreateNetworkParams {
|
|
6710
6716
|
name_label: string;
|
|
@@ -6721,7 +6727,7 @@ interface XcpngCreateNetworkResult {
|
|
|
6721
6727
|
skipped?: boolean;
|
|
6722
6728
|
error?: string;
|
|
6723
6729
|
}
|
|
6724
|
-
declare const _default$
|
|
6730
|
+
declare const _default$e: TaskFn<XcpngCreateNetworkParams, XcpngCreateNetworkResult>;
|
|
6725
6731
|
|
|
6726
6732
|
interface XcpngCreateTemplateParams {
|
|
6727
6733
|
source_vm_uuid?: string;
|
|
@@ -6739,7 +6745,7 @@ interface XcpngCreateTemplateResult {
|
|
|
6739
6745
|
powerState?: string;
|
|
6740
6746
|
waitAttempts?: number;
|
|
6741
6747
|
}
|
|
6742
|
-
declare const _default$
|
|
6748
|
+
declare const _default$d: TaskFn<XcpngCreateTemplateParams, XcpngCreateTemplateResult>;
|
|
6743
6749
|
|
|
6744
6750
|
/**
|
|
6745
6751
|
* Parameters for attaching an existing virtual disk image to a VM.
|
|
@@ -6769,7 +6775,7 @@ interface XcpngAttachVdiResult {
|
|
|
6769
6775
|
plugged?: boolean;
|
|
6770
6776
|
error?: string;
|
|
6771
6777
|
}
|
|
6772
|
-
declare const _default$
|
|
6778
|
+
declare const _default$c: TaskFn<XcpngAttachVdiParams, XcpngAttachVdiResult>;
|
|
6773
6779
|
|
|
6774
6780
|
/**
|
|
6775
6781
|
* Parameters for attaching a virtual network interface (VIF) to a VM.
|
|
@@ -6799,7 +6805,7 @@ interface XcpngAttachNetworkInterfaceResult {
|
|
|
6799
6805
|
plugged?: boolean;
|
|
6800
6806
|
error?: string;
|
|
6801
6807
|
}
|
|
6802
|
-
declare const _default$
|
|
6808
|
+
declare const _default$b: TaskFn<XcpngAttachNetworkInterfaceParams, XcpngAttachNetworkInterfaceResult>;
|
|
6803
6809
|
|
|
6804
6810
|
/**
|
|
6805
6811
|
* Parameters for inserting an ISO image into a VM's virtual CD drive.
|
|
@@ -6825,7 +6831,7 @@ interface XcpngAttachIsoResult {
|
|
|
6825
6831
|
plugged?: boolean;
|
|
6826
6832
|
error?: string;
|
|
6827
6833
|
}
|
|
6828
|
-
declare const _default$
|
|
6834
|
+
declare const _default$a: TaskFn<XcpngAttachIsoParams, XcpngAttachIsoResult>;
|
|
6829
6835
|
|
|
6830
6836
|
interface XcpngAddDiskParams {
|
|
6831
6837
|
vm_uuid: string;
|
|
@@ -6854,7 +6860,7 @@ interface XcpngAddDiskResult {
|
|
|
6854
6860
|
plugged?: boolean;
|
|
6855
6861
|
error?: string;
|
|
6856
6862
|
}
|
|
6857
|
-
declare const _default$
|
|
6863
|
+
declare const _default$9: TaskFn<XcpngAddDiskParams, XcpngAddDiskResult>;
|
|
6858
6864
|
|
|
6859
6865
|
declare const xcpngTasks: {
|
|
6860
6866
|
addDisk: TaskFn<XcpngAddDiskParams, XcpngAddDiskResult>;
|
|
@@ -6965,10 +6971,10 @@ declare const xcpngTasks: {
|
|
|
6965
6971
|
};
|
|
6966
6972
|
|
|
6967
6973
|
declare namespace xcpng {
|
|
6968
|
-
export { _default$
|
|
6974
|
+
export { _default$9 as addDisk, _default$a as attachIso, _default$b as attachNetworkInterface, _default$c as attachVdi, _default$g as cleanupConfigDrive, _default$K as clearMessages, _default$j as cloneTemplate, _default$n as convertTemplateToVm, _default$v as copyVdi, _default$i as createBond, _default$f as createConfigDrive, _default$e as createNetwork, _default$V as createPbd, _default$E as createSr, _default$d as createTemplate, _default$k as createTemplateFromVdi, _default$l as createVdi, _default$m as createVm, xcpngTasks as default, _default$p as destroyBond, _default$q as destroyIsoSr, _default$s as destroyNetwork, _default$W as destroyPbd, _default$o as destroySnapshot, _default$F as destroySr, _default$r as destroyTemplate, _default$t as destroyVdi, _default$u as destroyVm, _default$h as detachCdMedia, _default$B as detachIso, _default$C as detachNetworkInterface, _default$D as detachVdi, _default$O as disableHost, _default$N as enableHost, _default$R as evacuateHost, _default$w as exportVdi, _default$L as findHost, _default$1d as findNetwork, _default$1b as findOrCreateIsoSr, _default$T as findPbd, _default$Z as findPool, _default$1c as findStorageRepository, _default$18 as findTemplate, _default$19 as findVdi, _default$1a as findVm, _default$H as forgetSr, _default$1K as getVmInfo, _default$1e as importIso, _default$1t as importVdi, _default$G as introduceSr, _default$1N as listAttachedDisks, _default$M as listHosts, _default$J as listMessages, _default$1k as listNetworkParams, _default$1j as listNetworks, _default$S as listPbdParams, _default$U as listPbds, _default$1q as listPifParams, _default$1p as listPifs, _default$_ as listPools, _default$I as listSnapshots, _default$12 as listSrParams, _default$1i as listStorageRepositories, _default$1m as listTemplateParams, _default$1l as listTemplates, _default$1n as listVbdParams, _default$1M as listVbds, _default$1s as listVdiParams, _default$1r as listVdis, _default$1o as listVifParams, _default$1L as listVifs, _default$1v as listVmParams, _default$1u as listVms, _default$14 as pifScan, _default$X as plugPbd, _default$13 as plugPif, _default$1g as provisionVm, _default$1f as provisionVmFromIso, _default$P as rebootHost, _default$17 as rebootVm, _default$1z as removeDisk, _default$1w as resizeVdi, _default$1x as resizeVmCpus, _default$1y as resizeVmMemory, _default$1F as resumeVm, _default$1A as revertSnapshot, _default$1C as setBootOrder, _default$10 as setNetworkParam, _default$16 as setPifParam, _default$$ as setPoolParam, _default$1B as setSnapshotParam, _default$11 as setSrParam, _default$1D as setVmResources, _default$Q as shutdownHost, _default$1H as snapshotVm, _default$1I as startVm, _default$1J as stopVm, _default$1E as suspendVm, _default$Y as unplugPbd, _default$15 as unplugPif, _default$1G as unplugVbd, _default$1h as uploadIso, _default$x as vmCopy, _default$z as vmExport, _default$A as vmImport, _default$y as vmMigrate };
|
|
6969
6975
|
}
|
|
6970
6976
|
|
|
6971
|
-
declare const _default$
|
|
6977
|
+
declare const _default$8: TaskFn<{
|
|
6972
6978
|
content: string;
|
|
6973
6979
|
name: string;
|
|
6974
6980
|
sudo?: boolean | undefined;
|
|
@@ -6981,10 +6987,10 @@ declare const _default$4: TaskFn<{
|
|
|
6981
6987
|
}>;
|
|
6982
6988
|
|
|
6983
6989
|
declare namespace yum {
|
|
6984
|
-
export { _default$
|
|
6990
|
+
export { _default$8 as add_repository };
|
|
6985
6991
|
}
|
|
6986
6992
|
|
|
6987
|
-
declare const _default$
|
|
6993
|
+
declare const _default$7: TaskFn<{
|
|
6988
6994
|
url: string;
|
|
6989
6995
|
dest: string;
|
|
6990
6996
|
mode?: string | number | undefined;
|
|
@@ -6995,7 +7001,7 @@ declare const _default$3: TaskFn<{
|
|
|
6995
7001
|
error?: string | undefined;
|
|
6996
7002
|
}>;
|
|
6997
7003
|
|
|
6998
|
-
declare const _default$
|
|
7004
|
+
declare const _default$6: TaskFn<{
|
|
6999
7005
|
sudo?: boolean | undefined;
|
|
7000
7006
|
}, {
|
|
7001
7007
|
success: true;
|
|
@@ -7028,10 +7034,20 @@ declare const _default$2: TaskFn<{
|
|
|
7028
7034
|
}>;
|
|
7029
7035
|
|
|
7030
7036
|
declare namespace net {
|
|
7031
|
-
export { _default$
|
|
7037
|
+
export { _default$7 as download, _default$6 as interfaces };
|
|
7032
7038
|
}
|
|
7033
7039
|
|
|
7034
|
-
declare const _default$
|
|
7040
|
+
declare const _default$5: TaskFn<{
|
|
7041
|
+
config: string;
|
|
7042
|
+
}, {
|
|
7043
|
+
success: true;
|
|
7044
|
+
error?: string | undefined;
|
|
7045
|
+
} | {
|
|
7046
|
+
success: false;
|
|
7047
|
+
error?: string | undefined;
|
|
7048
|
+
}>;
|
|
7049
|
+
|
|
7050
|
+
declare const _default$4: {
|
|
7035
7051
|
apply: TaskFn<{
|
|
7036
7052
|
config: string;
|
|
7037
7053
|
}, {
|
|
@@ -7044,10 +7060,15 @@ declare const _default$1: {
|
|
|
7044
7060
|
};
|
|
7045
7061
|
|
|
7046
7062
|
declare namespace nftables {
|
|
7047
|
-
export { _default$
|
|
7063
|
+
export { _default$5 as apply, _default$4 as default };
|
|
7048
7064
|
}
|
|
7049
7065
|
|
|
7050
|
-
declare const _default: {
|
|
7066
|
+
declare const _default$3: TaskFn<ObjectType, {
|
|
7067
|
+
success: boolean;
|
|
7068
|
+
error?: string | undefined;
|
|
7069
|
+
}>;
|
|
7070
|
+
|
|
7071
|
+
declare const _default$2: {
|
|
7051
7072
|
disable: TaskFn<ObjectType, {
|
|
7052
7073
|
success: boolean;
|
|
7053
7074
|
error?: string | undefined;
|
|
@@ -7055,7 +7076,53 @@ declare const _default: {
|
|
|
7055
7076
|
};
|
|
7056
7077
|
|
|
7057
7078
|
declare namespace firewalld {
|
|
7058
|
-
export { _default as default };
|
|
7079
|
+
export { _default$2 as default, _default$3 as disable };
|
|
7080
|
+
}
|
|
7081
|
+
|
|
7082
|
+
declare const HostsFileAddEntryInputSchema: z.ZodObject<{
|
|
7083
|
+
ip: z.ZodString;
|
|
7084
|
+
names: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
7085
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
7086
|
+
sudo: z.ZodOptional<z.ZodBoolean>;
|
|
7087
|
+
}, z.z.core.$strip>;
|
|
7088
|
+
type HostsFileAddEntryParams = z.infer<typeof HostsFileAddEntryInputSchema>;
|
|
7089
|
+
declare const HostsFileAddEntryOutputSchema: z.ZodUnion<[z.ZodObject<{
|
|
7090
|
+
success: z.ZodLiteral<true>;
|
|
7091
|
+
}, z.z.core.$strip>, z.ZodObject<{
|
|
7092
|
+
success: z.ZodLiteral<false>;
|
|
7093
|
+
error: z.ZodOptional<z.ZodString>;
|
|
7094
|
+
}, z.z.core.$strip>]>;
|
|
7095
|
+
type HostsFileAddEntryResult = z.infer<typeof HostsFileAddEntryOutputSchema>;
|
|
7096
|
+
declare const _default$1: TaskFn<{
|
|
7097
|
+
ip: string;
|
|
7098
|
+
names: string | string[];
|
|
7099
|
+
comment?: string | undefined;
|
|
7100
|
+
sudo?: boolean | undefined;
|
|
7101
|
+
}, {
|
|
7102
|
+
success: true;
|
|
7103
|
+
} | {
|
|
7104
|
+
success: false;
|
|
7105
|
+
error?: string | undefined;
|
|
7106
|
+
}>;
|
|
7107
|
+
|
|
7108
|
+
type hostsFile_HostsFileAddEntryParams = HostsFileAddEntryParams;
|
|
7109
|
+
type hostsFile_HostsFileAddEntryResult = HostsFileAddEntryResult;
|
|
7110
|
+
declare namespace hostsFile {
|
|
7111
|
+
export { type hostsFile_HostsFileAddEntryParams as HostsFileAddEntryParams, type hostsFile_HostsFileAddEntryResult as HostsFileAddEntryResult, _default$1 as addEntry };
|
|
7112
|
+
}
|
|
7113
|
+
|
|
7114
|
+
interface RunParams<TParams extends TaskParams = TaskParams> {
|
|
7115
|
+
taskFn: TaskFn<TParams, RunFnReturnValue>;
|
|
7116
|
+
params: TParams;
|
|
7117
|
+
}
|
|
7118
|
+
declare const RunResultSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
7119
|
+
type RunResult = z.infer<typeof RunResultSchema>;
|
|
7120
|
+
declare const _default: TaskFn<RunParams<ObjectType>, Record<string, any>>;
|
|
7121
|
+
|
|
7122
|
+
type remote_RunParams<TParams extends TaskParams = TaskParams> = RunParams<TParams>;
|
|
7123
|
+
type remote_RunResult = RunResult;
|
|
7124
|
+
declare namespace remote {
|
|
7125
|
+
export { type remote_RunParams as RunParams, type remote_RunResult as RunResult, _default as runAllRemote };
|
|
7059
7126
|
}
|
|
7060
7127
|
|
|
7061
7128
|
declare const registry: TaskRegistry;
|
|
@@ -7108,6 +7175,8 @@ declare const core: {
|
|
|
7108
7175
|
net: typeof net;
|
|
7109
7176
|
nftables: typeof nftables;
|
|
7110
7177
|
firewalld: typeof firewalld;
|
|
7178
|
+
hostsFile: typeof hostsFile;
|
|
7179
|
+
remote: typeof remote;
|
|
7111
7180
|
};
|
|
7112
7181
|
|
|
7113
7182
|
declare class RemoteRuntime implements IRuntime {
|