@metal-stack/api 0.4.4 → 0.5.2
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/{js/Makefile → Makefile} +5 -2
- package/bun.lock +74 -0
- package/client-test.d.ts +1 -0
- package/client-test.js +45 -0
- package/client-test.ts +49 -0
- package/client.d.ts +97 -0
- package/client.js +347 -0
- package/client.ts +662 -0
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/component_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/component_pb.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/image_pb.d.ts +16 -16
- package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +16 -16
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.d.ts +47 -55
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.js +1 -1
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.ts +48 -55
- package/{js/metalstack → metalstack}/admin/v2/network_pb.d.ts +195 -37
- package/{js/metalstack → metalstack}/admin/v2/network_pb.js +36 -5
- package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +222 -42
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.d.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/project_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/project_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.d.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_pb.d.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_pb.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.d.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/task_pb.d.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/task_pb.js +8 -8
- package/{js/metalstack → metalstack}/admin/v2/task_pb.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.d.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/token_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/token_pb.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.d.ts +13 -13
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.ts +13 -13
- package/{js/metalstack → metalstack}/api/v2/audit_pb.d.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/audit_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/audit_pb.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/common_pb.d.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/common_pb.js +47 -47
- package/{js/metalstack → metalstack}/api/v2/common_pb.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/component_pb.d.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/component_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/component_pb.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.d.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.js +23 -23
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/health_pb.d.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/health_pb.js +13 -13
- package/{js/metalstack → metalstack}/api/v2/health_pb.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/image_pb.d.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/image_pb.js +9 -9
- package/{js/metalstack → metalstack}/api/v2/image_pb.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/ip_pb.d.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/ip_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/ip_pb.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/machine_pb.d.ts +422 -374
- package/{js/metalstack → metalstack}/api/v2/machine_pb.js +94 -89
- package/{js/metalstack → metalstack}/api/v2/machine_pb.ts +453 -396
- package/{js/metalstack → metalstack}/api/v2/method_pb.d.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/method_pb.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/network_pb.d.ts +146 -98
- package/{js/metalstack → metalstack}/api/v2/network_pb.js +30 -20
- package/{js/metalstack → metalstack}/api/v2/network_pb.ts +158 -102
- package/{js/metalstack → metalstack}/api/v2/partition_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/partition_pb.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.d.ts +30 -24
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.js +40 -34
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.ts +42 -34
- package/{js/metalstack → metalstack}/api/v2/project_pb.d.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/project_pb.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.d.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_pb.js +6 -6
- package/{js/metalstack → metalstack}/api/v2/size_pb.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.d.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/switch_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/switch_pb.js +1 -1
- package/{js/metalstack → metalstack}/api/v2/switch_pb.ts +9 -9
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.d.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/token_pb.d.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/token_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/token_pb.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/user_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/user_pb.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/version_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/version_pb.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.ts +6 -6
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.d.ts +15 -17
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.js +1 -1
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.ts +16 -16
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/component_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/component_pb.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/event_pb.d.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/event_pb.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.d.ts +12 -12
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.ts +12 -12
- package/package.json +4 -3
- package/test-interceptor.d.ts +9 -0
- package/test-interceptor.js +33 -0
- package/test-interceptor.ts +49 -0
- package/tsconfig.json +14 -0
- package/LICENSE +0 -21
- package/README.md +0 -117
- package/js/tsconfig.json +0 -70
- /package/{js/buf → buf}/validate/validate_pb.d.ts +0 -0
- /package/{js/buf → buf}/validate/validate_pb.js +0 -0
- /package/{js/buf → buf}/validate/validate_pb.ts +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/audit_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/image_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/ip_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/switch_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/token_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/method_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/user_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/version_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/boot_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/event_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/switch_pb.js +0 -0
|
@@ -13,43 +13,43 @@ export declare const file_metalstack_api_v2_user: GenFile;
|
|
|
13
13
|
*/
|
|
14
14
|
export type User = Message<"metalstack.api.v2.User"> & {
|
|
15
15
|
/**
|
|
16
|
-
* Login is the login at the provider
|
|
16
|
+
* Login is the login at the provider.
|
|
17
17
|
*
|
|
18
18
|
* @generated from field: string login = 1;
|
|
19
19
|
*/
|
|
20
20
|
login: string;
|
|
21
21
|
/**
|
|
22
|
-
* Name of the user
|
|
22
|
+
* Name of the user.
|
|
23
23
|
*
|
|
24
24
|
* @generated from field: string name = 2;
|
|
25
25
|
*/
|
|
26
26
|
name: string;
|
|
27
27
|
/**
|
|
28
|
-
* Email of the user
|
|
28
|
+
* Email of the user.
|
|
29
29
|
*
|
|
30
30
|
* @generated from field: string email = 3;
|
|
31
31
|
*/
|
|
32
32
|
email: string;
|
|
33
33
|
/**
|
|
34
|
-
* AvatarUrl of the user
|
|
34
|
+
* AvatarUrl of the user.
|
|
35
35
|
*
|
|
36
36
|
* @generated from field: string avatar_url = 4;
|
|
37
37
|
*/
|
|
38
38
|
avatarUrl: string;
|
|
39
39
|
/**
|
|
40
|
-
* Tenants the user belongs to
|
|
40
|
+
* Tenants the user belongs to.
|
|
41
41
|
*
|
|
42
42
|
* @generated from field: repeated metalstack.api.v2.Tenant tenants = 5;
|
|
43
43
|
*/
|
|
44
44
|
tenants: Tenant[];
|
|
45
45
|
/**
|
|
46
|
-
* Projects the user belongs to
|
|
46
|
+
* Projects the user belongs to.
|
|
47
47
|
*
|
|
48
48
|
* @generated from field: repeated metalstack.api.v2.Project projects = 6;
|
|
49
49
|
*/
|
|
50
50
|
projects: Project[];
|
|
51
51
|
/**
|
|
52
|
-
* DefaultTenant the default tenant that this user belongs to
|
|
52
|
+
* DefaultTenant the default tenant that this user belongs to.
|
|
53
53
|
*
|
|
54
54
|
* @generated from field: metalstack.api.v2.Tenant default_tenant = 7;
|
|
55
55
|
*/
|
|
@@ -78,7 +78,7 @@ export declare const UserServiceGetRequestSchema: GenMessage<UserServiceGetReque
|
|
|
78
78
|
*/
|
|
79
79
|
export type UserServiceGetResponse = Message<"metalstack.api.v2.UserServiceGetResponse"> & {
|
|
80
80
|
/**
|
|
81
|
-
* User contains the authenticated user
|
|
81
|
+
* User contains the authenticated user.
|
|
82
82
|
*
|
|
83
83
|
* @generated from field: metalstack.api.v2.User user = 1;
|
|
84
84
|
*/
|
|
@@ -26,49 +26,49 @@ export const file_metalstack_api_v2_user: GenFile = /*@__PURE__*/
|
|
|
26
26
|
*/
|
|
27
27
|
export type User = Message<"metalstack.api.v2.User"> & {
|
|
28
28
|
/**
|
|
29
|
-
* Login is the login at the provider
|
|
29
|
+
* Login is the login at the provider.
|
|
30
30
|
*
|
|
31
31
|
* @generated from field: string login = 1;
|
|
32
32
|
*/
|
|
33
33
|
login: string;
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
* Name of the user
|
|
36
|
+
* Name of the user.
|
|
37
37
|
*
|
|
38
38
|
* @generated from field: string name = 2;
|
|
39
39
|
*/
|
|
40
40
|
name: string;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Email of the user
|
|
43
|
+
* Email of the user.
|
|
44
44
|
*
|
|
45
45
|
* @generated from field: string email = 3;
|
|
46
46
|
*/
|
|
47
47
|
email: string;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* AvatarUrl of the user
|
|
50
|
+
* AvatarUrl of the user.
|
|
51
51
|
*
|
|
52
52
|
* @generated from field: string avatar_url = 4;
|
|
53
53
|
*/
|
|
54
54
|
avatarUrl: string;
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
|
-
* Tenants the user belongs to
|
|
57
|
+
* Tenants the user belongs to.
|
|
58
58
|
*
|
|
59
59
|
* @generated from field: repeated metalstack.api.v2.Tenant tenants = 5;
|
|
60
60
|
*/
|
|
61
61
|
tenants: Tenant[];
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
|
-
* Projects the user belongs to
|
|
64
|
+
* Projects the user belongs to.
|
|
65
65
|
*
|
|
66
66
|
* @generated from field: repeated metalstack.api.v2.Project projects = 6;
|
|
67
67
|
*/
|
|
68
68
|
projects: Project[];
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
|
-
* DefaultTenant the default tenant that this user belongs to
|
|
71
|
+
* DefaultTenant the default tenant that this user belongs to.
|
|
72
72
|
*
|
|
73
73
|
* @generated from field: metalstack.api.v2.Tenant default_tenant = 7;
|
|
74
74
|
*/
|
|
@@ -104,7 +104,7 @@ export const UserServiceGetRequestSchema: GenMessage<UserServiceGetRequest> = /*
|
|
|
104
104
|
*/
|
|
105
105
|
export type UserServiceGetResponse = Message<"metalstack.api.v2.UserServiceGetResponse"> & {
|
|
106
106
|
/**
|
|
107
|
-
* User contains the authenticated user
|
|
107
|
+
* User contains the authenticated user.
|
|
108
108
|
*
|
|
109
109
|
* @generated from field: metalstack.api.v2.User user = 1;
|
|
110
110
|
*/
|
|
@@ -11,25 +11,25 @@ export declare const file_metalstack_api_v2_version: GenFile;
|
|
|
11
11
|
*/
|
|
12
12
|
export type Version = Message<"metalstack.api.v2.Version"> & {
|
|
13
13
|
/**
|
|
14
|
-
* Version of the application
|
|
14
|
+
* Version of the application.
|
|
15
15
|
*
|
|
16
16
|
* @generated from field: string version = 1;
|
|
17
17
|
*/
|
|
18
18
|
version: string;
|
|
19
19
|
/**
|
|
20
|
-
* Revision of the application
|
|
20
|
+
* Revision of the application.
|
|
21
21
|
*
|
|
22
22
|
* @generated from field: string revision = 2;
|
|
23
23
|
*/
|
|
24
24
|
revision: string;
|
|
25
25
|
/**
|
|
26
|
-
* GitSHA1 of the application
|
|
26
|
+
* GitSHA1 of the application.
|
|
27
27
|
*
|
|
28
28
|
* @generated from field: string git_sha1 = 3;
|
|
29
29
|
*/
|
|
30
30
|
gitSha1: string;
|
|
31
31
|
/**
|
|
32
|
-
* BuildDate of the application
|
|
32
|
+
* BuildDate of the application.
|
|
33
33
|
*
|
|
34
34
|
* @generated from field: string build_date = 4;
|
|
35
35
|
*/
|
|
@@ -58,7 +58,7 @@ export declare const VersionServiceGetRequestSchema: GenMessage<VersionServiceGe
|
|
|
58
58
|
*/
|
|
59
59
|
export type VersionServiceGetResponse = Message<"metalstack.api.v2.VersionServiceGetResponse"> & {
|
|
60
60
|
/**
|
|
61
|
-
* Version contains the version of the application
|
|
61
|
+
* Version contains the version of the application.
|
|
62
62
|
*
|
|
63
63
|
* @generated from field: metalstack.api.v2.Version version = 1;
|
|
64
64
|
*/
|
|
@@ -22,28 +22,28 @@ export const file_metalstack_api_v2_version: GenFile = /*@__PURE__*/
|
|
|
22
22
|
*/
|
|
23
23
|
export type Version = Message<"metalstack.api.v2.Version"> & {
|
|
24
24
|
/**
|
|
25
|
-
* Version of the application
|
|
25
|
+
* Version of the application.
|
|
26
26
|
*
|
|
27
27
|
* @generated from field: string version = 1;
|
|
28
28
|
*/
|
|
29
29
|
version: string;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Revision of the application
|
|
32
|
+
* Revision of the application.
|
|
33
33
|
*
|
|
34
34
|
* @generated from field: string revision = 2;
|
|
35
35
|
*/
|
|
36
36
|
revision: string;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* GitSHA1 of the application
|
|
39
|
+
* GitSHA1 of the application.
|
|
40
40
|
*
|
|
41
41
|
* @generated from field: string git_sha1 = 3;
|
|
42
42
|
*/
|
|
43
43
|
gitSha1: string;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* BuildDate of the application
|
|
46
|
+
* BuildDate of the application.
|
|
47
47
|
*
|
|
48
48
|
* @generated from field: string build_date = 4;
|
|
49
49
|
*/
|
|
@@ -79,7 +79,7 @@ export const VersionServiceGetRequestSchema: GenMessage<VersionServiceGetRequest
|
|
|
79
79
|
*/
|
|
80
80
|
export type VersionServiceGetResponse = Message<"metalstack.api.v2.VersionServiceGetResponse"> & {
|
|
81
81
|
/**
|
|
82
|
-
* Version contains the version of the application
|
|
82
|
+
* Version contains the version of the application.
|
|
83
83
|
*
|
|
84
84
|
* @generated from field: metalstack.api.v2.Version version = 1;
|
|
85
85
|
*/
|
|
@@ -12,37 +12,37 @@ export declare const file_metalstack_api_v2_vpn: GenFile;
|
|
|
12
12
|
*/
|
|
13
13
|
export type VPNNode = Message<"metalstack.api.v2.VPNNode"> & {
|
|
14
14
|
/**
|
|
15
|
-
* ID of this node
|
|
15
|
+
* ID of this node.
|
|
16
16
|
*
|
|
17
17
|
* @generated from field: uint64 id = 1;
|
|
18
18
|
*/
|
|
19
19
|
id: bigint;
|
|
20
20
|
/**
|
|
21
|
-
* Name of this node
|
|
21
|
+
* Name of this node.
|
|
22
22
|
*
|
|
23
23
|
* @generated from field: string name = 2;
|
|
24
24
|
*/
|
|
25
25
|
name: string;
|
|
26
26
|
/**
|
|
27
|
-
* Project of this node, maps to a project
|
|
27
|
+
* Project of this node, maps to a project.
|
|
28
28
|
*
|
|
29
29
|
* @generated from field: string project = 3;
|
|
30
30
|
*/
|
|
31
31
|
project: string;
|
|
32
32
|
/**
|
|
33
|
-
* IPAddresses of this node in the VPN
|
|
33
|
+
* IPAddresses of this node in the VPN.
|
|
34
34
|
*
|
|
35
35
|
* @generated from field: repeated string ip_addresses = 4;
|
|
36
36
|
*/
|
|
37
37
|
ipAddresses: string[];
|
|
38
38
|
/**
|
|
39
|
-
* LastSeen timestamp when this node reached out to the control plane
|
|
39
|
+
* LastSeen timestamp when this node reached out to the control plane.
|
|
40
40
|
*
|
|
41
41
|
* @generated from field: google.protobuf.Timestamp last_seen = 5;
|
|
42
42
|
*/
|
|
43
43
|
lastSeen?: Timestamp | undefined;
|
|
44
44
|
/**
|
|
45
|
-
* Online indicates if this node is online
|
|
45
|
+
* Online indicates if this node is online.
|
|
46
46
|
*
|
|
47
47
|
* @generated from field: bool online = 6;
|
|
48
48
|
*/
|
|
@@ -23,42 +23,42 @@ export const file_metalstack_api_v2_vpn: GenFile = /*@__PURE__*/
|
|
|
23
23
|
*/
|
|
24
24
|
export type VPNNode = Message<"metalstack.api.v2.VPNNode"> & {
|
|
25
25
|
/**
|
|
26
|
-
* ID of this node
|
|
26
|
+
* ID of this node.
|
|
27
27
|
*
|
|
28
28
|
* @generated from field: uint64 id = 1;
|
|
29
29
|
*/
|
|
30
30
|
id: bigint;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Name of this node
|
|
33
|
+
* Name of this node.
|
|
34
34
|
*
|
|
35
35
|
* @generated from field: string name = 2;
|
|
36
36
|
*/
|
|
37
37
|
name: string;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Project of this node, maps to a project
|
|
40
|
+
* Project of this node, maps to a project.
|
|
41
41
|
*
|
|
42
42
|
* @generated from field: string project = 3;
|
|
43
43
|
*/
|
|
44
44
|
project: string;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* IPAddresses of this node in the VPN
|
|
47
|
+
* IPAddresses of this node in the VPN.
|
|
48
48
|
*
|
|
49
49
|
* @generated from field: repeated string ip_addresses = 4;
|
|
50
50
|
*/
|
|
51
51
|
ipAddresses: string[];
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* LastSeen timestamp when this node reached out to the control plane
|
|
54
|
+
* LastSeen timestamp when this node reached out to the control plane.
|
|
55
55
|
*
|
|
56
56
|
* @generated from field: google.protobuf.Timestamp last_seen = 5;
|
|
57
57
|
*/
|
|
58
58
|
lastSeen?: Timestamp | undefined;
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
* Online indicates if this node is online
|
|
61
|
+
* Online indicates if this node is online.
|
|
62
62
|
*
|
|
63
63
|
* @generated from field: bool online = 6;
|
|
64
64
|
*/
|
|
@@ -12,19 +12,17 @@ export declare const file_metalstack_infra_v2_bmc: GenFile;
|
|
|
12
12
|
*/
|
|
13
13
|
export type UpdateBMCInfoRequest = Message<"metalstack.infra.v2.UpdateBMCInfoRequest"> & {
|
|
14
14
|
/**
|
|
15
|
-
* Partition is the partition ID where metal-bmc wants to receive events
|
|
15
|
+
* Partition is the partition ID where metal-bmc wants to receive events.
|
|
16
16
|
*
|
|
17
17
|
* @generated from field: string partition = 1;
|
|
18
18
|
*/
|
|
19
19
|
partition: string;
|
|
20
20
|
/**
|
|
21
|
-
* BmcReports
|
|
21
|
+
* BmcReports contains bmc details of a machine.
|
|
22
22
|
*
|
|
23
|
-
* @generated from field:
|
|
23
|
+
* @generated from field: repeated metalstack.api.v2.MachineBMCReport bmc_reports = 2;
|
|
24
24
|
*/
|
|
25
|
-
bmcReports:
|
|
26
|
-
[key: string]: MachineBMCReport;
|
|
27
|
-
};
|
|
25
|
+
bmcReports: MachineBMCReport[];
|
|
28
26
|
};
|
|
29
27
|
/**
|
|
30
28
|
* Describes the message metalstack.infra.v2.UpdateBMCInfoRequest.
|
|
@@ -38,13 +36,13 @@ export declare const UpdateBMCInfoRequestSchema: GenMessage<UpdateBMCInfoRequest
|
|
|
38
36
|
*/
|
|
39
37
|
export type UpdateBMCInfoResponse = Message<"metalstack.infra.v2.UpdateBMCInfoResponse"> & {
|
|
40
38
|
/**
|
|
41
|
-
* UpdatedMachines is a slice of machine UUIDs which were updated
|
|
39
|
+
* UpdatedMachines is a slice of machine UUIDs which were updated.
|
|
42
40
|
*
|
|
43
41
|
* @generated from field: repeated string updated_machines = 1;
|
|
44
42
|
*/
|
|
45
43
|
updatedMachines: string[];
|
|
46
44
|
/**
|
|
47
|
-
* CreatedMachines is a slice of machine UUIDs which were created
|
|
45
|
+
* CreatedMachines is a slice of machine UUIDs which were created.
|
|
48
46
|
*
|
|
49
47
|
* @generated from field: repeated string created_machines = 2;
|
|
50
48
|
*/
|
|
@@ -62,7 +60,7 @@ export declare const UpdateBMCInfoResponseSchema: GenMessage<UpdateBMCInfoRespon
|
|
|
62
60
|
*/
|
|
63
61
|
export type WaitForBMCCommandRequest = Message<"metalstack.infra.v2.WaitForBMCCommandRequest"> & {
|
|
64
62
|
/**
|
|
65
|
-
* Partition is the partition ID where metal-bmc wants to receive BMC commands
|
|
63
|
+
* Partition is the partition ID where metal-bmc wants to receive BMC commands.
|
|
66
64
|
*
|
|
67
65
|
* @generated from field: string partition = 1;
|
|
68
66
|
*/
|
|
@@ -80,26 +78,26 @@ export declare const WaitForBMCCommandRequestSchema: GenMessage<WaitForBMCComman
|
|
|
80
78
|
*/
|
|
81
79
|
export type WaitForBMCCommandResponse = Message<"metalstack.infra.v2.WaitForBMCCommandResponse"> & {
|
|
82
80
|
/**
|
|
83
|
-
* UUID of the machine to send the command to
|
|
81
|
+
* UUID of the machine to send the command to.
|
|
84
82
|
*
|
|
85
83
|
* @generated from field: string uuid = 1;
|
|
86
84
|
*/
|
|
87
85
|
uuid: string;
|
|
88
86
|
/**
|
|
89
|
-
* BmcCommand to execute against the BMC of the machine
|
|
87
|
+
* BmcCommand to execute against the BMC of the machine.
|
|
90
88
|
*
|
|
91
89
|
* @generated from field: metalstack.api.v2.MachineBMCCommand bmc_command = 2;
|
|
92
90
|
*/
|
|
93
91
|
bmcCommand: MachineBMCCommand;
|
|
94
92
|
/**
|
|
95
|
-
* MachineBmc contains connection details of the machine to issue the BMC command to
|
|
93
|
+
* MachineBmc contains connection details of the machine to issue the BMC command to.
|
|
96
94
|
*
|
|
97
95
|
* @generated from field: metalstack.api.v2.MachineBMC machine_bmc = 3;
|
|
98
96
|
*/
|
|
99
97
|
machineBmc?: MachineBMC | undefined;
|
|
100
98
|
/**
|
|
101
|
-
* CommandId is a unique ID which must be sent back after execution
|
|
102
|
-
* It is usually in the form: <machine-uuid>:machine-bmc-command:<command
|
|
99
|
+
* CommandId is a unique ID which must be sent back after execution.
|
|
100
|
+
* It is usually in the form: <machine-uuid>:machine-bmc-command:<command>.
|
|
103
101
|
*
|
|
104
102
|
* @generated from field: string command_id = 4;
|
|
105
103
|
*/
|
|
@@ -117,14 +115,14 @@ export declare const WaitForBMCCommandResponseSchema: GenMessage<WaitForBMCComma
|
|
|
117
115
|
*/
|
|
118
116
|
export type BMCCommandDoneRequest = Message<"metalstack.infra.v2.BMCCommandDoneRequest"> & {
|
|
119
117
|
/**
|
|
120
|
-
* CommandId is a unique ID which must be sent back after execution
|
|
121
|
-
* It is usually in the form: <machine-uuid>:machine-bmc-command
|
|
118
|
+
* CommandId is a unique ID which must be sent back after execution.
|
|
119
|
+
* It is usually in the form: <machine-uuid>:machine-bmc-command.
|
|
122
120
|
*
|
|
123
121
|
* @generated from field: string command_id = 1;
|
|
124
122
|
*/
|
|
125
123
|
commandId: string;
|
|
126
124
|
/**
|
|
127
|
-
* Error of the command execution, nil if it was successful
|
|
125
|
+
* Error of the command execution, nil if it was successful.
|
|
128
126
|
*
|
|
129
127
|
* @generated from field: optional string error = 2;
|
|
130
128
|
*/
|
|
@@ -9,7 +9,7 @@ import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined
|
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file metalstack/infra/v2/bmc.proto.
|
|
11
11
|
*/
|
|
12
|
-
export const file_metalstack_infra_v2_bmc = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_metalstack_infra_v2_bmc = /*@__PURE__*/ fileDesc("Ch1tZXRhbHN0YWNrL2luZnJhL3YyL2JtYy5wcm90bxITbWV0YWxzdGFjay5pbmZyYS52MiJwChRVcGRhdGVCTUNJbmZvUmVxdWVzdBIeCglwYXJ0aXRpb24YASABKAlCC7pICHIG0LOusQIBEjgKC2JtY19yZXBvcnRzGAIgAygLMiMubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZUJNQ1JlcG9ydCJLChVVcGRhdGVCT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bmZyYS52MkIIQm1jUHJvdG9QAVo5Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9pbmZyYS92MjtpbmZyYXYyogIDTUlYqgITTWV0YWxzdGFjay5JbmZyYS5WMsoCE01ldGFsc3RhY2tcSW5mcmFcVjLiAh9NZXRhbHN0YWNrXEluZnJhXFYyXEdQQk1ldGFkYXRh6gIVTWV0YWxzdGFjazo6SW5mcmE6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_machine, file_metalstack_api_v2_predefined_rules]);
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message metalstack.infra.v2.UpdateBMCInfoRequest.
|
|
15
15
|
* Use `create(UpdateBMCInfoRequestSchema)` to create a new message.
|
|
@@ -15,7 +15,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
15
15
|
* Describes the file metalstack/infra/v2/bmc.proto.
|
|
16
16
|
*/
|
|
17
17
|
export const file_metalstack_infra_v2_bmc: GenFile = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
18
|
+
fileDesc("Ch1tZXRhbHN0YWNrL2luZnJhL3YyL2JtYy5wcm90bxITbWV0YWxzdGFjay5pbmZyYS52MiJwChRVcGRhdGVCTUNJbmZvUmVxdWVzdBIeCglwYXJ0aXRpb24YASABKAlCC7pICHIG0LOusQIBEjgKC2JtY19yZXBvcnRzGAIgAygLMiMubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZUJNQ1JlcG9ydCJLChVVcGRhdGVCTUNJbmZvUmVzcG9uc2USGAoQdXBkYXRlZF9tYWNoaW5lcxgBIAMoCRIYChBjcmVhdGVkX21hY2hpbmVzGAIgAygJIjoKGFdhaXRGb3JCTUNDb21tYW5kUmVxdWVzdBIeCglwYXJ0aXRpb24YASABKAlCC7pICHIG0LOusQIBIrYBChlXYWl0Rm9yQk1DQ29tbWFuZFJlc3BvbnNlEhYKBHV1aWQYASABKAlCCLpIBXIDsAEB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W5mcmE6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_machine, file_metalstack_api_v2_predefined_rules]);
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* UpdateBMCInfoRequest is the request payload for updating BMC information.
|
|
@@ -24,18 +24,18 @@ export const file_metalstack_infra_v2_bmc: GenFile = /*@__PURE__*/
|
|
|
24
24
|
*/
|
|
25
25
|
export type UpdateBMCInfoRequest = Message<"metalstack.infra.v2.UpdateBMCInfoRequest"> & {
|
|
26
26
|
/**
|
|
27
|
-
* Partition is the partition ID where metal-bmc wants to receive events
|
|
27
|
+
* Partition is the partition ID where metal-bmc wants to receive events.
|
|
28
28
|
*
|
|
29
29
|
* @generated from field: string partition = 1;
|
|
30
30
|
*/
|
|
31
31
|
partition: string;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* BmcReports
|
|
34
|
+
* BmcReports contains bmc details of a machine.
|
|
35
35
|
*
|
|
36
|
-
* @generated from field:
|
|
36
|
+
* @generated from field: repeated metalstack.api.v2.MachineBMCReport bmc_reports = 2;
|
|
37
37
|
*/
|
|
38
|
-
bmcReports:
|
|
38
|
+
bmcReports: MachineBMCReport[];
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -52,14 +52,14 @@ export const UpdateBMCInfoRequestSchema: GenMessage<UpdateBMCInfoRequest> = /*@_
|
|
|
52
52
|
*/
|
|
53
53
|
export type UpdateBMCInfoResponse = Message<"metalstack.infra.v2.UpdateBMCInfoResponse"> & {
|
|
54
54
|
/**
|
|
55
|
-
* UpdatedMachines is a slice of machine UUIDs which were updated
|
|
55
|
+
* UpdatedMachines is a slice of machine UUIDs which were updated.
|
|
56
56
|
*
|
|
57
57
|
* @generated from field: repeated string updated_machines = 1;
|
|
58
58
|
*/
|
|
59
59
|
updatedMachines: string[];
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* CreatedMachines is a slice of machine UUIDs which were created
|
|
62
|
+
* CreatedMachines is a slice of machine UUIDs which were created.
|
|
63
63
|
*
|
|
64
64
|
* @generated from field: repeated string created_machines = 2;
|
|
65
65
|
*/
|
|
@@ -80,7 +80,7 @@ export const UpdateBMCInfoResponseSchema: GenMessage<UpdateBMCInfoResponse> = /*
|
|
|
80
80
|
*/
|
|
81
81
|
export type WaitForBMCCommandRequest = Message<"metalstack.infra.v2.WaitForBMCCommandRequest"> & {
|
|
82
82
|
/**
|
|
83
|
-
* Partition is the partition ID where metal-bmc wants to receive BMC commands
|
|
83
|
+
* Partition is the partition ID where metal-bmc wants to receive BMC commands.
|
|
84
84
|
*
|
|
85
85
|
* @generated from field: string partition = 1;
|
|
86
86
|
*/
|
|
@@ -101,29 +101,29 @@ export const WaitForBMCCommandRequestSchema: GenMessage<WaitForBMCCommandRequest
|
|
|
101
101
|
*/
|
|
102
102
|
export type WaitForBMCCommandResponse = Message<"metalstack.infra.v2.WaitForBMCCommandResponse"> & {
|
|
103
103
|
/**
|
|
104
|
-
* UUID of the machine to send the command to
|
|
104
|
+
* UUID of the machine to send the command to.
|
|
105
105
|
*
|
|
106
106
|
* @generated from field: string uuid = 1;
|
|
107
107
|
*/
|
|
108
108
|
uuid: string;
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
|
-
* BmcCommand to execute against the BMC of the machine
|
|
111
|
+
* BmcCommand to execute against the BMC of the machine.
|
|
112
112
|
*
|
|
113
113
|
* @generated from field: metalstack.api.v2.MachineBMCCommand bmc_command = 2;
|
|
114
114
|
*/
|
|
115
115
|
bmcCommand: MachineBMCCommand;
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
|
-
* MachineBmc contains connection details of the machine to issue the BMC command to
|
|
118
|
+
* MachineBmc contains connection details of the machine to issue the BMC command to.
|
|
119
119
|
*
|
|
120
120
|
* @generated from field: metalstack.api.v2.MachineBMC machine_bmc = 3;
|
|
121
121
|
*/
|
|
122
122
|
machineBmc?: MachineBMC | undefined;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
|
-
* CommandId is a unique ID which must be sent back after execution
|
|
126
|
-
* It is usually in the form: <machine-uuid>:machine-bmc-command:<command
|
|
125
|
+
* CommandId is a unique ID which must be sent back after execution.
|
|
126
|
+
* It is usually in the form: <machine-uuid>:machine-bmc-command:<command>.
|
|
127
127
|
*
|
|
128
128
|
* @generated from field: string command_id = 4;
|
|
129
129
|
*/
|
|
@@ -144,15 +144,15 @@ export const WaitForBMCCommandResponseSchema: GenMessage<WaitForBMCCommandRespon
|
|
|
144
144
|
*/
|
|
145
145
|
export type BMCCommandDoneRequest = Message<"metalstack.infra.v2.BMCCommandDoneRequest"> & {
|
|
146
146
|
/**
|
|
147
|
-
* CommandId is a unique ID which must be sent back after execution
|
|
148
|
-
* It is usually in the form: <machine-uuid>:machine-bmc-command
|
|
147
|
+
* CommandId is a unique ID which must be sent back after execution.
|
|
148
|
+
* It is usually in the form: <machine-uuid>:machine-bmc-command.
|
|
149
149
|
*
|
|
150
150
|
* @generated from field: string command_id = 1;
|
|
151
151
|
*/
|
|
152
152
|
commandId: string;
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
|
-
* Error of the command execution, nil if it was successful
|
|
155
|
+
* Error of the command execution, nil if it was successful.
|
|
156
156
|
*
|
|
157
157
|
* @generated from field: optional string error = 2;
|
|
158
158
|
*/
|