@metal-stack/api 0.0.40-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +111 -0
- package/js/Makefile +16 -0
- package/js/buf/validate/validate_pb.d.ts +4597 -0
- package/js/buf/validate/validate_pb.js +351 -0
- package/js/buf/validate/validate_pb.ts +4938 -0
- package/js/metalstack/admin/v2/filesystem_pb.d.ts +207 -0
- package/js/metalstack/admin/v2/filesystem_pb.js +48 -0
- package/js/metalstack/admin/v2/filesystem_pb.ts +248 -0
- package/js/metalstack/admin/v2/image_pb.d.ts +242 -0
- package/js/metalstack/admin/v2/image_pb.js +59 -0
- package/js/metalstack/admin/v2/image_pb.ts +288 -0
- package/js/metalstack/admin/v2/ip_pb.d.ts +60 -0
- package/js/metalstack/admin/v2/ip_pb.js +26 -0
- package/js/metalstack/admin/v2/ip_pb.ts +78 -0
- package/js/metalstack/admin/v2/machine_pb.d.ts +113 -0
- package/js/metalstack/admin/v2/machine_pb.js +38 -0
- package/js/metalstack/admin/v2/machine_pb.ts +140 -0
- package/js/metalstack/admin/v2/network_pb.d.ts +407 -0
- package/js/metalstack/admin/v2/network_pb.js +68 -0
- package/js/metalstack/admin/v2/network_pb.ts +478 -0
- package/js/metalstack/admin/v2/partition_pb.d.ts +341 -0
- package/js/metalstack/admin/v2/partition_pb.js +58 -0
- package/js/metalstack/admin/v2/partition_pb.ts +402 -0
- package/js/metalstack/admin/v2/project_pb.d.ts +67 -0
- package/js/metalstack/admin/v2/project_pb.js +27 -0
- package/js/metalstack/admin/v2/project_pb.ts +87 -0
- package/js/metalstack/admin/v2/size_pb.d.ts +183 -0
- package/js/metalstack/admin/v2/size_pb.js +48 -0
- package/js/metalstack/admin/v2/size_pb.ts +220 -0
- package/js/metalstack/admin/v2/switch_pb.d.ts +377 -0
- package/js/metalstack/admin/v2/switch_pb.js +79 -0
- package/js/metalstack/admin/v2/switch_pb.ts +435 -0
- package/js/metalstack/admin/v2/tenant_pb.d.ts +149 -0
- package/js/metalstack/admin/v2/tenant_pb.js +38 -0
- package/js/metalstack/admin/v2/tenant_pb.ts +182 -0
- package/js/metalstack/admin/v2/token_pb.d.ts +164 -0
- package/js/metalstack/admin/v2/token_pb.js +47 -0
- package/js/metalstack/admin/v2/token_pb.ts +199 -0
- package/js/metalstack/admin/v2/vpn_pb.ts +184 -0
- package/js/metalstack/api/v2/common_pb.d.ts +407 -0
- package/js/metalstack/api/v2/common_pb.js +311 -0
- package/js/metalstack/api/v2/common_pb.ts +488 -0
- package/js/metalstack/api/v2/filesystem_pb.d.ts +704 -0
- package/js/metalstack/api/v2/filesystem_pb.js +259 -0
- package/js/metalstack/api/v2/filesystem_pb.ts +819 -0
- package/js/metalstack/api/v2/health_pb.d.ts +220 -0
- package/js/metalstack/api/v2/health_pb.js +130 -0
- package/js/metalstack/api/v2/health_pb.ts +264 -0
- package/js/metalstack/api/v2/image_pb.d.ts +368 -0
- package/js/metalstack/api/v2/image_pb.js +129 -0
- package/js/metalstack/api/v2/image_pb.ts +436 -0
- package/js/metalstack/api/v2/ip_pb.d.ts +555 -0
- package/js/metalstack/api/v2/ip_pb.js +137 -0
- package/js/metalstack/api/v2/ip_pb.ts +650 -0
- package/js/metalstack/api/v2/machine_pb.d.ts +1831 -0
- package/js/metalstack/api/v2/machine_pb.js +459 -0
- package/js/metalstack/api/v2/machine_pb.ts +2155 -0
- package/js/metalstack/api/v2/method_pb.d.ts +122 -0
- package/js/metalstack/api/v2/method_pb.js +38 -0
- package/js/metalstack/api/v2/method_pb.ts +149 -0
- package/js/metalstack/api/v2/network_pb.d.ts +820 -0
- package/js/metalstack/api/v2/network_pb.js +244 -0
- package/js/metalstack/api/v2/network_pb.ts +954 -0
- package/js/metalstack/api/v2/partition_pb.d.ts +251 -0
- package/js/metalstack/api/v2/partition_pb.js +62 -0
- package/js/metalstack/api/v2/partition_pb.ts +300 -0
- package/js/metalstack/api/v2/predefined_rules_pb.d.ts +54 -0
- package/js/metalstack/api/v2/predefined_rules_pb.js +57 -0
- package/js/metalstack/api/v2/predefined_rules_pb.ts +79 -0
- package/js/metalstack/api/v2/project_pb.d.ts +862 -0
- package/js/metalstack/api/v2/project_pb.js +163 -0
- package/js/metalstack/api/v2/project_pb.ts +1001 -0
- package/js/metalstack/api/v2/size_pb.d.ts +261 -0
- package/js/metalstack/api/v2/size_pb.js +94 -0
- package/js/metalstack/api/v2/size_pb.ts +312 -0
- package/js/metalstack/api/v2/switch_pb.d.ts +508 -0
- package/js/metalstack/api/v2/switch_pb.js +207 -0
- package/js/metalstack/api/v2/switch_pb.ts +653 -0
- package/js/metalstack/api/v2/tenant_pb.d.ts +864 -0
- package/js/metalstack/api/v2/tenant_pb.js +163 -0
- package/js/metalstack/api/v2/tenant_pb.ts +1004 -0
- package/js/metalstack/api/v2/token_pb.d.ts +540 -0
- package/js/metalstack/api/v2/token_pb.js +118 -0
- package/js/metalstack/api/v2/token_pb.ts +621 -0
- package/js/metalstack/api/v2/user_pb.d.ts +108 -0
- package/js/metalstack/api/v2/user_pb.js +34 -0
- package/js/metalstack/api/v2/user_pb.ts +139 -0
- package/js/metalstack/api/v2/version_pb.d.ts +88 -0
- package/js/metalstack/api/v2/version_pb.js +30 -0
- package/js/metalstack/api/v2/version_pb.ts +112 -0
- package/js/metalstack/api/v2/vpn_pb.ts +72 -0
- package/js/metalstack/infra/v2/bmc_pb.d.ts +45 -0
- package/js/metalstack/infra/v2/bmc_pb.js +25 -0
- package/js/metalstack/infra/v2/bmc_pb.ts +104 -0
- package/js/metalstack/infra/v2/event_pb.d.ts +181 -0
- package/js/metalstack/infra/v2/event_pb.js +116 -0
- package/js/metalstack/infra/v2/event_pb.ts +218 -0
- package/js/metalstack/infra/v2/switch_pb.d.ts +223 -0
- package/js/metalstack/infra/v2/switch_pb.js +54 -0
- package/js/metalstack/infra/v2/switch_pb.ts +228 -0
- package/js/tsconfig.json +70 -0
- package/package.json +21 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Project } from "./project_pb";
|
|
3
|
+
import type { Tenant } from "./tenant_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file metalstack/api/v2/user.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_metalstack_api_v2_user: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* User is a end user of the platform
|
|
11
|
+
*
|
|
12
|
+
* @generated from message metalstack.api.v2.User
|
|
13
|
+
*/
|
|
14
|
+
export type User = Message<"metalstack.api.v2.User"> & {
|
|
15
|
+
/**
|
|
16
|
+
* Login the login at the provider
|
|
17
|
+
*
|
|
18
|
+
* @generated from field: string login = 1;
|
|
19
|
+
*/
|
|
20
|
+
login: string;
|
|
21
|
+
/**
|
|
22
|
+
* Name of the user
|
|
23
|
+
*
|
|
24
|
+
* @generated from field: string name = 2;
|
|
25
|
+
*/
|
|
26
|
+
name: string;
|
|
27
|
+
/**
|
|
28
|
+
* Email of the user
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: string email = 3;
|
|
31
|
+
*/
|
|
32
|
+
email: string;
|
|
33
|
+
/**
|
|
34
|
+
* AvatarUrl of the user
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: string avatar_url = 5;
|
|
37
|
+
*/
|
|
38
|
+
avatarUrl: string;
|
|
39
|
+
/**
|
|
40
|
+
* Tenants the user belongs to
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: repeated metalstack.api.v2.Tenant tenants = 8;
|
|
43
|
+
*/
|
|
44
|
+
tenants: Tenant[];
|
|
45
|
+
/**
|
|
46
|
+
* Projects the user belongs to
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: repeated metalstack.api.v2.Project projects = 9;
|
|
49
|
+
*/
|
|
50
|
+
projects: Project[];
|
|
51
|
+
/**
|
|
52
|
+
* DefaultTenant this user belongs to
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: metalstack.api.v2.Tenant default_tenant = 10;
|
|
55
|
+
*/
|
|
56
|
+
defaultTenant?: Tenant;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message metalstack.api.v2.User.
|
|
60
|
+
* Use `create(UserSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export declare const UserSchema: GenMessage<User>;
|
|
63
|
+
/**
|
|
64
|
+
* UserServiceGetRequest is the request to get the user
|
|
65
|
+
*
|
|
66
|
+
* @generated from message metalstack.api.v2.UserServiceGetRequest
|
|
67
|
+
*/
|
|
68
|
+
export type UserServiceGetRequest = Message<"metalstack.api.v2.UserServiceGetRequest"> & {};
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message metalstack.api.v2.UserServiceGetRequest.
|
|
71
|
+
* Use `create(UserServiceGetRequestSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export declare const UserServiceGetRequestSchema: GenMessage<UserServiceGetRequest>;
|
|
74
|
+
/**
|
|
75
|
+
* UserServiceGetResponse the response when userservice get request was called
|
|
76
|
+
*
|
|
77
|
+
* @generated from message metalstack.api.v2.UserServiceGetResponse
|
|
78
|
+
*/
|
|
79
|
+
export type UserServiceGetResponse = Message<"metalstack.api.v2.UserServiceGetResponse"> & {
|
|
80
|
+
/**
|
|
81
|
+
* User is the user
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: metalstack.api.v2.User user = 1;
|
|
84
|
+
*/
|
|
85
|
+
user?: User;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Describes the message metalstack.api.v2.UserServiceGetResponse.
|
|
89
|
+
* Use `create(UserServiceGetResponseSchema)` to create a new message.
|
|
90
|
+
*/
|
|
91
|
+
export declare const UserServiceGetResponseSchema: GenMessage<UserServiceGetResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* UserService exposes rpc calls for users
|
|
94
|
+
*
|
|
95
|
+
* @generated from service metalstack.api.v2.UserService
|
|
96
|
+
*/
|
|
97
|
+
export declare const UserService: GenService<{
|
|
98
|
+
/**
|
|
99
|
+
* Get a User
|
|
100
|
+
*
|
|
101
|
+
* @generated from rpc metalstack.api.v2.UserService.Get
|
|
102
|
+
*/
|
|
103
|
+
get: {
|
|
104
|
+
methodKind: "unary";
|
|
105
|
+
input: typeof UserServiceGetRequestSchema;
|
|
106
|
+
output: typeof UserServiceGetResponseSchema;
|
|
107
|
+
};
|
|
108
|
+
}>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/user.proto (package metalstack.api.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
6
|
+
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
7
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
8
|
+
import { file_metalstack_api_v2_project } from "./project_pb";
|
|
9
|
+
import { file_metalstack_api_v2_tenant } from "./tenant_pb";
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file metalstack/api/v2/user.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_metalstack_api_v2_user = /*@__PURE__*/ fileDesc("ChxtZXRhbHN0YWNrL2FwaS92Mi91c2VyLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiLgAQoEVXNlchINCgVsb2dpbhgBIAEoCRIZCgRuYW1lGAIgASgJQgu6SAhyBsCzrrECARINCgVlbWFpbBgDIAEoCRISCgphdmF0YXJfdXJsGAUgASgJEioKB3RlbmFudHMYCCADKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnQSLAoIcHJvamVjdHMYCSADKAsyGi5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0EjEKDmRlZmF1bHRfdGVuYW50GAogASgLMhkubWV0YWxzdGFjay5hcGkudjIuVGVuYW50IhcKFVVzZXJTZXJ2aWNlR2V0UmVxdWVzdCI/ChZVc2VyU2VydmljZUdldFJlc3BvbnNlEiUKBHVzZXIYASABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5Vc2VyMnMKC1VzZXJTZXJ2aWNlEmQKA0dldBIoLm1ldGFsc3RhY2suYXBpLnYyLlVzZXJTZXJ2aWNlR2V0UmVxdWVzdBopLm1ldGFsc3RhY2suYXBpLnYyLlVzZXJTZXJ2aWNlR2V0UmVzcG9uc2UiCNjzGAPg8xgBQr8BChVjb20ubWV0YWxzdGFjay5hcGkudjJCCVVzZXJQcm90b1ABWjVnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FwaS92MjthcGl2MqICA01BWKoCEU1ldGFsc3RhY2suQXBpLlYyygIRTWV0YWxzdGFja1xBcGlcVjLiAh1NZXRhbHN0YWNrXEFwaVxWMlxHUEJNZXRhZGF0YeoCE01ldGFsc3RhY2s6OkFwaTo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_project, file_metalstack_api_v2_tenant]);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message metalstack.api.v2.User.
|
|
16
|
+
* Use `create(UserSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const UserSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_user, 0);
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message metalstack.api.v2.UserServiceGetRequest.
|
|
21
|
+
* Use `create(UserServiceGetRequestSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const UserServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_user, 1);
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message metalstack.api.v2.UserServiceGetResponse.
|
|
26
|
+
* Use `create(UserServiceGetResponseSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export const UserServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_user, 2);
|
|
29
|
+
/**
|
|
30
|
+
* UserService exposes rpc calls for users
|
|
31
|
+
*
|
|
32
|
+
* @generated from service metalstack.api.v2.UserService
|
|
33
|
+
*/
|
|
34
|
+
export const UserService = /*@__PURE__*/ serviceDesc(file_metalstack_api_v2_user, 0);
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/user.proto (package metalstack.api.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
+
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
9
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
10
|
+
import type { Project } from "./project_pb";
|
|
11
|
+
import { file_metalstack_api_v2_project } from "./project_pb";
|
|
12
|
+
import type { Tenant } from "./tenant_pb";
|
|
13
|
+
import { file_metalstack_api_v2_tenant } from "./tenant_pb";
|
|
14
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the file metalstack/api/v2/user.proto.
|
|
18
|
+
*/
|
|
19
|
+
export const file_metalstack_api_v2_user: GenFile = /*@__PURE__*/
|
|
20
|
+
fileDesc("ChxtZXRhbHN0YWNrL2FwaS92Mi91c2VyLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiLgAQoEVXNlchINCgVsb2dpbhgBIAEoCRIZCgRuYW1lGAIgASgJQgu6SAhyBsCzrrECARINCgVlbWFpbBgDIAEoCRISCgphdmF0YXJfdXJsGAUgASgJEioKB3RlbmFudHMYCCADKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnQSLAoIcHJvamVjdHMYCSADKAsyGi5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0EjEKDmRlZmF1bHRfdGVuYW50GAogASgLMhkubWV0YWxzdGFjay5hcGkudjIuVGVuYW50IhcKFVVzZXJTZXJ2aWNlR2V0UmVxdWVzdCI/ChZVc2VyU2VydmljZUdldFJlc3BvbnNlEiUKBHVzZXIYASABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5Vc2VyMnMKC1VzZXJTZXJ2aWNlEmQKA0dldBIoLm1ldGFsc3RhY2suYXBpLnYyLlVzZXJTZXJ2aWNlR2V0UmVxdWVzdBopLm1ldGFsc3RhY2suYXBpLnYyLlVzZXJTZXJ2aWNlR2V0UmVzcG9uc2UiCNjzGAPg8xgBQr8BChVjb20ubWV0YWxzdGFjay5hcGkudjJCCVVzZXJQcm90b1ABWjVnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FwaS92MjthcGl2MqICA01BWKoCEU1ldGFsc3RhY2suQXBpLlYyygIRTWV0YWxzdGFja1xBcGlcVjLiAh1NZXRhbHN0YWNrXEFwaVxWMlxHUEJNZXRhZGF0YeoCE01ldGFsc3RhY2s6OkFwaTo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_project, file_metalstack_api_v2_tenant]);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* User is a end user of the platform
|
|
24
|
+
*
|
|
25
|
+
* @generated from message metalstack.api.v2.User
|
|
26
|
+
*/
|
|
27
|
+
export type User = Message<"metalstack.api.v2.User"> & {
|
|
28
|
+
/**
|
|
29
|
+
* Login the login at the provider
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: string login = 1;
|
|
32
|
+
*/
|
|
33
|
+
login: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Name of the user
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: string name = 2;
|
|
39
|
+
*/
|
|
40
|
+
name: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Email of the user
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: string email = 3;
|
|
46
|
+
*/
|
|
47
|
+
email: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* AvatarUrl of the user
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string avatar_url = 5;
|
|
53
|
+
*/
|
|
54
|
+
avatarUrl: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Tenants the user belongs to
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: repeated metalstack.api.v2.Tenant tenants = 8;
|
|
60
|
+
*/
|
|
61
|
+
tenants: Tenant[];
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Projects the user belongs to
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: repeated metalstack.api.v2.Project projects = 9;
|
|
67
|
+
*/
|
|
68
|
+
projects: Project[];
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* DefaultTenant this user belongs to
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: metalstack.api.v2.Tenant default_tenant = 10;
|
|
74
|
+
*/
|
|
75
|
+
defaultTenant?: Tenant;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message metalstack.api.v2.User.
|
|
80
|
+
* Use `create(UserSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
export const UserSchema: GenMessage<User> = /*@__PURE__*/
|
|
83
|
+
messageDesc(file_metalstack_api_v2_user, 0);
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* UserServiceGetRequest is the request to get the user
|
|
87
|
+
*
|
|
88
|
+
* @generated from message metalstack.api.v2.UserServiceGetRequest
|
|
89
|
+
*/
|
|
90
|
+
export type UserServiceGetRequest = Message<"metalstack.api.v2.UserServiceGetRequest"> & {
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Describes the message metalstack.api.v2.UserServiceGetRequest.
|
|
95
|
+
* Use `create(UserServiceGetRequestSchema)` to create a new message.
|
|
96
|
+
*/
|
|
97
|
+
export const UserServiceGetRequestSchema: GenMessage<UserServiceGetRequest> = /*@__PURE__*/
|
|
98
|
+
messageDesc(file_metalstack_api_v2_user, 1);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* UserServiceGetResponse the response when userservice get request was called
|
|
102
|
+
*
|
|
103
|
+
* @generated from message metalstack.api.v2.UserServiceGetResponse
|
|
104
|
+
*/
|
|
105
|
+
export type UserServiceGetResponse = Message<"metalstack.api.v2.UserServiceGetResponse"> & {
|
|
106
|
+
/**
|
|
107
|
+
* User is the user
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: metalstack.api.v2.User user = 1;
|
|
110
|
+
*/
|
|
111
|
+
user?: User;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Describes the message metalstack.api.v2.UserServiceGetResponse.
|
|
116
|
+
* Use `create(UserServiceGetResponseSchema)` to create a new message.
|
|
117
|
+
*/
|
|
118
|
+
export const UserServiceGetResponseSchema: GenMessage<UserServiceGetResponse> = /*@__PURE__*/
|
|
119
|
+
messageDesc(file_metalstack_api_v2_user, 2);
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* UserService exposes rpc calls for users
|
|
123
|
+
*
|
|
124
|
+
* @generated from service metalstack.api.v2.UserService
|
|
125
|
+
*/
|
|
126
|
+
export const UserService: GenService<{
|
|
127
|
+
/**
|
|
128
|
+
* Get a User
|
|
129
|
+
*
|
|
130
|
+
* @generated from rpc metalstack.api.v2.UserService.Get
|
|
131
|
+
*/
|
|
132
|
+
get: {
|
|
133
|
+
methodKind: "unary";
|
|
134
|
+
input: typeof UserServiceGetRequestSchema;
|
|
135
|
+
output: typeof UserServiceGetResponseSchema;
|
|
136
|
+
},
|
|
137
|
+
}> = /*@__PURE__*/
|
|
138
|
+
serviceDesc(file_metalstack_api_v2_user, 0);
|
|
139
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file metalstack/api/v2/version.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_metalstack_api_v2_version: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* Version of the application
|
|
9
|
+
*
|
|
10
|
+
* @generated from message metalstack.api.v2.Version
|
|
11
|
+
*/
|
|
12
|
+
export type Version = Message<"metalstack.api.v2.Version"> & {
|
|
13
|
+
/**
|
|
14
|
+
* Version of the application
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string version = 1;
|
|
17
|
+
*/
|
|
18
|
+
version: string;
|
|
19
|
+
/**
|
|
20
|
+
* Revision of the application
|
|
21
|
+
*
|
|
22
|
+
* @generated from field: string revision = 2;
|
|
23
|
+
*/
|
|
24
|
+
revision: string;
|
|
25
|
+
/**
|
|
26
|
+
* GitSHA1 of the application
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: string git_sha1 = 3;
|
|
29
|
+
*/
|
|
30
|
+
gitSha1: string;
|
|
31
|
+
/**
|
|
32
|
+
* BuildDate of the application
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: string build_date = 4;
|
|
35
|
+
*/
|
|
36
|
+
buildDate: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message metalstack.api.v2.Version.
|
|
40
|
+
* Use `create(VersionSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export declare const VersionSchema: GenMessage<Version>;
|
|
43
|
+
/**
|
|
44
|
+
* VersionServiceGetRequest is the request payload to get the version
|
|
45
|
+
*
|
|
46
|
+
* @generated from message metalstack.api.v2.VersionServiceGetRequest
|
|
47
|
+
*/
|
|
48
|
+
export type VersionServiceGetRequest = Message<"metalstack.api.v2.VersionServiceGetRequest"> & {};
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message metalstack.api.v2.VersionServiceGetRequest.
|
|
51
|
+
* Use `create(VersionServiceGetRequestSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export declare const VersionServiceGetRequestSchema: GenMessage<VersionServiceGetRequest>;
|
|
54
|
+
/**
|
|
55
|
+
* VersionServiceGetResponse is the response payload with the version
|
|
56
|
+
*
|
|
57
|
+
* @generated from message metalstack.api.v2.VersionServiceGetResponse
|
|
58
|
+
*/
|
|
59
|
+
export type VersionServiceGetResponse = Message<"metalstack.api.v2.VersionServiceGetResponse"> & {
|
|
60
|
+
/**
|
|
61
|
+
* Version of the application
|
|
62
|
+
*
|
|
63
|
+
* @generated from field: metalstack.api.v2.Version version = 1;
|
|
64
|
+
*/
|
|
65
|
+
version?: Version;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Describes the message metalstack.api.v2.VersionServiceGetResponse.
|
|
69
|
+
* Use `create(VersionServiceGetResponseSchema)` to create a new message.
|
|
70
|
+
*/
|
|
71
|
+
export declare const VersionServiceGetResponseSchema: GenMessage<VersionServiceGetResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* VersionService serves version related functions
|
|
74
|
+
*
|
|
75
|
+
* @generated from service metalstack.api.v2.VersionService
|
|
76
|
+
*/
|
|
77
|
+
export declare const VersionService: GenService<{
|
|
78
|
+
/**
|
|
79
|
+
* Get the version
|
|
80
|
+
*
|
|
81
|
+
* @generated from rpc metalstack.api.v2.VersionService.Get
|
|
82
|
+
*/
|
|
83
|
+
get: {
|
|
84
|
+
methodKind: "unary";
|
|
85
|
+
input: typeof VersionServiceGetRequestSchema;
|
|
86
|
+
output: typeof VersionServiceGetResponseSchema;
|
|
87
|
+
};
|
|
88
|
+
}>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/version.proto (package metalstack.api.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file metalstack/api/v2/version.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_metalstack_api_v2_version = /*@__PURE__*/ fileDesc("Ch9tZXRhbHN0YWNrL2FwaS92Mi92ZXJzaW9uLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiJSCgdWZXJzaW9uEg8KB3ZlcnNpb24YASABKAkSEAoIcmV2aXNpb24YAiABKAkSEAoIZ2l0X3NoYTEYAyABKAkSEgoKYnVpbGRfZGF0ZRgEIAEoCSIaChhWZXJzaW9uU2VydmljZUdldFJlcXVlc3QiSAoZVmVyc2lvblNlcnZpY2VHZXRSZXNwb25zZRIrCgd2ZXJzaW9uGAEgASgLMhoubWV0YWxzdGFjay5hcGkudjIuVmVyc2lvbjJ8Cg5WZXJzaW9uU2VydmljZRJqCgNHZXQSKy5tZXRhbHN0YWNrLmFwaS52Mi5WZXJzaW9uU2VydmljZUdldFJlcXVlc3QaLC5tZXRhbHN0YWNrLmFwaS52Mi5WZXJzaW9uU2VydmljZUdldFJlc3BvbnNlIgjY8xgB4PMYAkLCAQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQgxWZXJzaW9uUHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_metalstack_api_v2_common]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message metalstack.api.v2.Version.
|
|
12
|
+
* Use `create(VersionSchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const VersionSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_version, 0);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message metalstack.api.v2.VersionServiceGetRequest.
|
|
17
|
+
* Use `create(VersionServiceGetRequestSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const VersionServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_version, 1);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message metalstack.api.v2.VersionServiceGetResponse.
|
|
22
|
+
* Use `create(VersionServiceGetResponseSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const VersionServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_version, 2);
|
|
25
|
+
/**
|
|
26
|
+
* VersionService serves version related functions
|
|
27
|
+
*
|
|
28
|
+
* @generated from service metalstack.api.v2.VersionService
|
|
29
|
+
*/
|
|
30
|
+
export const VersionService = /*@__PURE__*/ serviceDesc(file_metalstack_api_v2_version, 0);
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/version.proto (package metalstack.api.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
8
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file metalstack/api/v2/version.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_metalstack_api_v2_version: GenFile = /*@__PURE__*/
|
|
14
|
+
fileDesc("Ch9tZXRhbHN0YWNrL2FwaS92Mi92ZXJzaW9uLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiJSCgdWZXJzaW9uEg8KB3ZlcnNpb24YASABKAkSEAoIcmV2aXNpb24YAiABKAkSEAoIZ2l0X3NoYTEYAyABKAkSEgoKYnVpbGRfZGF0ZRgEIAEoCSIaChhWZXJzaW9uU2VydmljZUdldFJlcXVlc3QiSAoZVmVyc2lvblNlcnZpY2VHZXRSZXNwb25zZRIrCgd2ZXJzaW9uGAEgASgLMhoubWV0YWxzdGFjay5hcGkudjIuVmVyc2lvbjJ8Cg5WZXJzaW9uU2VydmljZRJqCgNHZXQSKy5tZXRhbHN0YWNrLmFwaS52Mi5WZXJzaW9uU2VydmljZUdldFJlcXVlc3QaLC5tZXRhbHN0YWNrLmFwaS52Mi5WZXJzaW9uU2VydmljZUdldFJlc3BvbnNlIgjY8xgB4PMYAkLCAQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQgxWZXJzaW9uUHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_metalstack_api_v2_common]);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Version of the application
|
|
18
|
+
*
|
|
19
|
+
* @generated from message metalstack.api.v2.Version
|
|
20
|
+
*/
|
|
21
|
+
export type Version = Message<"metalstack.api.v2.Version"> & {
|
|
22
|
+
/**
|
|
23
|
+
* Version of the application
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: string version = 1;
|
|
26
|
+
*/
|
|
27
|
+
version: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Revision of the application
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: string revision = 2;
|
|
33
|
+
*/
|
|
34
|
+
revision: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* GitSHA1 of the application
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: string git_sha1 = 3;
|
|
40
|
+
*/
|
|
41
|
+
gitSha1: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* BuildDate of the application
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: string build_date = 4;
|
|
47
|
+
*/
|
|
48
|
+
buildDate: string;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message metalstack.api.v2.Version.
|
|
53
|
+
* Use `create(VersionSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const VersionSchema: GenMessage<Version> = /*@__PURE__*/
|
|
56
|
+
messageDesc(file_metalstack_api_v2_version, 0);
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* VersionServiceGetRequest is the request payload to get the version
|
|
60
|
+
*
|
|
61
|
+
* @generated from message metalstack.api.v2.VersionServiceGetRequest
|
|
62
|
+
*/
|
|
63
|
+
export type VersionServiceGetRequest = Message<"metalstack.api.v2.VersionServiceGetRequest"> & {
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message metalstack.api.v2.VersionServiceGetRequest.
|
|
68
|
+
* Use `create(VersionServiceGetRequestSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export const VersionServiceGetRequestSchema: GenMessage<VersionServiceGetRequest> = /*@__PURE__*/
|
|
71
|
+
messageDesc(file_metalstack_api_v2_version, 1);
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* VersionServiceGetResponse is the response payload with the version
|
|
75
|
+
*
|
|
76
|
+
* @generated from message metalstack.api.v2.VersionServiceGetResponse
|
|
77
|
+
*/
|
|
78
|
+
export type VersionServiceGetResponse = Message<"metalstack.api.v2.VersionServiceGetResponse"> & {
|
|
79
|
+
/**
|
|
80
|
+
* Version of the application
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: metalstack.api.v2.Version version = 1;
|
|
83
|
+
*/
|
|
84
|
+
version?: Version;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Describes the message metalstack.api.v2.VersionServiceGetResponse.
|
|
89
|
+
* Use `create(VersionServiceGetResponseSchema)` to create a new message.
|
|
90
|
+
*/
|
|
91
|
+
export const VersionServiceGetResponseSchema: GenMessage<VersionServiceGetResponse> = /*@__PURE__*/
|
|
92
|
+
messageDesc(file_metalstack_api_v2_version, 2);
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* VersionService serves version related functions
|
|
96
|
+
*
|
|
97
|
+
* @generated from service metalstack.api.v2.VersionService
|
|
98
|
+
*/
|
|
99
|
+
export const VersionService: GenService<{
|
|
100
|
+
/**
|
|
101
|
+
* Get the version
|
|
102
|
+
*
|
|
103
|
+
* @generated from rpc metalstack.api.v2.VersionService.Get
|
|
104
|
+
*/
|
|
105
|
+
get: {
|
|
106
|
+
methodKind: "unary";
|
|
107
|
+
input: typeof VersionServiceGetRequestSchema;
|
|
108
|
+
output: typeof VersionServiceGetResponseSchema;
|
|
109
|
+
},
|
|
110
|
+
}> = /*@__PURE__*/
|
|
111
|
+
serviceDesc(file_metalstack_api_v2_version, 0);
|
|
112
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/vpn.proto (package metalstack.api.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file metalstack/api/v2/vpn.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_metalstack_api_v2_vpn: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("ChttZXRhbHN0YWNrL2FwaS92Mi92cG4ucHJvdG8SEW1ldGFsc3RhY2suYXBpLnYyIokBCgdWUE5Ob2RlEgoKAmlkGAEgASgEEgwKBG5hbWUYAiABKAkSDwoHcHJvamVjdBgDIAEoCRIUCgxpcF9hZGRyZXNzZXMYBCADKAkSLQoJbGFzdF9zZWVuGAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIOCgZvbmxpbmUYBiABKAhCvgEKFWNvbS5tZXRhbHN0YWNrLmFwaS52MkIIVnBuUHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_google_protobuf_timestamp]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* VPNNode is a machine connected to the vpn
|
|
19
|
+
*
|
|
20
|
+
* @generated from message metalstack.api.v2.VPNNode
|
|
21
|
+
*/
|
|
22
|
+
export type VPNNode = Message<"metalstack.api.v2.VPNNode"> & {
|
|
23
|
+
/**
|
|
24
|
+
* Id of this node
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: uint64 id = 1;
|
|
27
|
+
*/
|
|
28
|
+
id: bigint;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Name of this node
|
|
32
|
+
*
|
|
33
|
+
* @generated from field: string name = 2;
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Project of this node, maps to a project
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: string project = 3;
|
|
41
|
+
*/
|
|
42
|
+
project: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* IPAddresses of this node in the vpn
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: repeated string ip_addresses = 4;
|
|
48
|
+
*/
|
|
49
|
+
ipAddresses: string[];
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* LastSeen timestamp when this node reached out the the control plane
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: google.protobuf.Timestamp last_seen = 5;
|
|
55
|
+
*/
|
|
56
|
+
lastSeen?: Timestamp;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Online indicates if this node is online
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: bool online = 6;
|
|
62
|
+
*/
|
|
63
|
+
online: boolean;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message metalstack.api.v2.VPNNode.
|
|
68
|
+
* Use `create(VPNNodeSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export const VPNNodeSchema: GenMessage<VPNNode> = /*@__PURE__*/
|
|
71
|
+
messageDesc(file_metalstack_api_v2_vpn, 0);
|
|
72
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file metalstack/infra/v2/bmc.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_metalstack_infra_v2_bmc: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* UpdateBMCInfoRequest
|
|
9
|
+
*
|
|
10
|
+
* @generated from message metalstack.infra.v2.UpdateBMCInfoRequest
|
|
11
|
+
*/
|
|
12
|
+
export type UpdateBMCInfoRequest = Message<"metalstack.infra.v2.UpdateBMCInfoRequest"> & {};
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message metalstack.infra.v2.UpdateBMCInfoRequest.
|
|
15
|
+
* Use `create(UpdateBMCInfoRequestSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export declare const UpdateBMCInfoRequestSchema: GenMessage<UpdateBMCInfoRequest>;
|
|
18
|
+
/**
|
|
19
|
+
* UpdateBMCInfoResponse
|
|
20
|
+
*
|
|
21
|
+
* @generated from message metalstack.infra.v2.UpdateBMCInfoResponse
|
|
22
|
+
*/
|
|
23
|
+
export type UpdateBMCInfoResponse = Message<"metalstack.infra.v2.UpdateBMCInfoResponse"> & {};
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message metalstack.infra.v2.UpdateBMCInfoResponse.
|
|
26
|
+
* Use `create(UpdateBMCInfoResponseSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export declare const UpdateBMCInfoResponseSchema: GenMessage<UpdateBMCInfoResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* BMCService serves bmc related functions
|
|
31
|
+
*
|
|
32
|
+
* @generated from service metalstack.infra.v2.BMCService
|
|
33
|
+
*/
|
|
34
|
+
export declare const BMCService: GenService<{
|
|
35
|
+
/**
|
|
36
|
+
* UpdateBMCInfo
|
|
37
|
+
*
|
|
38
|
+
* @generated from rpc metalstack.infra.v2.BMCService.UpdateBMCInfo
|
|
39
|
+
*/
|
|
40
|
+
updateBMCInfo: {
|
|
41
|
+
methodKind: "unary";
|
|
42
|
+
input: typeof UpdateBMCInfoRequestSchema;
|
|
43
|
+
output: typeof UpdateBMCInfoResponseSchema;
|
|
44
|
+
};
|
|
45
|
+
}>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/infra/v2/bmc.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file metalstack/infra/v2/bmc.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_metalstack_infra_v2_bmc = /*@__PURE__*/ fileDesc("Ch1tZXRhbHN0YWNrL2luZnJhL3YyL2JtYy5wcm90bxITbWV0YWxzdGFjay5pbmZyYS52MiIWChRVcGRhdGVCTUNJbmZvUmVxdWVzdCIXChVVcGRhdGVCTUNJbmZvUmVzcG9uc2UyfwoKQk1DU2VydmljZRJxCg1VcGRhdGVCTUNJbmZvEikubWV0YWxzdGFjay5pbmZyYS52Mi5VcGRhdGVCTUNJbmZvUmVxdWVzdBoqLm1ldGFsc3RhY2suaW5mcmEudjIuVXBkYXRlQk1DSW5mb1Jlc3BvbnNlIgng8xgC6vMYAQFCzAEKF2NvbS5tZXRhbHN0YWNrLmluZnJhLnYyQghCbWNQcm90b1ABWjlnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2luZnJhL3YyO2luZnJhdjKiAgNNSViqAhNNZXRhbHN0YWNrLkluZnJhLlYyygITTWV0YWxzdGFja1xJbmZyYVxWMuICH01ldGFsc3RhY2tcSW5mcmFcVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpJbmZyYTo6VjJiBnByb3RvMw", [file_metalstack_api_v2_common]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message metalstack.infra.v2.UpdateBMCInfoRequest.
|
|
12
|
+
* Use `create(UpdateBMCInfoRequestSchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const UpdateBMCInfoRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_bmc, 0);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message metalstack.infra.v2.UpdateBMCInfoResponse.
|
|
17
|
+
* Use `create(UpdateBMCInfoResponseSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const UpdateBMCInfoResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_bmc, 1);
|
|
20
|
+
/**
|
|
21
|
+
* BMCService serves bmc related functions
|
|
22
|
+
*
|
|
23
|
+
* @generated from service metalstack.infra.v2.BMCService
|
|
24
|
+
*/
|
|
25
|
+
export const BMCService = /*@__PURE__*/ serviceDesc(file_metalstack_infra_v2_bmc, 0);
|