@metal-stack/api 0.0.48 → 0.0.50
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/metalstack/admin/v2/component_pb.d.ts +152 -0
- package/js/metalstack/admin/v2/component_pb.js +47 -0
- package/js/metalstack/admin/v2/component_pb.ts +183 -0
- package/js/metalstack/admin/v2/partition_pb.js +1 -1
- package/js/metalstack/admin/v2/partition_pb.ts +1 -1
- package/js/metalstack/admin/v2/tenant_pb.d.ts +7 -7
- package/js/metalstack/admin/v2/tenant_pb.js +1 -1
- package/js/metalstack/admin/v2/tenant_pb.ts +9 -9
- package/js/metalstack/api/v2/component_pb.d.ts +154 -0
- package/js/metalstack/api/v2/component_pb.js +78 -0
- package/js/metalstack/api/v2/component_pb.ts +192 -0
- package/js/metalstack/api/v2/version_pb.js +3 -1
- package/js/metalstack/api/v2/version_pb.ts +3 -1
- package/js/metalstack/infra/v2/component_pb.d.ts +82 -0
- package/js/metalstack/infra/v2/component_pb.js +30 -0
- package/js/metalstack/infra/v2/component_pb.ts +109 -0
- package/package.json +1 -1
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Component, ComponentQuery } from "../../api/v2/component_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file metalstack/admin/v2/component.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_metalstack_admin_v2_component: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* ComponentServiceListRequest
|
|
10
|
+
*
|
|
11
|
+
* @generated from message metalstack.admin.v2.ComponentServiceListRequest
|
|
12
|
+
*/
|
|
13
|
+
export type ComponentServiceListRequest = Message<"metalstack.admin.v2.ComponentServiceListRequest"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Query components.
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: metalstack.api.v2.ComponentQuery query = 1;
|
|
18
|
+
*/
|
|
19
|
+
query?: ComponentQuery;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message metalstack.admin.v2.ComponentServiceListRequest.
|
|
23
|
+
* Use `create(ComponentServiceListRequestSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const ComponentServiceListRequestSchema: GenMessage<ComponentServiceListRequest>;
|
|
26
|
+
/**
|
|
27
|
+
* ComponentServiceListResponse
|
|
28
|
+
*
|
|
29
|
+
* @generated from message metalstack.admin.v2.ComponentServiceListResponse
|
|
30
|
+
*/
|
|
31
|
+
export type ComponentServiceListResponse = Message<"metalstack.admin.v2.ComponentServiceListResponse"> & {
|
|
32
|
+
/**
|
|
33
|
+
* Components
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: repeated metalstack.api.v2.Component components = 1;
|
|
36
|
+
*/
|
|
37
|
+
components: Component[];
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message metalstack.admin.v2.ComponentServiceListResponse.
|
|
41
|
+
* Use `create(ComponentServiceListResponseSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export declare const ComponentServiceListResponseSchema: GenMessage<ComponentServiceListResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* ComponentServiceGetRequest
|
|
46
|
+
*
|
|
47
|
+
* @generated from message metalstack.admin.v2.ComponentServiceGetRequest
|
|
48
|
+
*/
|
|
49
|
+
export type ComponentServiceGetRequest = Message<"metalstack.admin.v2.ComponentServiceGetRequest"> & {
|
|
50
|
+
/**
|
|
51
|
+
* UUID identifies the component to get
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string uuid = 1;
|
|
54
|
+
*/
|
|
55
|
+
uuid: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message metalstack.admin.v2.ComponentServiceGetRequest.
|
|
59
|
+
* Use `create(ComponentServiceGetRequestSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export declare const ComponentServiceGetRequestSchema: GenMessage<ComponentServiceGetRequest>;
|
|
62
|
+
/**
|
|
63
|
+
* ComponentServiceGetResponse
|
|
64
|
+
*
|
|
65
|
+
* @generated from message metalstack.admin.v2.ComponentServiceGetResponse
|
|
66
|
+
*/
|
|
67
|
+
export type ComponentServiceGetResponse = Message<"metalstack.admin.v2.ComponentServiceGetResponse"> & {
|
|
68
|
+
/**
|
|
69
|
+
* Component
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: metalstack.api.v2.Component component = 1;
|
|
72
|
+
*/
|
|
73
|
+
component?: Component;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message metalstack.admin.v2.ComponentServiceGetResponse.
|
|
77
|
+
* Use `create(ComponentServiceGetResponseSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export declare const ComponentServiceGetResponseSchema: GenMessage<ComponentServiceGetResponse>;
|
|
80
|
+
/**
|
|
81
|
+
* ComponentServiceGetRequest
|
|
82
|
+
*
|
|
83
|
+
* @generated from message metalstack.admin.v2.ComponentServiceDeleteRequest
|
|
84
|
+
*/
|
|
85
|
+
export type ComponentServiceDeleteRequest = Message<"metalstack.admin.v2.ComponentServiceDeleteRequest"> & {
|
|
86
|
+
/**
|
|
87
|
+
* UUID identifies the component to delete
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: string uuid = 1;
|
|
90
|
+
*/
|
|
91
|
+
uuid: string;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Describes the message metalstack.admin.v2.ComponentServiceDeleteRequest.
|
|
95
|
+
* Use `create(ComponentServiceDeleteRequestSchema)` to create a new message.
|
|
96
|
+
*/
|
|
97
|
+
export declare const ComponentServiceDeleteRequestSchema: GenMessage<ComponentServiceDeleteRequest>;
|
|
98
|
+
/**
|
|
99
|
+
* ComponentServiceGetResponse
|
|
100
|
+
*
|
|
101
|
+
* @generated from message metalstack.admin.v2.ComponentServiceDeleteResponse
|
|
102
|
+
*/
|
|
103
|
+
export type ComponentServiceDeleteResponse = Message<"metalstack.admin.v2.ComponentServiceDeleteResponse"> & {
|
|
104
|
+
/**
|
|
105
|
+
* Component
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: metalstack.api.v2.Component component = 1;
|
|
108
|
+
*/
|
|
109
|
+
component?: Component;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Describes the message metalstack.admin.v2.ComponentServiceDeleteResponse.
|
|
113
|
+
* Use `create(ComponentServiceDeleteResponseSchema)` to create a new message.
|
|
114
|
+
*/
|
|
115
|
+
export declare const ComponentServiceDeleteResponseSchema: GenMessage<ComponentServiceDeleteResponse>;
|
|
116
|
+
/**
|
|
117
|
+
* ComponentService serves microservice related functions
|
|
118
|
+
*
|
|
119
|
+
* @generated from service metalstack.admin.v2.ComponentService
|
|
120
|
+
*/
|
|
121
|
+
export declare const ComponentService: GenService<{
|
|
122
|
+
/**
|
|
123
|
+
* Get a single component
|
|
124
|
+
*
|
|
125
|
+
* @generated from rpc metalstack.admin.v2.ComponentService.Get
|
|
126
|
+
*/
|
|
127
|
+
get: {
|
|
128
|
+
methodKind: "unary";
|
|
129
|
+
input: typeof ComponentServiceGetRequestSchema;
|
|
130
|
+
output: typeof ComponentServiceGetResponseSchema;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Delete a component
|
|
134
|
+
*
|
|
135
|
+
* @generated from rpc metalstack.admin.v2.ComponentService.Delete
|
|
136
|
+
*/
|
|
137
|
+
delete: {
|
|
138
|
+
methodKind: "unary";
|
|
139
|
+
input: typeof ComponentServiceDeleteRequestSchema;
|
|
140
|
+
output: typeof ComponentServiceDeleteResponseSchema;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* List all components with their status
|
|
144
|
+
*
|
|
145
|
+
* @generated from rpc metalstack.admin.v2.ComponentService.List
|
|
146
|
+
*/
|
|
147
|
+
list: {
|
|
148
|
+
methodKind: "unary";
|
|
149
|
+
input: typeof ComponentServiceListRequestSchema;
|
|
150
|
+
output: typeof ComponentServiceListResponseSchema;
|
|
151
|
+
};
|
|
152
|
+
}>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/admin/v2/component.proto (package metalstack.admin.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 "../../api/v2/common_pb";
|
|
7
|
+
import { file_metalstack_api_v2_component } from "../../api/v2/component_pb";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file metalstack/admin/v2/component.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_metalstack_admin_v2_component = /*@__PURE__*/ fileDesc("CiNtZXRhbHN0YWNrL2FkbWluL3YyL2NvbXBvbmVudC5wcm90bxITbWV0YWxzdGFjay5hZG1pbi52MiJPChtDb21wb25lbnRTZXJ2aWNlTGlzdFJlcXVlc3QSMAoFcXVlcnkYASABKAsyIS5tZXRhbHN0YWNrLmFwaS52Mi5Db21wb25lbnRRdWVyeSJQChxDb21wb25lbnRTZXJ2aWNlTGlzdFJlc3BvbnNlEjAKCmNvbXBvbmVudHMYASADKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5Db21wb25lbnQiNAoaQ29tcG9uZW50U2VydmljZUdldFJlcXVlc3QSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQEiTgobQ29tcG9uZW50U2VydmljZUdldFJlc3BvbnNlEi8KCWNvbXBvbmVudBgBIAEoCzIcLm1ldGFsc3RhY2suYXBpLnYyLkNvbXBvbmVudCI3Ch1Db21wb25lbnRTZXJ2aWNlRGVsZXRlUmVxdWVzdBIWCgR1dWlkGAEgASgJQgi6SAVyA7ABASJRCh5Db21wb25lbnRTZXJ2aWNlRGVsZXRlUmVzcG9uc2USLwoJY29tcG9uZW50GAEgASgLMhwubWV0YWxzdGFjay5hcGkudjIuQ29tcG9uZW50Mv8CChBDb21wb25lbnRTZXJ2aWNlEnQKA0dldBIvLm1ldGFsc3RhY2suYWRtaW4udjIuQ29tcG9uZW50U2VydmljZUdldFJlcXVlc3QaMC5tZXRhbHN0YWNrLmFkbWluLnYyLkNvbXBvbmVudFNlcnZpY2VHZXRSZXNwb25zZSIK0vMYAgEC4PMYAhJ8CgZEZWxldGUSMi5tZXRhbHN0YWNrLmFkbWluLnYyLkNvbXBvbmVudFNlcnZpY2VEZWxldGVSZXF1ZXN0GjMubWV0YWxzdGFjay5hZG1pbi52Mi5Db21wb25lbnRTZXJ2aWNlRGVsZXRlUmVzcG9uc2UiCdLzGAEB4PMYARJ3CgRMaXN0EjAubWV0YWxzdGFjay5hZG1pbi52Mi5Db21wb25lbnRTZXJ2aWNlTGlzdFJlcXVlc3QaMS5tZXRhbHN0YWNrLmFkbWluLnYyLkNvbXBvbmVudFNlcnZpY2VMaXN0UmVzcG9uc2UiCtLzGAIBAuDzGAJC0gEKF2NvbS5tZXRhbHN0YWNrLmFkbWluLnYyQg5Db21wb25lbnRQcm90b1ABWjlnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FkbWluL3YyO2FkbWludjKiAgNNQViqAhNNZXRhbHN0YWNrLkFkbWluLlYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_component]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message metalstack.admin.v2.ComponentServiceListRequest.
|
|
14
|
+
* Use `create(ComponentServiceListRequestSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const ComponentServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_component, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message metalstack.admin.v2.ComponentServiceListResponse.
|
|
19
|
+
* Use `create(ComponentServiceListResponseSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const ComponentServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_component, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message metalstack.admin.v2.ComponentServiceGetRequest.
|
|
24
|
+
* Use `create(ComponentServiceGetRequestSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const ComponentServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_component, 2);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message metalstack.admin.v2.ComponentServiceGetResponse.
|
|
29
|
+
* Use `create(ComponentServiceGetResponseSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const ComponentServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_component, 3);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message metalstack.admin.v2.ComponentServiceDeleteRequest.
|
|
34
|
+
* Use `create(ComponentServiceDeleteRequestSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const ComponentServiceDeleteRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_component, 4);
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message metalstack.admin.v2.ComponentServiceDeleteResponse.
|
|
39
|
+
* Use `create(ComponentServiceDeleteResponseSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const ComponentServiceDeleteResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_component, 5);
|
|
42
|
+
/**
|
|
43
|
+
* ComponentService serves microservice related functions
|
|
44
|
+
*
|
|
45
|
+
* @generated from service metalstack.admin.v2.ComponentService
|
|
46
|
+
*/
|
|
47
|
+
export const ComponentService = /*@__PURE__*/ serviceDesc(file_metalstack_admin_v2_component, 0);
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/admin/v2/component.proto (package metalstack.admin.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 "../../api/v2/common_pb";
|
|
9
|
+
import type { Component, ComponentQuery } from "../../api/v2/component_pb";
|
|
10
|
+
import { file_metalstack_api_v2_component } from "../../api/v2/component_pb";
|
|
11
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file metalstack/admin/v2/component.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_metalstack_admin_v2_component: GenFile = /*@__PURE__*/
|
|
17
|
+
fileDesc("CiNtZXRhbHN0YWNrL2FkbWluL3YyL2NvbXBvbmVudC5wcm90bxITbWV0YWxzdGFjay5hZG1pbi52MiJPChtDb21wb25lbnRTZXJ2aWNlTGlzdFJlcXVlc3QSMAoFcXVlcnkYASABKAsyIS5tZXRhbHN0YWNrLmFwaS52Mi5Db21wb25lbnRRdWVyeSJQChxDb21wb25lbnRTZXJ2aWNlTGlzdFJlc3BvbnNlEjAKCmNvbXBvbmVudHMYASADKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5Db21wb25lbnQiNAoaQ29tcG9uZW50U2VydmljZUdldFJlcXVlc3QSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQEiTgobQ29tcG9uZW50U2VydmljZUdldFJlc3BvbnNlEi8KCWNvbXBvbmVudBgBIAEoCzIcLm1ldGFsc3RhY2suYXBpLnYyLkNvbXBvbmVudCI3Ch1Db21wb25lbnRTZXJ2aWNlRGVsZXRlUmVxdWVzdBIWCgR1dWlkGAEgASgJQgi6SAVyA7ABASJRCh5Db21wb25lbnRTZXJ2aWNlRGVsZXRlUmVzcG9uc2USLwoJY29tcG9uZW50GAEgASgLMhwubWV0YWxzdGFjay5hcGkudjIuQ29tcG9uZW50Mv8CChBDb21wb25lbnRTZXJ2aWNlEnQKA0dldBIvLm1ldGFsc3RhY2suYWRtaW4udjIuQ29tcG9uZW50U2VydmljZUdldFJlcXVlc3QaMC5tZXRhbHN0YWNrLmFkbWluLnYyLkNvbXBvbmVudFNlcnZpY2VHZXRSZXNwb25zZSIK0vMYAgEC4PMYAhJ8CgZEZWxldGUSMi5tZXRhbHN0YWNrLmFkbWluLnYyLkNvbXBvbmVudFNlcnZpY2VEZWxldGVSZXF1ZXN0GjMubWV0YWxzdGFjay5hZG1pbi52Mi5Db21wb25lbnRTZXJ2aWNlRGVsZXRlUmVzcG9uc2UiCdLzGAEB4PMYARJ3CgRMaXN0EjAubWV0YWxzdGFjay5hZG1pbi52Mi5Db21wb25lbnRTZXJ2aWNlTGlzdFJlcXVlc3QaMS5tZXRhbHN0YWNrLmFkbWluLnYyLkNvbXBvbmVudFNlcnZpY2VMaXN0UmVzcG9uc2UiCtLzGAIBAuDzGAJC0gEKF2NvbS5tZXRhbHN0YWNrLmFkbWluLnYyQg5Db21wb25lbnRQcm90b1ABWjlnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FkbWluL3YyO2FkbWludjKiAgNNQViqAhNNZXRhbHN0YWNrLkFkbWluLlYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_component]);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* ComponentServiceListRequest
|
|
21
|
+
*
|
|
22
|
+
* @generated from message metalstack.admin.v2.ComponentServiceListRequest
|
|
23
|
+
*/
|
|
24
|
+
export type ComponentServiceListRequest = Message<"metalstack.admin.v2.ComponentServiceListRequest"> & {
|
|
25
|
+
/**
|
|
26
|
+
* Query components.
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: metalstack.api.v2.ComponentQuery query = 1;
|
|
29
|
+
*/
|
|
30
|
+
query?: ComponentQuery;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message metalstack.admin.v2.ComponentServiceListRequest.
|
|
35
|
+
* Use `create(ComponentServiceListRequestSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const ComponentServiceListRequestSchema: GenMessage<ComponentServiceListRequest> = /*@__PURE__*/
|
|
38
|
+
messageDesc(file_metalstack_admin_v2_component, 0);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* ComponentServiceListResponse
|
|
42
|
+
*
|
|
43
|
+
* @generated from message metalstack.admin.v2.ComponentServiceListResponse
|
|
44
|
+
*/
|
|
45
|
+
export type ComponentServiceListResponse = Message<"metalstack.admin.v2.ComponentServiceListResponse"> & {
|
|
46
|
+
/**
|
|
47
|
+
* Components
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: repeated metalstack.api.v2.Component components = 1;
|
|
50
|
+
*/
|
|
51
|
+
components: Component[];
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message metalstack.admin.v2.ComponentServiceListResponse.
|
|
56
|
+
* Use `create(ComponentServiceListResponseSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const ComponentServiceListResponseSchema: GenMessage<ComponentServiceListResponse> = /*@__PURE__*/
|
|
59
|
+
messageDesc(file_metalstack_admin_v2_component, 1);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* ComponentServiceGetRequest
|
|
63
|
+
*
|
|
64
|
+
* @generated from message metalstack.admin.v2.ComponentServiceGetRequest
|
|
65
|
+
*/
|
|
66
|
+
export type ComponentServiceGetRequest = Message<"metalstack.admin.v2.ComponentServiceGetRequest"> & {
|
|
67
|
+
/**
|
|
68
|
+
* UUID identifies the component to get
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: string uuid = 1;
|
|
71
|
+
*/
|
|
72
|
+
uuid: string;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message metalstack.admin.v2.ComponentServiceGetRequest.
|
|
77
|
+
* Use `create(ComponentServiceGetRequestSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export const ComponentServiceGetRequestSchema: GenMessage<ComponentServiceGetRequest> = /*@__PURE__*/
|
|
80
|
+
messageDesc(file_metalstack_admin_v2_component, 2);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* ComponentServiceGetResponse
|
|
84
|
+
*
|
|
85
|
+
* @generated from message metalstack.admin.v2.ComponentServiceGetResponse
|
|
86
|
+
*/
|
|
87
|
+
export type ComponentServiceGetResponse = Message<"metalstack.admin.v2.ComponentServiceGetResponse"> & {
|
|
88
|
+
/**
|
|
89
|
+
* Component
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: metalstack.api.v2.Component component = 1;
|
|
92
|
+
*/
|
|
93
|
+
component?: Component;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message metalstack.admin.v2.ComponentServiceGetResponse.
|
|
98
|
+
* Use `create(ComponentServiceGetResponseSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export const ComponentServiceGetResponseSchema: GenMessage<ComponentServiceGetResponse> = /*@__PURE__*/
|
|
101
|
+
messageDesc(file_metalstack_admin_v2_component, 3);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* ComponentServiceGetRequest
|
|
105
|
+
*
|
|
106
|
+
* @generated from message metalstack.admin.v2.ComponentServiceDeleteRequest
|
|
107
|
+
*/
|
|
108
|
+
export type ComponentServiceDeleteRequest = Message<"metalstack.admin.v2.ComponentServiceDeleteRequest"> & {
|
|
109
|
+
/**
|
|
110
|
+
* UUID identifies the component to delete
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: string uuid = 1;
|
|
113
|
+
*/
|
|
114
|
+
uuid: string;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Describes the message metalstack.admin.v2.ComponentServiceDeleteRequest.
|
|
119
|
+
* Use `create(ComponentServiceDeleteRequestSchema)` to create a new message.
|
|
120
|
+
*/
|
|
121
|
+
export const ComponentServiceDeleteRequestSchema: GenMessage<ComponentServiceDeleteRequest> = /*@__PURE__*/
|
|
122
|
+
messageDesc(file_metalstack_admin_v2_component, 4);
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* ComponentServiceGetResponse
|
|
126
|
+
*
|
|
127
|
+
* @generated from message metalstack.admin.v2.ComponentServiceDeleteResponse
|
|
128
|
+
*/
|
|
129
|
+
export type ComponentServiceDeleteResponse = Message<"metalstack.admin.v2.ComponentServiceDeleteResponse"> & {
|
|
130
|
+
/**
|
|
131
|
+
* Component
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: metalstack.api.v2.Component component = 1;
|
|
134
|
+
*/
|
|
135
|
+
component?: Component;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Describes the message metalstack.admin.v2.ComponentServiceDeleteResponse.
|
|
140
|
+
* Use `create(ComponentServiceDeleteResponseSchema)` to create a new message.
|
|
141
|
+
*/
|
|
142
|
+
export const ComponentServiceDeleteResponseSchema: GenMessage<ComponentServiceDeleteResponse> = /*@__PURE__*/
|
|
143
|
+
messageDesc(file_metalstack_admin_v2_component, 5);
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* ComponentService serves microservice related functions
|
|
147
|
+
*
|
|
148
|
+
* @generated from service metalstack.admin.v2.ComponentService
|
|
149
|
+
*/
|
|
150
|
+
export const ComponentService: GenService<{
|
|
151
|
+
/**
|
|
152
|
+
* Get a single component
|
|
153
|
+
*
|
|
154
|
+
* @generated from rpc metalstack.admin.v2.ComponentService.Get
|
|
155
|
+
*/
|
|
156
|
+
get: {
|
|
157
|
+
methodKind: "unary";
|
|
158
|
+
input: typeof ComponentServiceGetRequestSchema;
|
|
159
|
+
output: typeof ComponentServiceGetResponseSchema;
|
|
160
|
+
},
|
|
161
|
+
/**
|
|
162
|
+
* Delete a component
|
|
163
|
+
*
|
|
164
|
+
* @generated from rpc metalstack.admin.v2.ComponentService.Delete
|
|
165
|
+
*/
|
|
166
|
+
delete: {
|
|
167
|
+
methodKind: "unary";
|
|
168
|
+
input: typeof ComponentServiceDeleteRequestSchema;
|
|
169
|
+
output: typeof ComponentServiceDeleteResponseSchema;
|
|
170
|
+
},
|
|
171
|
+
/**
|
|
172
|
+
* List all components with their status
|
|
173
|
+
*
|
|
174
|
+
* @generated from rpc metalstack.admin.v2.ComponentService.List
|
|
175
|
+
*/
|
|
176
|
+
list: {
|
|
177
|
+
methodKind: "unary";
|
|
178
|
+
input: typeof ComponentServiceListRequestSchema;
|
|
179
|
+
output: typeof ComponentServiceListResponseSchema;
|
|
180
|
+
},
|
|
181
|
+
}> = /*@__PURE__*/
|
|
182
|
+
serviceDesc(file_metalstack_admin_v2_component, 0);
|
|
183
|
+
|
|
@@ -9,7 +9,7 @@ import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined
|
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file metalstack/admin/v2/partition.proto.
|
|
11
11
|
*/
|
|
12
|
-
export const file_metalstack_admin_v2_partition = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_metalstack_admin_v2_partition = /*@__PURE__*/ fileDesc("CiNtZXRhbHN0YWNrL2FkbWluL3YyL3BhcnRpdGlvbi5wcm90bxITbWV0YWxzdGFjay5hZG1pbi52MiJQCh1QYXJ0aXRpb25TZXJ2aWNlQ3JlYXRlUmVxdWVzdBIvCglwYXJ0aXRpb24YASABKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb24izwMKHVBhcnRpdGlvblNlcnZpY2VVcGRhdGVSZXF1ZXN0EhcKAmlkGAEgASgJQgu6SAhyBtCzrrECARI6Cgt1cGRhdGVfbWV0YRgCIAEoCzIdLm1ldGFsc3RhY2suYXBpLnYyLlVwZGF0ZU1ldGFCBrpIA8gBARIlCgtkZXNjcmlwdGlvbhgDIAEoCUILukgIcgbIs66xAgFIAIgBARJJChJib290X2NvbmZpZ3VyYXRpb24YBCABKAsyLS5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb25Cb290Q29uZmlndXJhdGlvbhI6CgpkbnNfc2VydmVyGAUgAygLMhwubWV0YWxzdGFjay5hcGkudjIuRE5TU2VydmVyQgi6SAWSAQIQAxI6CgpudHBfc2VydmVyGAYgAygLMhwubWV0YWxzdGFjay5hcGkudjIuTlRQU2VydmVyQgi6SAWSAQIQChIeChZtZ210X3NlcnZpY2VfYWRkcmVzc2VzGAcgAygJEjQKBmxhYmVscxgIIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLlVwZGF0ZUxhYmVsc0gBiAEBQg4KDF9kZXNjcmlwdGlvbkIJCgdfbGFiZWxzIjgKHVBhcnRpdGlvblNlcnZpY2VEZWxldGVSZXF1ZXN0EhcKAmlkGAEgASgJQgu6SAhyBtCzrrECASJRCh5QYXJ0aXRpb25TZXJ2aWNlQ3JlYXRlUmVzcG9uc2USLwoJcGFydGl0aW9uGAEgASgLMhwubWV0YWxzdGFjay5hcGkudjIuUGFydGl0aW9uIlEKHlBhcnRpdGlvblNlcnZpY2VVcGRhdGVSZXNwb25zZRIvCglwYXJ0aXRpb24YASABKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb24iUQoeUGFydGl0aW9uU2VydmljZURlbGV0ZVJlc3BvbnNlEi8KCXBhcnRpdGlvbhgBIAEoCzIcLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvbiKbAQofUGFydGl0aW9uU2VydmljZUNhcGFjaXR5UmVxdWVzdBIcCgJpZBgBIAEoCUILukgIcgbQs66xAgFIAIgBARIeCgRzaXplGAIgASgJQgu6SAhyBsCzrrECAUgBiAEBEh4KB3Byb2plY3QYAyABKAlCCLpIBXIDsAEBSAKIAQFCBQoDX2lkQgcKBV9zaXplQgoKCF9wcm9qZWN0ImYKIFBhcnRpdGlvblNlcnZpY2VDYXBhY2l0eVJlc3BvbnNlEkIKEnBhcnRpdGlvbl9jYXBhY2l0eRgBIAMoCzImLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uQ2FwYWNpdHkifgoRUGFydGl0aW9uQ2FwYWNpdHkSHgoJcGFydGl0aW9uGAEgASgJQgu6SAhyBtCzrrECARJJChdtYWNoaW5lX3NpemVfY2FwYWNpdGllcxgCIAMoCzIoLm1ldGFsc3RhY2suYWRtaW4udjIuTWFjaGluZVNpemVDYXBhY2l0eSLRAgoTTWFjaGluZVNpemVDYXBhY2l0eRIZCgRzaXplGAIgASgJQgu6SAhyBsCzrrECARINCgV0b3RhbBgDIAEoAxITCgtwaG9uZWRfaG9tZRgEIAEoAxIPCgd3YWl0aW5nGAUgASgDEg0KBW90aGVyGAYgASgDEhYKDm90aGVyX21hY2hpbmVzGAcgAygJEhEKCWFsbG9jYXRlZBgIIAEoAxITCgthbGxvY2F0YWJsZRgJIAEoAxIMCgRmcmVlGAogASgDEhMKC3VuYXZhaWxhYmxlGAsgASgDEg4KBmZhdWx0eRgMIAEoAxIXCg9mYXVsdHlfbWFjaGluZXMYDSADKAkSFAoMcmVzZXJ2YXRpb25zGA4gASgDEhkKEXVzZWRfcmVzZXJ2YXRpb25zGA8gASgDEh4KFnJlbWFpbmluZ19yZXNlcnZhdGlvbnMYECABKAMykgQKEFBhcnRpdGlvblNlcnZpY2USfAoGQ3JlYXRlEjIubWV0YWxzdGFjay5hZG1pbi52Mi5QYXJ0aXRpb25TZXJ2aWNlQ3JlYXRlUmVxdWVzdBozLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZUNyZWF0ZVJlc3BvbnNlIgnS8xgBAeDzGAESfAoGVXBkYXRlEjIubWV0YWxzdGFjay5hZG1pbi52Mi5QYXJ0aXRpb25TZXJ2aWNlVXBkYXRlUmVxdWVzdBozLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZVVwZGF0ZVJlc3BvbnNlIgnS8xgBAeDzGAESfAoGRGVsZXRlEjIubWV0YWxzdGFjay5hZG1pbi52Mi5QYXJ0aXRpb25TZXJ2aWNlRGVsZXRlUmVxdWVzdBozLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZURlbGV0ZVJlc3BvbnNlIgnS8xgBAeDzGAESgwEKCENhcGFjaXR5EjQubWV0YWxzdGFjay5hZG1pbi52Mi5QYXJ0aXRpb25TZXJ2aWNlQ2FwYWNpdHlSZXF1ZXN0GjUubWV0YWxzdGFjay5hZG1pbi52Mi5QYXJ0aXRpb25TZXJ2aWNlQ2FwYWNpdHlSZXNwb25zZSIK0vMYAgIB4PMYAkLSAQoXY29tLm1ldGFsc3RhY2suYWRtaW4udjJCDlBhcnRpdGlvblByb3RvUAFaOWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYWRtaW4vdjI7YWRtaW52MqICA01BWKoCE01ldGFsc3RhY2suQWRtaW4uVjLKAhNNZXRhbHN0YWNrXEFkbWluXFYy4gIfTWV0YWxzdGFja1xBZG1pblxWMlxHUEJNZXRhZGF0YeoCFU1ldGFsc3RhY2s6OkFkbWluOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_partition, file_metalstack_api_v2_predefined_rules]);
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message metalstack.admin.v2.PartitionServiceCreateRequest.
|
|
15
15
|
* Use `create(PartitionServiceCreateRequestSchema)` to create a new message.
|
|
@@ -16,7 +16,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
16
16
|
* Describes the file metalstack/admin/v2/partition.proto.
|
|
17
17
|
*/
|
|
18
18
|
export const file_metalstack_admin_v2_partition: GenFile = /*@__PURE__*/
|
|
19
|
-
fileDesc("
|
|
19
|
+
fileDesc("CiNtZXRhbHN0YWNrL2FkbWluL3YyL3BhcnRpdGlvbi5wcm90bxITbWV0YWxzdGFjay5hZG1pbi52MiJQCh1QYXJ0aXRpb25TZXJ2aWNlQ3JlYXRlUmVxdWVzdBIvCglwYXJ0aXRpb24YASABKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb24izwMKHVBhcnRpdGlvblNlcnZpY2VVcGRhdGVSZXF1ZXN0EhcKAmlkGAEgASgJQgu6SAhyBtCzrrECARI6Cgt1cGRhdGVfbWV0YRgCIAEoCzIdLm1ldGFsc3RhY2suYXBpLnYyLlVwZGF0ZU1ldGFCBrpIA8gBARIlCgtkZXNjcmlwdGlvbhgDIAEoCUILukgIcgbIs66xAgFIAIgBARJJChJib290X2NvbmZpZ3VyYXRpb24YBCABKAsyLS5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb25Cb290Q29uZmlndXJhdGlvbhI6CgpkbnNfc2VydmVyGAUgAygLMhwubWV0YWxzdGFjay5hcGkudjIuRE5TU2VydmVyQgi6SAWSAQIQAxI6CgpudHBfc2VydmVyGAYgAygLMhwubWV0YWxzdGFjay5hcGkudjIuTlRQU2VydmVyQgi6SAWSAQIQChIeChZtZ210X3NlcnZpY2VfYWRkcmVzc2VzGAcgAygJEjQKBmxhYmVscxgIIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLlVwZGF0ZUxhYmVsc0gBiAEBQg4KDF9kZXNjcmlwdGlvbkIJCgdfbGFiZWxzIjgKHVBhcnRpdGlvblNlcnZpY2VEZWxldGVSZXF1ZXN0EhcKAmlkGAEgASgJQgu6SAhyBtCzrrECASJRCh5QYXJ0aXRpb25TZXJ2aWNlQ3JlYXRlUmVzcG9uc2USLwoJcGFydGl0aW9uGAEgASgLMhwubWV0YWxzdGFjay5hcGkudjIuUGFydGl0aW9uIlEKHlBhcnRpdGlvblNlcnZpY2VVcGRhdGVSZXNwb25zZRIvCglwYXJ0aXRpb24YASABKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb24iUQoeUGFydGl0aW9uU2VydmljZURlbGV0ZVJlc3BvbnNlEi8KCXBhcnRpdGlvbhgBIAEoCzIcLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvbiKbAQofUGFydGl0aW9uU2VydmljZUNhcGFjaXR5UmVxdWVzdBIcCgJpZBgBIAEoCUILukgIcgbQs66xAgFIAIgBARIeCgRzaXplGAIgASgJQgu6SAhyBsCzrrECAUgBiAEBEh4KB3Byb2plY3QYAyABKAlCCLpIBXIDsAEBSAKIAQFCBQoDX2lkQgcKBV9zaXplQgoKCF9wcm9qZWN0ImYKIFBhcnRpdGlvblNlcnZpY2VDYXBhY2l0eVJlc3BvbnNlEkIKEnBhcnRpdGlvbl9jYXBhY2l0eRgBIAMoCzImLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uQ2FwYWNpdHkifgoRUGFydGl0aW9uQ2FwYWNpdHkSHgoJcGFydGl0aW9uGAEgASgJQgu6SAhyBtCzrrECARJJChdtYWNoaW5lX3NpemVfY2FwYWNpdGllcxgCIAMoCzIoLm1ldGFsc3RhY2suYWRtaW4udjIuTWFjaGluZVNpemVDYXBhY2l0eSLRAgoTTWFjaGluZVNpemVDYXBhY2l0eRIZCgRzaXplGAIgASgJQgu6SAhyBsCzrrECARINCgV0b3RhbBgDIAEoAxITCgtwaG9uZWRfaG9tZRgEIAEoAxIPCgd3YWl0aW5nGAUgASgDEg0KBW90aGVyGAYgASgDEhYKDm90aGVyX21hY2hpbmVzGAcgAygJEhEKCWFsbG9jYXRlZBgIIAEoAxITCgthbGxvY2F0YWJsZRgJIAEoAxIMCgRmcmVlGAogASgDEhMKC3VuYXZhaWxhYmxlGAsgASgDEg4KBmZhdWx0eRgMIAEoAxIXCg9mYXVsdHlfbWFjaGluZXMYDSADKAkSFAoMcmVzZXJ2YXRpb25zGA4gASgDEhkKEXVzZWRfcmVzZXJ2YXRpb25zGA8gASgDEh4KFnJlbWFpbmluZ19yZXNlcnZhdGlvbnMYECABKAMykgQKEFBhcnRpdGlvblNlcnZpY2USfAoGQ3JlYXRlEjIubWV0YWxzdGFjay5hZG1pbi52Mi5QYXJ0aXRpb25TZXJ2aWNlQ3JlYXRlUmVxdWVzdBozLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZUNyZWF0ZVJlc3BvbnNlIgnS8xgBAeDzGAESfAoGVXBkYXRlEjIubWV0YWxzdGFjay5hZG1pbi52Mi5QYXJ0aXRpb25TZXJ2aWNlVXBkYXRlUmVxdWVzdBozLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZVVwZGF0ZVJlc3BvbnNlIgnS8xgBAeDzGAESfAoGRGVsZXRlEjIubWV0YWxzdGFjay5hZG1pbi52Mi5QYXJ0aXRpb25TZXJ2aWNlRGVsZXRlUmVxdWVzdBozLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZURlbGV0ZVJlc3BvbnNlIgnS8xgBAeDzGAESgwEKCENhcGFjaXR5EjQubWV0YWxzdGFjay5hZG1pbi52Mi5QYXJ0aXRpb25TZXJ2aWNlQ2FwYWNpdHlSZXF1ZXN0GjUubWV0YWxzdGFjay5hZG1pbi52Mi5QYXJ0aXRpb25TZXJ2aWNlQ2FwYWNpdHlSZXNwb25zZSIK0vMYAgIB4PMYAkLSAQoXY29tLm1ldGFsc3RhY2suYWRtaW4udjJCDlBhcnRpdGlvblByb3RvUAFaOWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYWRtaW4vdjI7YWRtaW52MqICA01BWKoCE01ldGFsc3RhY2suQWRtaW4uVjLKAhNNZXRhbHN0YWNrXEFkbWluXFYy4gIfTWV0YWxzdGFja1xBZG1pblxWMlxHUEJNZXRhZGF0YeoCFU1ldGFsc3RhY2s6OkFkbWluOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_partition, file_metalstack_api_v2_predefined_rules]);
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* PartitionServiceCreateRequest is the request payload for a partition create request
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type { Paging } from "../../api/v2/common_pb";
|
|
2
|
+
import type { Labels, Paging } from "../../api/v2/common_pb";
|
|
3
3
|
import type { Tenant } from "../../api/v2/tenant_pb";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
5
|
/**
|
|
@@ -36,6 +36,12 @@ export type TenantServiceCreateRequest = Message<"metalstack.admin.v2.TenantServ
|
|
|
36
36
|
* @generated from field: optional string avatar_url = 4;
|
|
37
37
|
*/
|
|
38
38
|
avatarUrl?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Labels on the tenant
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: metalstack.api.v2.Labels labels = 5;
|
|
43
|
+
*/
|
|
44
|
+
labels?: Labels;
|
|
39
45
|
};
|
|
40
46
|
/**
|
|
41
47
|
* Describes the message metalstack.admin.v2.TenantServiceCreateRequest.
|
|
@@ -78,12 +84,6 @@ export type TenantServiceListRequest = Message<"metalstack.admin.v2.TenantServic
|
|
|
78
84
|
* @generated from field: optional string name = 2;
|
|
79
85
|
*/
|
|
80
86
|
name?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Email of the tenant to list
|
|
83
|
-
*
|
|
84
|
-
* @generated from field: optional string email = 3;
|
|
85
|
-
*/
|
|
86
|
-
email?: string;
|
|
87
87
|
/**
|
|
88
88
|
* Paging details for the list request
|
|
89
89
|
*
|
|
@@ -9,7 +9,7 @@ import { file_metalstack_api_v2_tenant } from "../../api/v2/tenant_pb";
|
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file metalstack/admin/v2/tenant.proto.
|
|
11
11
|
*/
|
|
12
|
-
export const file_metalstack_admin_v2_tenant = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_metalstack_admin_v2_tenant = /*@__PURE__*/ fileDesc("CiBtZXRhbHN0YWNrL2FkbWluL3YyL3RlbmFudC5wcm90bxITbWV0YWxzdGFjay5hZG1pbi52MiLoAQoaVGVuYW50U2VydmljZUNyZWF0ZVJlcXVlc3QSGQoEbmFtZRgBIAEoCUILukgIcgbAs66xAgESJQoLZGVzY3JpcHRpb24YAiABKAlCC7pICHIGyLOusQIBSACIAQESGwoFZW1haWwYAyABKAlCB7pIBHICYAFIAYgBARIXCgphdmF0YXJfdXJsGAQgASgJSAKIAQESKQoGbGFiZWxzGAUgASgLMhkubWV0YWxzdGFjay5hcGkudjIuTGFiZWxzQg4KDF9kZXNjcmlwdGlvbkIICgZfZW1haWxCDQoLX2F2YXRhcl91cmwiSAobVGVuYW50U2VydmljZUNyZWF0ZVJlc3BvbnNlEikKBnRlbmFudBgBIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudCKMAQoYVGVuYW50U2VydmljZUxpc3RSZXF1ZXN0EhIKBWxvZ2luGAEgASgJSACIAQESHgoEbmFtZRgCIAEoCUILukgIcgbAs66xAgFIAYgBARIpCgZwYWdpbmcYByABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5QYWdpbmdCCAoGX2xvZ2luQgcKBV9uYW1lIm0KGVRlbmFudFNlcnZpY2VMaXN0UmVzcG9uc2USKgoHdGVuYW50cxgBIAMoCzIZLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudBIWCgluZXh0X3BhZ2UYAiABKARIAIgBAUIMCgpfbmV4dF9wYWdlMvIBCg1UZW5hbnRTZXJ2aWNlEnIKBkNyZWF0ZRIvLm1ldGFsc3RhY2suYWRtaW4udjIuVGVuYW50U2VydmljZUNyZWF0ZVJlcXVlc3QaMC5tZXRhbHN0YWNrLmFkbWluLnYyLlRlbmFudFNlcnZpY2VDcmVhdGVSZXNwb25zZSIF0vMYAQESbQoETGlzdBItLm1ldGFsc3RhY2suYWRtaW4udjIuVGVuYW50U2VydmljZUxpc3RSZXF1ZXN0Gi4ubWV0YWxzdGFjay5hZG1pbi52Mi5UZW5hbnRTZXJ2aWNlTGlzdFJlc3BvbnNlIgbS8xgCAQJCzwEKF2NvbS5tZXRhbHN0YWNrLmFkbWluLnYyQgtUZW5hbnRQcm90b1ABWjlnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FkbWluL3YyO2FkbWludjKiAgNNQViqAhNNZXRhbHN0YWNrLkFkbWluLlYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_tenant]);
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message metalstack.admin.v2.TenantServiceCreateRequest.
|
|
15
15
|
* Use `create(TenantServiceCreateRequestSchema)` to create a new message.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
7
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
-
import type { Paging } from "../../api/v2/common_pb";
|
|
8
|
+
import type { Labels, Paging } from "../../api/v2/common_pb";
|
|
9
9
|
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
10
10
|
import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
|
|
11
11
|
import type { Tenant } from "../../api/v2/tenant_pb";
|
|
@@ -16,7 +16,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
16
16
|
* Describes the file metalstack/admin/v2/tenant.proto.
|
|
17
17
|
*/
|
|
18
18
|
export const file_metalstack_admin_v2_tenant: GenFile = /*@__PURE__*/
|
|
19
|
-
fileDesc("
|
|
19
|
+
fileDesc("CiBtZXRhbHN0YWNrL2FkbWluL3YyL3RlbmFudC5wcm90bxITbWV0YWxzdGFjay5hZG1pbi52MiLoAQoaVGVuYW50U2VydmljZUNyZWF0ZVJlcXVlc3QSGQoEbmFtZRgBIAEoCUILukgIcgbAs66xAgESJQoLZGVzY3JpcHRpb24YAiABKAlCC7pICHIGyLOusQIBSACIAQESGwoFZW1haWwYAyABKAlCB7pIBHICYAFIAYgBARIXCgphdmF0YXJfdXJsGAQgASgJSAKIAQESKQoGbGFiZWxzGAUgASgLMhkubWV0YWxzdGFjay5hcGkudjIuTGFiZWxzQg4KDF9kZXNjcmlwdGlvbkIICgZfZW1haWxCDQoLX2F2YXRhcl91cmwiSAobVGVuYW50U2VydmljZUNyZWF0ZVJlc3BvbnNlEikKBnRlbmFudBgBIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudCKMAQoYVGVuYW50U2VydmljZUxpc3RSZXF1ZXN0EhIKBWxvZ2luGAEgASgJSACIAQESHgoEbmFtZRgCIAEoCUILukgIcgbAs66xAgFIAYgBARIpCgZwYWdpbmcYByABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5QYWdpbmdCCAoGX2xvZ2luQgcKBV9uYW1lIm0KGVRlbmFudFNlcnZpY2VMaXN0UmVzcG9uc2USKgoHdGVuYW50cxgBIAMoCzIZLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudBIWCgluZXh0X3BhZ2UYAiABKARIAIgBAUIMCgpfbmV4dF9wYWdlMvIBCg1UZW5hbnRTZXJ2aWNlEnIKBkNyZWF0ZRIvLm1ldGFsc3RhY2suYWRtaW4udjIuVGVuYW50U2VydmljZUNyZWF0ZVJlcXVlc3QaMC5tZXRhbHN0YWNrLmFkbWluLnYyLlRlbmFudFNlcnZpY2VDcmVhdGVSZXNwb25zZSIF0vMYAQESbQoETGlzdBItLm1ldGFsc3RhY2suYWRtaW4udjIuVGVuYW50U2VydmljZUxpc3RSZXF1ZXN0Gi4ubWV0YWxzdGFjay5hZG1pbi52Mi5UZW5hbnRTZXJ2aWNlTGlzdFJlc3BvbnNlIgbS8xgCAQJCzwEKF2NvbS5tZXRhbHN0YWNrLmFkbWluLnYyQgtUZW5hbnRQcm90b1ABWjlnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FkbWluL3YyO2FkbWludjKiAgNNQViqAhNNZXRhbHN0YWNrLkFkbWluLlYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_tenant]);
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* TenantServiceCreateRequest is the request payload of the tenant create request
|
|
@@ -51,6 +51,13 @@ export type TenantServiceCreateRequest = Message<"metalstack.admin.v2.TenantServ
|
|
|
51
51
|
* @generated from field: optional string avatar_url = 4;
|
|
52
52
|
*/
|
|
53
53
|
avatarUrl?: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Labels on the tenant
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: metalstack.api.v2.Labels labels = 5;
|
|
59
|
+
*/
|
|
60
|
+
labels?: Labels;
|
|
54
61
|
};
|
|
55
62
|
|
|
56
63
|
/**
|
|
@@ -101,13 +108,6 @@ export type TenantServiceListRequest = Message<"metalstack.admin.v2.TenantServic
|
|
|
101
108
|
*/
|
|
102
109
|
name?: string;
|
|
103
110
|
|
|
104
|
-
/**
|
|
105
|
-
* Email of the tenant to list
|
|
106
|
-
*
|
|
107
|
-
* @generated from field: optional string email = 3;
|
|
108
|
-
*/
|
|
109
|
-
email?: string;
|
|
110
|
-
|
|
111
111
|
/**
|
|
112
112
|
* Paging details for the list request
|
|
113
113
|
*
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Token } from "./token_pb";
|
|
4
|
+
import type { Version } from "./version_pb";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file metalstack/api/v2/component.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_metalstack_api_v2_component: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* Component represents a microservice connected to our apiserver
|
|
12
|
+
*
|
|
13
|
+
* @generated from message metalstack.api.v2.Component
|
|
14
|
+
*/
|
|
15
|
+
export type Component = Message<"metalstack.api.v2.Component"> & {
|
|
16
|
+
/**
|
|
17
|
+
* UUID identifies this component event
|
|
18
|
+
*
|
|
19
|
+
* @generated from field: string uuid = 1;
|
|
20
|
+
*/
|
|
21
|
+
uuid: string;
|
|
22
|
+
/**
|
|
23
|
+
* Type defines which service is actually pinging
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: metalstack.api.v2.ComponentType type = 2;
|
|
26
|
+
*/
|
|
27
|
+
type: ComponentType;
|
|
28
|
+
/**
|
|
29
|
+
* Identifier is a unique identifier of this service, e.g. if two instance are running, this might be the pod id.
|
|
30
|
+
* micro_service and identifier guarantee uniqueness.
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: string identifier = 3;
|
|
33
|
+
*/
|
|
34
|
+
identifier: string;
|
|
35
|
+
/**
|
|
36
|
+
* StartedAt is the timestamp this service was started
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: google.protobuf.Timestamp started_at = 4;
|
|
39
|
+
*/
|
|
40
|
+
startedAt?: Timestamp;
|
|
41
|
+
/**
|
|
42
|
+
* ReportedAt is the timestamp this service sent this ping.
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: google.protobuf.Timestamp reported_at = 5;
|
|
45
|
+
*/
|
|
46
|
+
reportedAt?: Timestamp;
|
|
47
|
+
/**
|
|
48
|
+
* Interval at which the ping is scheduled.
|
|
49
|
+
*
|
|
50
|
+
* @generated from field: google.protobuf.Duration interval = 6;
|
|
51
|
+
*/
|
|
52
|
+
interval?: Duration;
|
|
53
|
+
/**
|
|
54
|
+
* Version of this service
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: metalstack.api.v2.Version version = 7;
|
|
57
|
+
*/
|
|
58
|
+
version?: Version;
|
|
59
|
+
/**
|
|
60
|
+
* Token is the token which is actually used by this microservice.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: metalstack.api.v2.Token token = 8;
|
|
63
|
+
*/
|
|
64
|
+
token?: Token;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message metalstack.api.v2.Component.
|
|
68
|
+
* Use `create(ComponentSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export declare const ComponentSchema: GenMessage<Component>;
|
|
71
|
+
/**
|
|
72
|
+
* ComponentQuery to query components
|
|
73
|
+
*
|
|
74
|
+
* @generated from message metalstack.api.v2.ComponentQuery
|
|
75
|
+
*/
|
|
76
|
+
export type ComponentQuery = Message<"metalstack.api.v2.ComponentQuery"> & {
|
|
77
|
+
/**
|
|
78
|
+
* UUID identifies this component
|
|
79
|
+
*
|
|
80
|
+
* @generated from field: optional string uuid = 1;
|
|
81
|
+
*/
|
|
82
|
+
uuid?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Type defines which service is actually pinging
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: optional metalstack.api.v2.ComponentType type = 2;
|
|
87
|
+
*/
|
|
88
|
+
type?: ComponentType;
|
|
89
|
+
/**
|
|
90
|
+
* Identifier is a unique identifier of this service, e.g. if two instance are running, this might be the pod id.
|
|
91
|
+
* micro_service and identifier guarantee uniqueness.
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: optional string identifier = 3;
|
|
94
|
+
*/
|
|
95
|
+
identifier?: string;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Describes the message metalstack.api.v2.ComponentQuery.
|
|
99
|
+
* Use `create(ComponentQuerySchema)` to create a new message.
|
|
100
|
+
*/
|
|
101
|
+
export declare const ComponentQuerySchema: GenMessage<ComponentQuery>;
|
|
102
|
+
/**
|
|
103
|
+
* ComponentType defines which service is actually pinging
|
|
104
|
+
*
|
|
105
|
+
* @generated from enum metalstack.api.v2.ComponentType
|
|
106
|
+
*/
|
|
107
|
+
export declare enum ComponentType {
|
|
108
|
+
/**
|
|
109
|
+
* COMPONENT_TYPE_UNSPECIFIED is unspecified
|
|
110
|
+
*
|
|
111
|
+
* @generated from enum value: COMPONENT_TYPE_UNSPECIFIED = 0;
|
|
112
|
+
*/
|
|
113
|
+
UNSPECIFIED = 0,
|
|
114
|
+
/**
|
|
115
|
+
* COMPONENT_TYPE_PIXIECORE is pixiecore
|
|
116
|
+
*
|
|
117
|
+
* @generated from enum value: COMPONENT_TYPE_PIXIECORE = 1;
|
|
118
|
+
*/
|
|
119
|
+
PIXIECORE = 1,
|
|
120
|
+
/**
|
|
121
|
+
* COMPONENT_TYPE_METAL_CORE is metal-core
|
|
122
|
+
*
|
|
123
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_CORE = 2;
|
|
124
|
+
*/
|
|
125
|
+
METAL_CORE = 2,
|
|
126
|
+
/**
|
|
127
|
+
* COMPONENT_TYPE_METAL_BMC is metal-bmc
|
|
128
|
+
*
|
|
129
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_BMC = 3;
|
|
130
|
+
*/
|
|
131
|
+
METAL_BMC = 3,
|
|
132
|
+
/**
|
|
133
|
+
* COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync
|
|
134
|
+
*
|
|
135
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC = 4;
|
|
136
|
+
*/
|
|
137
|
+
METAL_IMAGE_CACHE_SYNC = 4,
|
|
138
|
+
/**
|
|
139
|
+
* COMPONENT_TYPE_METAL_CONSOLE is metal-console
|
|
140
|
+
*
|
|
141
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_CONSOLE = 5;
|
|
142
|
+
*/
|
|
143
|
+
METAL_CONSOLE = 5,
|
|
144
|
+
/**
|
|
145
|
+
* COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter
|
|
146
|
+
*
|
|
147
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_METRICS_EXPORTER = 6;
|
|
148
|
+
*/
|
|
149
|
+
METAL_METRICS_EXPORTER = 6
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Describes the enum metalstack.api.v2.ComponentType.
|
|
153
|
+
*/
|
|
154
|
+
export declare const ComponentTypeSchema: GenEnum<ComponentType>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/component.proto (package metalstack.api.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
6
|
+
import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
8
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
9
|
+
import { file_metalstack_api_v2_token } from "./token_pb";
|
|
10
|
+
import { file_metalstack_api_v2_version } from "./version_pb";
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file metalstack/api/v2/component.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_metalstack_api_v2_component = /*@__PURE__*/ fileDesc("CiFtZXRhbHN0YWNrL2FwaS92Mi9jb21wb25lbnQucHJvdG8SEW1ldGFsc3RhY2suYXBpLnYyIuICCglDb21wb25lbnQSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQESOAoEdHlwZRgCIAEoDjIgLm1ldGFsc3RhY2suYXBpLnYyLkNvbXBvbmVudFR5cGVCCLpIBYIBAhABEh8KCmlkZW50aWZpZXIYAyABKAlCC7pICHIGwLOusQIBEi4KCnN0YXJ0ZWRfYXQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi8KC3JlcG9ydGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIrCghpbnRlcnZhbBgGIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbhIrCgd2ZXJzaW9uGAcgASgLMhoubWV0YWxzdGFjay5hcGkudjIuVmVyc2lvbhInCgV0b2tlbhgIIAEoCzIYLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuIrMBCg5Db21wb25lbnRRdWVyeRIbCgR1dWlkGAEgASgJQgi6SAVyA7ABAUgAiAEBEj0KBHR5cGUYAiABKA4yIC5tZXRhbHN0YWNrLmFwaS52Mi5Db21wb25lbnRUeXBlQgi6SAWCAQIQAUgBiAEBEiQKCmlkZW50aWZpZXIYAyABKAlCC7pICHIGwLOusQIBSAKIAQFCBwoFX3V1aWRCBwoFX3R5cGVCDQoLX2lkZW50aWZpZXIqjAMKDUNvbXBvbmVudFR5cGUSLwoaQ09NUE9ORU5UX1RZUEVfVU5TUEVDSUZJRUQQABoPgrIZC3Vuc3BlY2lmaWVkEisKGENPTVBPTkVOVF9UWVBFX1BJWElFQ09SRRABGg2CshkJcGl4aWVjb3JlEi0KGUNPTVBPTkVOVF9UWVBFX01FVEFMX0NPUkUQAhoOgrIZCm1ldGFsLWNvcmUSKwoYQ09NUE9ORU5UX1RZUEVfTUVUQUxfQk1DEAMaDYKyGQltZXRhbC1ibWMSRQolQ09NUE9ORU5UX1RZUEVfTUVUQUxfSU1BR0VfQ0FDSEVfU1lOQxAEGhqCshkWbWV0YWwtaW1hZ2UtY2FjaGUtc3luYxIzChxDT01QT05FTlRfVFlQRV9NRVRBTF9DT05TT0xFEAUaEYKyGQ1tZXRhbC1jb25zb2xlEkUKJUNPTVBPTkVOVF9UWVBFX01FVEFMX01FVFJJQ1NfRVhQT1JURVIQBhoagrIZFm1ldGFsLW1ldHJpY3MtZXhwb3J0ZXJCxAEKFWNvbS5tZXRhbHN0YWNrLmFwaS52MkIOQ29tcG9uZW50UHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_duration, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_token, file_metalstack_api_v2_version]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message metalstack.api.v2.Component.
|
|
17
|
+
* Use `create(ComponentSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const ComponentSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_component, 0);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message metalstack.api.v2.ComponentQuery.
|
|
22
|
+
* Use `create(ComponentQuerySchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const ComponentQuerySchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_component, 1);
|
|
25
|
+
/**
|
|
26
|
+
* ComponentType defines which service is actually pinging
|
|
27
|
+
*
|
|
28
|
+
* @generated from enum metalstack.api.v2.ComponentType
|
|
29
|
+
*/
|
|
30
|
+
export var ComponentType;
|
|
31
|
+
(function (ComponentType) {
|
|
32
|
+
/**
|
|
33
|
+
* COMPONENT_TYPE_UNSPECIFIED is unspecified
|
|
34
|
+
*
|
|
35
|
+
* @generated from enum value: COMPONENT_TYPE_UNSPECIFIED = 0;
|
|
36
|
+
*/
|
|
37
|
+
ComponentType[ComponentType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
38
|
+
/**
|
|
39
|
+
* COMPONENT_TYPE_PIXIECORE is pixiecore
|
|
40
|
+
*
|
|
41
|
+
* @generated from enum value: COMPONENT_TYPE_PIXIECORE = 1;
|
|
42
|
+
*/
|
|
43
|
+
ComponentType[ComponentType["PIXIECORE"] = 1] = "PIXIECORE";
|
|
44
|
+
/**
|
|
45
|
+
* COMPONENT_TYPE_METAL_CORE is metal-core
|
|
46
|
+
*
|
|
47
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_CORE = 2;
|
|
48
|
+
*/
|
|
49
|
+
ComponentType[ComponentType["METAL_CORE"] = 2] = "METAL_CORE";
|
|
50
|
+
/**
|
|
51
|
+
* COMPONENT_TYPE_METAL_BMC is metal-bmc
|
|
52
|
+
*
|
|
53
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_BMC = 3;
|
|
54
|
+
*/
|
|
55
|
+
ComponentType[ComponentType["METAL_BMC"] = 3] = "METAL_BMC";
|
|
56
|
+
/**
|
|
57
|
+
* COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync
|
|
58
|
+
*
|
|
59
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC = 4;
|
|
60
|
+
*/
|
|
61
|
+
ComponentType[ComponentType["METAL_IMAGE_CACHE_SYNC"] = 4] = "METAL_IMAGE_CACHE_SYNC";
|
|
62
|
+
/**
|
|
63
|
+
* COMPONENT_TYPE_METAL_CONSOLE is metal-console
|
|
64
|
+
*
|
|
65
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_CONSOLE = 5;
|
|
66
|
+
*/
|
|
67
|
+
ComponentType[ComponentType["METAL_CONSOLE"] = 5] = "METAL_CONSOLE";
|
|
68
|
+
/**
|
|
69
|
+
* COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter
|
|
70
|
+
*
|
|
71
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_METRICS_EXPORTER = 6;
|
|
72
|
+
*/
|
|
73
|
+
ComponentType[ComponentType["METAL_METRICS_EXPORTER"] = 6] = "METAL_METRICS_EXPORTER";
|
|
74
|
+
})(ComponentType || (ComponentType = {}));
|
|
75
|
+
/**
|
|
76
|
+
* Describes the enum metalstack.api.v2.ComponentType.
|
|
77
|
+
*/
|
|
78
|
+
export const ComponentTypeSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_component, 0);
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/component.proto (package metalstack.api.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
11
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
12
|
+
import type { Token } from "./token_pb";
|
|
13
|
+
import { file_metalstack_api_v2_token } from "./token_pb";
|
|
14
|
+
import type { Version } from "./version_pb";
|
|
15
|
+
import { file_metalstack_api_v2_version } from "./version_pb";
|
|
16
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Describes the file metalstack/api/v2/component.proto.
|
|
20
|
+
*/
|
|
21
|
+
export const file_metalstack_api_v2_component: GenFile = /*@__PURE__*/
|
|
22
|
+
fileDesc("CiFtZXRhbHN0YWNrL2FwaS92Mi9jb21wb25lbnQucHJvdG8SEW1ldGFsc3RhY2suYXBpLnYyIuICCglDb21wb25lbnQSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQESOAoEdHlwZRgCIAEoDjIgLm1ldGFsc3RhY2suYXBpLnYyLkNvbXBvbmVudFR5cGVCCLpIBYIBAhABEh8KCmlkZW50aWZpZXIYAyABKAlCC7pICHIGwLOusQIBEi4KCnN0YXJ0ZWRfYXQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi8KC3JlcG9ydGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIrCghpbnRlcnZhbBgGIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbhIrCgd2ZXJzaW9uGAcgASgLMhoubWV0YWxzdGFjay5hcGkudjIuVmVyc2lvbhInCgV0b2tlbhgIIAEoCzIYLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuIrMBCg5Db21wb25lbnRRdWVyeRIbCgR1dWlkGAEgASgJQgi6SAVyA7ABAUgAiAEBEj0KBHR5cGUYAiABKA4yIC5tZXRhbHN0YWNrLmFwaS52Mi5Db21wb25lbnRUeXBlQgi6SAWCAQIQAUgBiAEBEiQKCmlkZW50aWZpZXIYAyABKAlCC7pICHIGwLOusQIBSAKIAQFCBwoFX3V1aWRCBwoFX3R5cGVCDQoLX2lkZW50aWZpZXIqjAMKDUNvbXBvbmVudFR5cGUSLwoaQ09NUE9ORU5UX1RZUEVfVU5TUEVDSUZJRUQQABoPgrIZC3Vuc3BlY2lmaWVkEisKGENPTVBPTkVOVF9UWVBFX1BJWElFQ09SRRABGg2CshkJcGl4aWVjb3JlEi0KGUNPTVBPTkVOVF9UWVBFX01FVEFMX0NPUkUQAhoOgrIZCm1ldGFsLWNvcmUSKwoYQ09NUE9ORU5UX1RZUEVfTUVUQUxfQk1DEAMaDYKyGQltZXRhbC1ibWMSRQolQ09NUE9ORU5UX1RZUEVfTUVUQUxfSU1BR0VfQ0FDSEVfU1lOQxAEGhqCshkWbWV0YWwtaW1hZ2UtY2FjaGUtc3luYxIzChxDT01QT05FTlRfVFlQRV9NRVRBTF9DT05TT0xFEAUaEYKyGQ1tZXRhbC1jb25zb2xlEkUKJUNPTVBPTkVOVF9UWVBFX01FVEFMX01FVFJJQ1NfRVhQT1JURVIQBhoagrIZFm1ldGFsLW1ldHJpY3MtZXhwb3J0ZXJCxAEKFWNvbS5tZXRhbHN0YWNrLmFwaS52MkIOQ29tcG9uZW50UHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_duration, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_token, file_metalstack_api_v2_version]);
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Component represents a microservice connected to our apiserver
|
|
26
|
+
*
|
|
27
|
+
* @generated from message metalstack.api.v2.Component
|
|
28
|
+
*/
|
|
29
|
+
export type Component = Message<"metalstack.api.v2.Component"> & {
|
|
30
|
+
/**
|
|
31
|
+
* UUID identifies this component event
|
|
32
|
+
*
|
|
33
|
+
* @generated from field: string uuid = 1;
|
|
34
|
+
*/
|
|
35
|
+
uuid: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Type defines which service is actually pinging
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: metalstack.api.v2.ComponentType type = 2;
|
|
41
|
+
*/
|
|
42
|
+
type: ComponentType;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Identifier is a unique identifier of this service, e.g. if two instance are running, this might be the pod id.
|
|
46
|
+
* micro_service and identifier guarantee uniqueness.
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: string identifier = 3;
|
|
49
|
+
*/
|
|
50
|
+
identifier: string;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* StartedAt is the timestamp this service was started
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: google.protobuf.Timestamp started_at = 4;
|
|
56
|
+
*/
|
|
57
|
+
startedAt?: Timestamp;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* ReportedAt is the timestamp this service sent this ping.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: google.protobuf.Timestamp reported_at = 5;
|
|
63
|
+
*/
|
|
64
|
+
reportedAt?: Timestamp;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Interval at which the ping is scheduled.
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: google.protobuf.Duration interval = 6;
|
|
70
|
+
*/
|
|
71
|
+
interval?: Duration;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Version of this service
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: metalstack.api.v2.Version version = 7;
|
|
77
|
+
*/
|
|
78
|
+
version?: Version;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Token is the token which is actually used by this microservice.
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: metalstack.api.v2.Token token = 8;
|
|
84
|
+
*/
|
|
85
|
+
token?: Token;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Describes the message metalstack.api.v2.Component.
|
|
90
|
+
* Use `create(ComponentSchema)` to create a new message.
|
|
91
|
+
*/
|
|
92
|
+
export const ComponentSchema: GenMessage<Component> = /*@__PURE__*/
|
|
93
|
+
messageDesc(file_metalstack_api_v2_component, 0);
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* ComponentQuery to query components
|
|
97
|
+
*
|
|
98
|
+
* @generated from message metalstack.api.v2.ComponentQuery
|
|
99
|
+
*/
|
|
100
|
+
export type ComponentQuery = Message<"metalstack.api.v2.ComponentQuery"> & {
|
|
101
|
+
/**
|
|
102
|
+
* UUID identifies this component
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: optional string uuid = 1;
|
|
105
|
+
*/
|
|
106
|
+
uuid?: string;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Type defines which service is actually pinging
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: optional metalstack.api.v2.ComponentType type = 2;
|
|
112
|
+
*/
|
|
113
|
+
type?: ComponentType;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Identifier is a unique identifier of this service, e.g. if two instance are running, this might be the pod id.
|
|
117
|
+
* micro_service and identifier guarantee uniqueness.
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: optional string identifier = 3;
|
|
120
|
+
*/
|
|
121
|
+
identifier?: string;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Describes the message metalstack.api.v2.ComponentQuery.
|
|
126
|
+
* Use `create(ComponentQuerySchema)` to create a new message.
|
|
127
|
+
*/
|
|
128
|
+
export const ComponentQuerySchema: GenMessage<ComponentQuery> = /*@__PURE__*/
|
|
129
|
+
messageDesc(file_metalstack_api_v2_component, 1);
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* ComponentType defines which service is actually pinging
|
|
133
|
+
*
|
|
134
|
+
* @generated from enum metalstack.api.v2.ComponentType
|
|
135
|
+
*/
|
|
136
|
+
export enum ComponentType {
|
|
137
|
+
/**
|
|
138
|
+
* COMPONENT_TYPE_UNSPECIFIED is unspecified
|
|
139
|
+
*
|
|
140
|
+
* @generated from enum value: COMPONENT_TYPE_UNSPECIFIED = 0;
|
|
141
|
+
*/
|
|
142
|
+
UNSPECIFIED = 0,
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* COMPONENT_TYPE_PIXIECORE is pixiecore
|
|
146
|
+
*
|
|
147
|
+
* @generated from enum value: COMPONENT_TYPE_PIXIECORE = 1;
|
|
148
|
+
*/
|
|
149
|
+
PIXIECORE = 1,
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* COMPONENT_TYPE_METAL_CORE is metal-core
|
|
153
|
+
*
|
|
154
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_CORE = 2;
|
|
155
|
+
*/
|
|
156
|
+
METAL_CORE = 2,
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* COMPONENT_TYPE_METAL_BMC is metal-bmc
|
|
160
|
+
*
|
|
161
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_BMC = 3;
|
|
162
|
+
*/
|
|
163
|
+
METAL_BMC = 3,
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync
|
|
167
|
+
*
|
|
168
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC = 4;
|
|
169
|
+
*/
|
|
170
|
+
METAL_IMAGE_CACHE_SYNC = 4,
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* COMPONENT_TYPE_METAL_CONSOLE is metal-console
|
|
174
|
+
*
|
|
175
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_CONSOLE = 5;
|
|
176
|
+
*/
|
|
177
|
+
METAL_CONSOLE = 5,
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter
|
|
181
|
+
*
|
|
182
|
+
* @generated from enum value: COMPONENT_TYPE_METAL_METRICS_EXPORTER = 6;
|
|
183
|
+
*/
|
|
184
|
+
METAL_METRICS_EXPORTER = 6,
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Describes the enum metalstack.api.v2.ComponentType.
|
|
189
|
+
*/
|
|
190
|
+
export const ComponentTypeSchema: GenEnum<ComponentType> = /*@__PURE__*/
|
|
191
|
+
enumDesc(file_metalstack_api_v2_component, 0);
|
|
192
|
+
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
// @generated from file metalstack/api/v2/version.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
5
6
|
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
7
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
6
8
|
/**
|
|
7
9
|
* Describes the file metalstack/api/v2/version.proto.
|
|
8
10
|
*/
|
|
9
|
-
export const file_metalstack_api_v2_version = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_metalstack_api_v2_version = /*@__PURE__*/ fileDesc("Ch9tZXRhbHN0YWNrL2FwaS92Mi92ZXJzaW9uLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiKGAQoHVmVyc2lvbhIcCgd2ZXJzaW9uGAEgASgJQgu6SAhyBsizrrECARIdCghyZXZpc2lvbhgCIAEoCUILukgIcgbIs66xAgESHQoIZ2l0X3NoYTEYAyABKAlCC7pICHIGyLOusQIBEh8KCmJ1aWxkX2RhdGUYBCABKAlCC7pICHIGyLOusQIBIhoKGFZlcnNpb25TZXJ2aWNlR2V0UmVxdWVzdCJIChlWZXJzaW9uU2VydmljZUdldFJlc3BvbnNlEisKB3ZlcnNpb24YASABKAsyGi5tZXRhbHN0YWNrLmFwaS52Mi5WZXJzaW9uMnwKDlZlcnNpb25TZXJ2aWNlEmoKA0dldBIrLm1ldGFsc3RhY2suYXBpLnYyLlZlcnNpb25TZXJ2aWNlR2V0UmVxdWVzdBosLm1ldGFsc3RhY2suYXBpLnYyLlZlcnNpb25TZXJ2aWNlR2V0UmVzcG9uc2UiCNjzGAHg8xgCQsIBChVjb20ubWV0YWxzdGFjay5hcGkudjJCDFZlcnNpb25Qcm90b1ABWjVnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FwaS92MjthcGl2MqICA01BWKoCEU1ldGFsc3RhY2suQXBpLlYyygIRTWV0YWxzdGFja1xBcGlcVjLiAh1NZXRhbHN0YWNrXEFwaVxWMlxHUEJNZXRhZGF0YeoCE01ldGFsc3RhY2s6OkFwaTo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
|
|
10
12
|
/**
|
|
11
13
|
* Describes the message metalstack.api.v2.Version.
|
|
12
14
|
* Use `create(VersionSchema)` to create a new message.
|
|
@@ -4,14 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
7
8
|
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
9
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
8
10
|
import type { Message } from "@bufbuild/protobuf";
|
|
9
11
|
|
|
10
12
|
/**
|
|
11
13
|
* Describes the file metalstack/api/v2/version.proto.
|
|
12
14
|
*/
|
|
13
15
|
export const file_metalstack_api_v2_version: GenFile = /*@__PURE__*/
|
|
14
|
-
fileDesc("
|
|
16
|
+
fileDesc("Ch9tZXRhbHN0YWNrL2FwaS92Mi92ZXJzaW9uLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiKGAQoHVmVyc2lvbhIcCgd2ZXJzaW9uGAEgASgJQgu6SAhyBsizrrECARIdCghyZXZpc2lvbhgCIAEoCUILukgIcgbIs66xAgESHQoIZ2l0X3NoYTEYAyABKAlCC7pICHIGyLOusQIBEh8KCmJ1aWxkX2RhdGUYBCABKAlCC7pICHIGyLOusQIBIhoKGFZlcnNpb25TZXJ2aWNlR2V0UmVxdWVzdCJIChlWZXJzaW9uU2VydmljZUdldFJlc3BvbnNlEisKB3ZlcnNpb24YASABKAsyGi5tZXRhbHN0YWNrLmFwaS52Mi5WZXJzaW9uMnwKDlZlcnNpb25TZXJ2aWNlEmoKA0dldBIrLm1ldGFsc3RhY2suYXBpLnYyLlZlcnNpb25TZXJ2aWNlR2V0UmVxdWVzdBosLm1ldGFsc3RhY2suYXBpLnYyLlZlcnNpb25TZXJ2aWNlR2V0UmVzcG9uc2UiCNjzGAHg8xgCQsIBChVjb20ubWV0YWxzdGFjay5hcGkudjJCDFZlcnNpb25Qcm90b1ABWjVnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FwaS92MjthcGl2MqICA01BWKoCEU1ldGFsc3RhY2suQXBpLlYyygIRTWV0YWxzdGFja1xBcGlcVjLiAh1NZXRhbHN0YWNrXEFwaVxWMlxHUEJNZXRhZGF0YeoCE01ldGFsc3RhY2s6OkFwaTo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
|
|
15
17
|
|
|
16
18
|
/**
|
|
17
19
|
* Version of the application
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { ComponentType } from "../../api/v2/component_pb";
|
|
4
|
+
import type { Version } from "../../api/v2/version_pb";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file metalstack/infra/v2/component.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_metalstack_infra_v2_component: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* ComponentServicePingRequest is sent from a microservice to report its state regularly
|
|
12
|
+
*
|
|
13
|
+
* @generated from message metalstack.infra.v2.ComponentServicePingRequest
|
|
14
|
+
*/
|
|
15
|
+
export type ComponentServicePingRequest = Message<"metalstack.infra.v2.ComponentServicePingRequest"> & {
|
|
16
|
+
/**
|
|
17
|
+
* Type defines which service is actually pinging
|
|
18
|
+
*
|
|
19
|
+
* @generated from field: metalstack.api.v2.ComponentType type = 1;
|
|
20
|
+
*/
|
|
21
|
+
type: ComponentType;
|
|
22
|
+
/**
|
|
23
|
+
* Identifier is a unique identifier of this service, e.g. if two instance are running, this might be the pod id.
|
|
24
|
+
* micro_service and identifier guarantee uniqueness.
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: string identifier = 2;
|
|
27
|
+
*/
|
|
28
|
+
identifier: string;
|
|
29
|
+
/**
|
|
30
|
+
* StartedAt is the timestamp this service was started.
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: google.protobuf.Timestamp started_at = 3;
|
|
33
|
+
*/
|
|
34
|
+
startedAt?: Timestamp;
|
|
35
|
+
/**
|
|
36
|
+
* Interval at which the ping is scheduled, must be between 5 seconds and 1 hour.
|
|
37
|
+
* Also gets validated in the same way in go/client/ping.go.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: google.protobuf.Duration interval = 4;
|
|
40
|
+
*/
|
|
41
|
+
interval?: Duration;
|
|
42
|
+
/**
|
|
43
|
+
* Version of this service
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: metalstack.api.v2.Version version = 5;
|
|
46
|
+
*/
|
|
47
|
+
version?: Version;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message metalstack.infra.v2.ComponentServicePingRequest.
|
|
51
|
+
* Use `create(ComponentServicePingRequestSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export declare const ComponentServicePingRequestSchema: GenMessage<ComponentServicePingRequest>;
|
|
54
|
+
/**
|
|
55
|
+
* ComponentServicePingResponse is the response to a ping request
|
|
56
|
+
*
|
|
57
|
+
* @generated from message metalstack.infra.v2.ComponentServicePingResponse
|
|
58
|
+
*/
|
|
59
|
+
export type ComponentServicePingResponse = Message<"metalstack.infra.v2.ComponentServicePingResponse"> & {};
|
|
60
|
+
/**
|
|
61
|
+
* Describes the message metalstack.infra.v2.ComponentServicePingResponse.
|
|
62
|
+
* Use `create(ComponentServicePingResponseSchema)` to create a new message.
|
|
63
|
+
*/
|
|
64
|
+
export declare const ComponentServicePingResponseSchema: GenMessage<ComponentServicePingResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* ComponentService serves component, e.g. microservices related functions.
|
|
67
|
+
*
|
|
68
|
+
* @generated from service metalstack.infra.v2.ComponentService
|
|
69
|
+
*/
|
|
70
|
+
export declare const ComponentService: GenService<{
|
|
71
|
+
/**
|
|
72
|
+
* Ping must be called from every connected microservice in a recurring manner
|
|
73
|
+
* to get visibility of all registered microservices.
|
|
74
|
+
*
|
|
75
|
+
* @generated from rpc metalstack.infra.v2.ComponentService.Ping
|
|
76
|
+
*/
|
|
77
|
+
ping: {
|
|
78
|
+
methodKind: "unary";
|
|
79
|
+
input: typeof ComponentServicePingRequestSchema;
|
|
80
|
+
output: typeof ComponentServicePingResponseSchema;
|
|
81
|
+
};
|
|
82
|
+
}>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/infra/v2/component.proto (package metalstack.infra.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_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
8
|
+
import { file_metalstack_api_v2_component } from "../../api/v2/component_pb";
|
|
9
|
+
import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
|
|
10
|
+
import { file_metalstack_api_v2_version } from "../../api/v2/version_pb";
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file metalstack/infra/v2/component.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_metalstack_infra_v2_component = /*@__PURE__*/ fileDesc("CiNtZXRhbHN0YWNrL2luZnJhL3YyL2NvbXBvbmVudC5wcm90bxITbWV0YWxzdGFjay5pbmZyYS52MiKdAgobQ29tcG9uZW50U2VydmljZVBpbmdSZXF1ZXN0EjgKBHR5cGUYASABKA4yIC5tZXRhbHN0YWNrLmFwaS52Mi5Db21wb25lbnRUeXBlQgi6SAWCAQIQARIfCgppZGVudGlmaWVyGAIgASgJQgu6SAhyBsCzrrECARI4CgpzdGFydGVkX2F0GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEIIukgFsgECOAESPAoIaW50ZXJ2YWwYBCABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25CD7pIDKoBCSIDCJAcMgIIBRIrCgd2ZXJzaW9uGAUgASgLMhoubWV0YWxzdGFjay5hcGkudjIuVmVyc2lvbiIeChxDb21wb25lbnRTZXJ2aWNlUGluZ1Jlc3BvbnNlMooBChBDb21wb25lbnRTZXJ2aWNlEnYKBFBpbmcSMC5tZXRhbHN0YWNrLmluZnJhLnYyLkNvbXBvbmVudFNlcnZpY2VQaW5nUmVxdWVzdBoxLm1ldGFsc3RhY2suaW5mcmEudjIuQ29tcG9uZW50U2VydmljZVBpbmdSZXNwb25zZSIJ4PMYAurzGAEBQtIBChdjb20ubWV0YWxzdGFjay5pbmZyYS52MkIOQ29tcG9uZW50UHJvdG9QAVo5Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9pbmZyYS92MjtpbmZyYXYyogIDTUlYqgITTWV0YWxzdGFjay5JbmZyYS5WMsoCE01ldGFsc3RhY2tcSW5mcmFcVjLiAh9NZXRhbHN0YWNrXEluZnJhXFYyXEdQQk1ldGFkYXRh6gIVTWV0YWxzdGFjazo6SW5mcmE6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_duration, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_component, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_version]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message metalstack.infra.v2.ComponentServicePingRequest.
|
|
17
|
+
* Use `create(ComponentServicePingRequestSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const ComponentServicePingRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_component, 0);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message metalstack.infra.v2.ComponentServicePingResponse.
|
|
22
|
+
* Use `create(ComponentServicePingResponseSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const ComponentServicePingResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_component, 1);
|
|
25
|
+
/**
|
|
26
|
+
* ComponentService serves component, e.g. microservices related functions.
|
|
27
|
+
*
|
|
28
|
+
* @generated from service metalstack.infra.v2.ComponentService
|
|
29
|
+
*/
|
|
30
|
+
export const ComponentService = /*@__PURE__*/ serviceDesc(file_metalstack_infra_v2_component, 0);
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/infra/v2/component.proto (package metalstack.infra.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 type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
11
|
+
import type { ComponentType } from "../../api/v2/component_pb";
|
|
12
|
+
import { file_metalstack_api_v2_component } from "../../api/v2/component_pb";
|
|
13
|
+
import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
|
|
14
|
+
import type { Version } from "../../api/v2/version_pb";
|
|
15
|
+
import { file_metalstack_api_v2_version } from "../../api/v2/version_pb";
|
|
16
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Describes the file metalstack/infra/v2/component.proto.
|
|
20
|
+
*/
|
|
21
|
+
export const file_metalstack_infra_v2_component: GenFile = /*@__PURE__*/
|
|
22
|
+
fileDesc("CiNtZXRhbHN0YWNrL2luZnJhL3YyL2NvbXBvbmVudC5wcm90bxITbWV0YWxzdGFjay5pbmZyYS52MiKdAgobQ29tcG9uZW50U2VydmljZVBpbmdSZXF1ZXN0EjgKBHR5cGUYASABKA4yIC5tZXRhbHN0YWNrLmFwaS52Mi5Db21wb25lbnRUeXBlQgi6SAWCAQIQARIfCgppZGVudGlmaWVyGAIgASgJQgu6SAhyBsCzrrECARI4CgpzdGFydGVkX2F0GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEIIukgFsgECOAESPAoIaW50ZXJ2YWwYBCABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25CD7pIDKoBCSIDCJAcMgIIBRIrCgd2ZXJzaW9uGAUgASgLMhoubWV0YWxzdGFjay5hcGkudjIuVmVyc2lvbiIeChxDb21wb25lbnRTZXJ2aWNlUGluZ1Jlc3BvbnNlMooBChBDb21wb25lbnRTZXJ2aWNlEnYKBFBpbmcSMC5tZXRhbHN0YWNrLmluZnJhLnYyLkNvbXBvbmVudFNlcnZpY2VQaW5nUmVxdWVzdBoxLm1ldGFsc3RhY2suaW5mcmEudjIuQ29tcG9uZW50U2VydmljZVBpbmdSZXNwb25zZSIJ4PMYAurzGAEBQtIBChdjb20ubWV0YWxzdGFjay5pbmZyYS52MkIOQ29tcG9uZW50UHJvdG9QAVo5Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9pbmZyYS92MjtpbmZyYXYyogIDTUlYqgITTWV0YWxzdGFjay5JbmZyYS5WMsoCE01ldGFsc3RhY2tcSW5mcmFcVjLiAh9NZXRhbHN0YWNrXEluZnJhXFYyXEdQQk1ldGFkYXRh6gIVTWV0YWxzdGFjazo6SW5mcmE6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_duration, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_component, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_version]);
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* ComponentServicePingRequest is sent from a microservice to report its state regularly
|
|
26
|
+
*
|
|
27
|
+
* @generated from message metalstack.infra.v2.ComponentServicePingRequest
|
|
28
|
+
*/
|
|
29
|
+
export type ComponentServicePingRequest = Message<"metalstack.infra.v2.ComponentServicePingRequest"> & {
|
|
30
|
+
/**
|
|
31
|
+
* Type defines which service is actually pinging
|
|
32
|
+
*
|
|
33
|
+
* @generated from field: metalstack.api.v2.ComponentType type = 1;
|
|
34
|
+
*/
|
|
35
|
+
type: ComponentType;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Identifier is a unique identifier of this service, e.g. if two instance are running, this might be the pod id.
|
|
39
|
+
* micro_service and identifier guarantee uniqueness.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: string identifier = 2;
|
|
42
|
+
*/
|
|
43
|
+
identifier: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* StartedAt is the timestamp this service was started.
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: google.protobuf.Timestamp started_at = 3;
|
|
49
|
+
*/
|
|
50
|
+
startedAt?: Timestamp;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Interval at which the ping is scheduled, must be between 5 seconds and 1 hour.
|
|
54
|
+
* Also gets validated in the same way in go/client/ping.go.
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: google.protobuf.Duration interval = 4;
|
|
57
|
+
*/
|
|
58
|
+
interval?: Duration;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Version of this service
|
|
62
|
+
*
|
|
63
|
+
* @generated from field: metalstack.api.v2.Version version = 5;
|
|
64
|
+
*/
|
|
65
|
+
version?: Version;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message metalstack.infra.v2.ComponentServicePingRequest.
|
|
70
|
+
* Use `create(ComponentServicePingRequestSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export const ComponentServicePingRequestSchema: GenMessage<ComponentServicePingRequest> = /*@__PURE__*/
|
|
73
|
+
messageDesc(file_metalstack_infra_v2_component, 0);
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* ComponentServicePingResponse is the response to a ping request
|
|
77
|
+
*
|
|
78
|
+
* @generated from message metalstack.infra.v2.ComponentServicePingResponse
|
|
79
|
+
*/
|
|
80
|
+
export type ComponentServicePingResponse = Message<"metalstack.infra.v2.ComponentServicePingResponse"> & {
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message metalstack.infra.v2.ComponentServicePingResponse.
|
|
85
|
+
* Use `create(ComponentServicePingResponseSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
export const ComponentServicePingResponseSchema: GenMessage<ComponentServicePingResponse> = /*@__PURE__*/
|
|
88
|
+
messageDesc(file_metalstack_infra_v2_component, 1);
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* ComponentService serves component, e.g. microservices related functions.
|
|
92
|
+
*
|
|
93
|
+
* @generated from service metalstack.infra.v2.ComponentService
|
|
94
|
+
*/
|
|
95
|
+
export const ComponentService: GenService<{
|
|
96
|
+
/**
|
|
97
|
+
* Ping must be called from every connected microservice in a recurring manner
|
|
98
|
+
* to get visibility of all registered microservices.
|
|
99
|
+
*
|
|
100
|
+
* @generated from rpc metalstack.infra.v2.ComponentService.Ping
|
|
101
|
+
*/
|
|
102
|
+
ping: {
|
|
103
|
+
methodKind: "unary";
|
|
104
|
+
input: typeof ComponentServicePingRequestSchema;
|
|
105
|
+
output: typeof ComponentServicePingResponseSchema;
|
|
106
|
+
},
|
|
107
|
+
}> = /*@__PURE__*/
|
|
108
|
+
serviceDesc(file_metalstack_infra_v2_component, 0);
|
|
109
|
+
|
package/package.json
CHANGED