@raystack/proton 0.1.0-ce225175aa066e6f296bc489293bb83ed0edcef6
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/google/api/annotations_pb.ts +33 -0
- package/google/api/field_behavior.ts +95 -0
- package/google/api/field_behavior_pb.ts +139 -0
- package/google/api/http.ts +695 -0
- package/google/api/http_pb.ts +547 -0
- package/google/api/httpbody.ts +159 -0
- package/google/api/httpbody_pb.ts +122 -0
- package/google/protobuf/any.ts +322 -0
- package/google/protobuf/descriptor.ts +3475 -0
- package/google/protobuf/duration.ts +231 -0
- package/google/protobuf/struct.ts +484 -0
- package/google/protobuf/timestamp.ts +290 -0
- package/google/protobuf/wrappers.ts +752 -0
- package/package.json +47 -0
- package/protoc-gen-openapiv2/options/annotations_pb.ts +78 -0
- package/protoc-gen-openapiv2/options/openapiv2.ts +3110 -0
- package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1995 -0
- package/raystack/assets/index.ts +29 -0
- package/raystack/assets/v1beta1/bucket.ts +362 -0
- package/raystack/assets/v1beta1/bucket_pb.ts +233 -0
- package/raystack/assets/v1beta1/dashboard.ts +426 -0
- package/raystack/assets/v1beta1/dashboard_pb.ts +275 -0
- package/raystack/assets/v1beta1/event.ts +105 -0
- package/raystack/assets/v1beta1/event_pb.ts +70 -0
- package/raystack/assets/v1beta1/group.ts +223 -0
- package/raystack/assets/v1beta1/group_pb.ts +149 -0
- package/raystack/assets/v1beta1/job.ts +147 -0
- package/raystack/assets/v1beta1/job_pb.ts +100 -0
- package/raystack/assets/v1beta1/lineage.ts +90 -0
- package/raystack/assets/v1beta1/lineage_pb.ts +61 -0
- package/raystack/assets/v1beta1/ownership.ts +179 -0
- package/raystack/assets/v1beta1/ownership_pb.ts +119 -0
- package/raystack/assets/v1beta1/preview.ts +87 -0
- package/raystack/assets/v1beta1/preview_pb.ts +58 -0
- package/raystack/assets/v1beta1/properties.ts +116 -0
- package/raystack/assets/v1beta1/properties_pb.ts +63 -0
- package/raystack/assets/v1beta1/resource.ts +149 -0
- package/raystack/assets/v1beta1/resource_pb.ts +96 -0
- package/raystack/assets/v1beta1/schema.ts +421 -0
- package/raystack/assets/v1beta1/schema_pb.ts +262 -0
- package/raystack/assets/v1beta1/table.ts +408 -0
- package/raystack/assets/v1beta1/table_pb.ts +266 -0
- package/raystack/assets/v1beta1/timestamp.ts +158 -0
- package/raystack/assets/v1beta1/timestamp_pb.ts +107 -0
- package/raystack/assets/v1beta1/topic.ts +253 -0
- package/raystack/assets/v1beta1/topic_pb.ts +171 -0
- package/raystack/assets/v1beta1/user.ts +451 -0
- package/raystack/assets/v1beta1/user_pb.ts +292 -0
- package/raystack/assets/v1beta2/application.ts +125 -0
- package/raystack/assets/v1beta2/application_pb.ts +79 -0
- package/raystack/assets/v1beta2/asset.ts +269 -0
- package/raystack/assets/v1beta2/asset_pb.ts +157 -0
- package/raystack/assets/v1beta2/bucket.ts +341 -0
- package/raystack/assets/v1beta2/bucket_pb.ts +215 -0
- package/raystack/assets/v1beta2/common.ts +392 -0
- package/raystack/assets/v1beta2/common_pb.ts +258 -0
- package/raystack/assets/v1beta2/dashboard.ts +393 -0
- package/raystack/assets/v1beta2/dashboard_pb.ts +247 -0
- package/raystack/assets/v1beta2/experiment.ts +274 -0
- package/raystack/assets/v1beta2/experiment_pb.ts +180 -0
- package/raystack/assets/v1beta2/feature_table.ts +387 -0
- package/raystack/assets/v1beta2/feature_table_pb.ts +237 -0
- package/raystack/assets/v1beta2/group.ts +178 -0
- package/raystack/assets/v1beta2/group_pb.ts +118 -0
- package/raystack/assets/v1beta2/job.ts +99 -0
- package/raystack/assets/v1beta2/job_pb.ts +65 -0
- package/raystack/assets/v1beta2/metric.ts +163 -0
- package/raystack/assets/v1beta2/metric_pb.ts +105 -0
- package/raystack/assets/v1beta2/model.ts +519 -0
- package/raystack/assets/v1beta2/model_pb.ts +322 -0
- package/raystack/assets/v1beta2/table.ts +663 -0
- package/raystack/assets/v1beta2/table_pb.ts +409 -0
- package/raystack/assets/v1beta2/topic.ts +275 -0
- package/raystack/assets/v1beta2/topic_pb.ts +181 -0
- package/raystack/assets/v1beta2/user.ts +433 -0
- package/raystack/assets/v1beta2/user_pb.ts +277 -0
- package/raystack/common/index.ts +3 -0
- package/raystack/common/v1/service-CommonService_connectquery.ts +21 -0
- package/raystack/common/v1/service.client.ts +37 -0
- package/raystack/common/v1/service.ts +245 -0
- package/raystack/common/v1/service_connect.ts +26 -0
- package/raystack/common/v1/service_pb.ts +149 -0
- package/raystack/compass/index.ts +3 -0
- package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +605 -0
- package/raystack/compass/v1beta1/service.client.ts +594 -0
- package/raystack/compass/v1beta1/service.ts +8169 -0
- package/raystack/compass/v1beta1/service_connect.ts +407 -0
- package/raystack/compass/v1beta1/service_pb.ts +4975 -0
- package/raystack/entropy/index.ts +6 -0
- package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +77 -0
- package/raystack/entropy/v1beta1/module.client.ts +89 -0
- package/raystack/entropy/v1beta1/module.ts +692 -0
- package/raystack/entropy/v1beta1/module_connect.ts +62 -0
- package/raystack/entropy/v1beta1/module_pb.ts +445 -0
- package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +105 -0
- package/raystack/entropy/v1beta1/resource.client.ts +129 -0
- package/raystack/entropy/v1beta1/resource.ts +1817 -0
- package/raystack/entropy/v1beta1/resource_connect.ts +89 -0
- package/raystack/entropy/v1beta1/resource_pb.ts +1092 -0
- package/raystack/frontier/index.ts +7 -0
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +756 -0
- package/raystack/frontier/v1beta1/admin.client.ts +849 -0
- package/raystack/frontier/v1beta1/admin.ts +9007 -0
- package/raystack/frontier/v1beta1/admin_connect.ts +573 -0
- package/raystack/frontier/v1beta1/admin_pb.ts +5615 -0
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +2399 -0
- package/raystack/frontier/v1beta1/frontier.client.ts +2307 -0
- package/raystack/frontier/v1beta1/frontier.ts +23706 -0
- package/raystack/frontier/v1beta1/frontier_connect.ts +1574 -0
- package/raystack/frontier/v1beta1/frontier_pb.ts +15258 -0
- package/raystack/frontier/v1beta1/models.ts +7433 -0
- package/raystack/frontier/v1beta1/models_pb.ts +4345 -0
- package/raystack/guardian/index.ts +3 -0
- package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +569 -0
- package/raystack/guardian/v1beta1/guardian.client.ts +552 -0
- package/raystack/guardian/v1beta1/guardian.ts +9688 -0
- package/raystack/guardian/v1beta1/guardian_connect.ts +381 -0
- package/raystack/guardian/v1beta1/guardian_pb.ts +5858 -0
- package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +49 -0
- package/raystack/optimus/core/v1beta1/backup.client.ts +63 -0
- package/raystack/optimus/core/v1beta1/backup.ts +708 -0
- package/raystack/optimus/core/v1beta1/backup_connect.ts +44 -0
- package/raystack/optimus/core/v1beta1/backup_pb.ts +406 -0
- package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +71 -0
- package/raystack/optimus/core/v1beta1/job_run.client.ts +96 -0
- package/raystack/optimus/core/v1beta1/job_run.ts +1008 -0
- package/raystack/optimus/core/v1beta1/job_run_connect.ts +63 -0
- package/raystack/optimus/core/v1beta1/job_run_pb.ts +612 -0
- package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +249 -0
- package/raystack/optimus/core/v1beta1/job_spec.client.ts +363 -0
- package/raystack/optimus/core/v1beta1/job_spec.ts +5134 -0
- package/raystack/optimus/core/v1beta1/job_spec_connect.ts +233 -0
- package/raystack/optimus/core/v1beta1/job_spec_pb.ts +3196 -0
- package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +55 -0
- package/raystack/optimus/core/v1beta1/namespace.client.ts +75 -0
- package/raystack/optimus/core/v1beta1/namespace.ts +477 -0
- package/raystack/optimus/core/v1beta1/namespace_connect.ts +50 -0
- package/raystack/optimus/core/v1beta1/namespace_pb.ts +291 -0
- package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +55 -0
- package/raystack/optimus/core/v1beta1/project.client.ts +75 -0
- package/raystack/optimus/core/v1beta1/project.ts +520 -0
- package/raystack/optimus/core/v1beta1/project_connect.ts +50 -0
- package/raystack/optimus/core/v1beta1/project_pb.ts +322 -0
- package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +63 -0
- package/raystack/optimus/core/v1beta1/replay.client.ts +76 -0
- package/raystack/optimus/core/v1beta1/replay.ts +881 -0
- package/raystack/optimus/core/v1beta1/replay_connect.ts +53 -0
- package/raystack/optimus/core/v1beta1/replay_pb.ts +522 -0
- package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +104 -0
- package/raystack/optimus/core/v1beta1/resource.client.ts +148 -0
- package/raystack/optimus/core/v1beta1/resource.ts +1329 -0
- package/raystack/optimus/core/v1beta1/resource_connect.ts +96 -0
- package/raystack/optimus/core/v1beta1/resource_pb.ts +791 -0
- package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +23 -0
- package/raystack/optimus/core/v1beta1/runtime.client.ts +45 -0
- package/raystack/optimus/core/v1beta1/runtime.ts +131 -0
- package/raystack/optimus/core/v1beta1/runtime_connect.ts +30 -0
- package/raystack/optimus/core/v1beta1/runtime_pb.ts +82 -0
- package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +71 -0
- package/raystack/optimus/core/v1beta1/secret.client.ts +92 -0
- package/raystack/optimus/core/v1beta1/secret.ts +619 -0
- package/raystack/optimus/core/v1beta1/secret_connect.ts +61 -0
- package/raystack/optimus/core/v1beta1/secret_pb.ts +393 -0
- package/raystack/optimus/core/v1beta1/status.ts +113 -0
- package/raystack/optimus/core/v1beta1/status_pb.ts +101 -0
- package/raystack/optimus/integration/v1beta1/event.ts +531 -0
- package/raystack/optimus/integration/v1beta1/event_pb.ts +362 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +72 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +100 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +950 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +65 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +604 -0
- package/raystack/predator/index.ts +2 -0
- package/raystack/predator/v1beta1/metrics_log.ts +457 -0
- package/raystack/predator/v1beta1/metrics_log_pb.ts +277 -0
- package/raystack/predator/v1beta1/result_log.ts +390 -0
- package/raystack/predator/v1beta1/result_log_pb.ts +235 -0
- package/raystack/raccoon/index.ts +3 -0
- package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +21 -0
- package/raystack/raccoon/v1beta1/raccoon.client.ts +37 -0
- package/raystack/raccoon/v1beta1/raccoon.ts +442 -0
- package/raystack/raccoon/v1beta1/raccoon_connect.ts +26 -0
- package/raystack/raccoon/v1beta1/raccoon_pb.ts +324 -0
- package/raystack/siren/index.ts +3 -0
- package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +497 -0
- package/raystack/siren/v1beta1/siren.client.ts +479 -0
- package/raystack/siren/v1beta1/siren.ts +6507 -0
- package/raystack/siren/v1beta1/siren_connect.ts +332 -0
- package/raystack/siren/v1beta1/siren_pb.ts +3853 -0
- package/raystack/stencil/index.ts +3 -0
- package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +231 -0
- package/raystack/stencil/v1beta1/stencil.client.ts +232 -0
- package/raystack/stencil/v1beta1/stencil.ts +2716 -0
- package/raystack/stencil/v1beta1/stencil_connect.ts +161 -0
- package/raystack/stencil/v1beta1/stencil_pb.ts +1729 -0
- package/validate/validate.ts +4130 -0
- package/validate/validate_pb.ts +2621 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file raystack/optimus/core/v1beta1/replay.proto (package raystack.optimus.core.v1beta1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetReplayRequest, GetReplayResponse, ListReplayRequest, ListReplayResponse, ReplayDryRunRequest, ReplayDryRunResponse, ReplayRequest, ReplayResponse } from "./replay_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service raystack.optimus.core.v1beta1.ReplayService
|
|
11
|
+
*/
|
|
12
|
+
export const ReplayService = {
|
|
13
|
+
typeName: "raystack.optimus.core.v1beta1.ReplayService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ReplayService.Replay
|
|
17
|
+
*/
|
|
18
|
+
replay: {
|
|
19
|
+
name: "Replay",
|
|
20
|
+
I: ReplayRequest,
|
|
21
|
+
O: ReplayResponse,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ReplayService.ReplayDryRun
|
|
26
|
+
*/
|
|
27
|
+
replayDryRun: {
|
|
28
|
+
name: "ReplayDryRun",
|
|
29
|
+
I: ReplayDryRunRequest,
|
|
30
|
+
O: ReplayDryRunResponse,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ReplayService.ListReplay
|
|
35
|
+
*/
|
|
36
|
+
listReplay: {
|
|
37
|
+
name: "ListReplay",
|
|
38
|
+
I: ListReplayRequest,
|
|
39
|
+
O: ListReplayResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ReplayService.GetReplay
|
|
44
|
+
*/
|
|
45
|
+
getReplay: {
|
|
46
|
+
name: "GetReplay",
|
|
47
|
+
I: GetReplayRequest,
|
|
48
|
+
O: GetReplayResponse,
|
|
49
|
+
kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
}
|
|
52
|
+
} as const;
|
|
53
|
+
|
|
@@ -0,0 +1,522 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
|
|
2
|
+
// @generated from file raystack/optimus/core/v1beta1/replay.proto (package raystack.optimus.core.v1beta1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
+
import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message raystack.optimus.core.v1beta1.ListReplayRequest
|
|
11
|
+
*/
|
|
12
|
+
export class ListReplayRequest extends Message<ListReplayRequest> {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string project_name = 1;
|
|
15
|
+
*/
|
|
16
|
+
projectName = "";
|
|
17
|
+
|
|
18
|
+
constructor(data?: PartialMessage<ListReplayRequest>) {
|
|
19
|
+
super();
|
|
20
|
+
proto3.util.initPartial(data, this);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
24
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ListReplayRequest";
|
|
25
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
26
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
27
|
+
]);
|
|
28
|
+
|
|
29
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListReplayRequest {
|
|
30
|
+
return new ListReplayRequest().fromBinary(bytes, options);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListReplayRequest {
|
|
34
|
+
return new ListReplayRequest().fromJson(jsonValue, options);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListReplayRequest {
|
|
38
|
+
return new ListReplayRequest().fromJsonString(jsonString, options);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static equals(a: ListReplayRequest | PlainMessage<ListReplayRequest> | undefined, b: ListReplayRequest | PlainMessage<ListReplayRequest> | undefined): boolean {
|
|
42
|
+
return proto3.util.equals(ListReplayRequest, a, b);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @generated from message raystack.optimus.core.v1beta1.ListReplayResponse
|
|
48
|
+
*/
|
|
49
|
+
export class ListReplayResponse extends Message<ListReplayResponse> {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.GetReplayResponse replays = 1;
|
|
52
|
+
*/
|
|
53
|
+
replays: GetReplayResponse[] = [];
|
|
54
|
+
|
|
55
|
+
constructor(data?: PartialMessage<ListReplayResponse>) {
|
|
56
|
+
super();
|
|
57
|
+
proto3.util.initPartial(data, this);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
61
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ListReplayResponse";
|
|
62
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
63
|
+
{ no: 1, name: "replays", kind: "message", T: GetReplayResponse, repeated: true },
|
|
64
|
+
]);
|
|
65
|
+
|
|
66
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListReplayResponse {
|
|
67
|
+
return new ListReplayResponse().fromBinary(bytes, options);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListReplayResponse {
|
|
71
|
+
return new ListReplayResponse().fromJson(jsonValue, options);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListReplayResponse {
|
|
75
|
+
return new ListReplayResponse().fromJsonString(jsonString, options);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
static equals(a: ListReplayResponse | PlainMessage<ListReplayResponse> | undefined, b: ListReplayResponse | PlainMessage<ListReplayResponse> | undefined): boolean {
|
|
79
|
+
return proto3.util.equals(ListReplayResponse, a, b);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from message raystack.optimus.core.v1beta1.GetReplayRequest
|
|
85
|
+
*/
|
|
86
|
+
export class GetReplayRequest extends Message<GetReplayRequest> {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: string replay_id = 1;
|
|
89
|
+
*/
|
|
90
|
+
replayId = "";
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @generated from field: string project_name = 2;
|
|
94
|
+
*/
|
|
95
|
+
projectName = "";
|
|
96
|
+
|
|
97
|
+
constructor(data?: PartialMessage<GetReplayRequest>) {
|
|
98
|
+
super();
|
|
99
|
+
proto3.util.initPartial(data, this);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
103
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetReplayRequest";
|
|
104
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
105
|
+
{ no: 1, name: "replay_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
106
|
+
{ no: 2, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
107
|
+
]);
|
|
108
|
+
|
|
109
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetReplayRequest {
|
|
110
|
+
return new GetReplayRequest().fromBinary(bytes, options);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetReplayRequest {
|
|
114
|
+
return new GetReplayRequest().fromJson(jsonValue, options);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetReplayRequest {
|
|
118
|
+
return new GetReplayRequest().fromJsonString(jsonString, options);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
static equals(a: GetReplayRequest | PlainMessage<GetReplayRequest> | undefined, b: GetReplayRequest | PlainMessage<GetReplayRequest> | undefined): boolean {
|
|
122
|
+
return proto3.util.equals(GetReplayRequest, a, b);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from message raystack.optimus.core.v1beta1.GetReplayResponse
|
|
128
|
+
*/
|
|
129
|
+
export class GetReplayResponse extends Message<GetReplayResponse> {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: string id = 1;
|
|
132
|
+
*/
|
|
133
|
+
id = "";
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: string job_name = 2;
|
|
137
|
+
*/
|
|
138
|
+
jobName = "";
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: string status = 3;
|
|
142
|
+
*/
|
|
143
|
+
status = "";
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: raystack.optimus.core.v1beta1.ReplayConfig replay_config = 4;
|
|
147
|
+
*/
|
|
148
|
+
replayConfig?: ReplayConfig;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.ReplayRun replay_runs = 5;
|
|
152
|
+
*/
|
|
153
|
+
replayRuns: ReplayRun[] = [];
|
|
154
|
+
|
|
155
|
+
constructor(data?: PartialMessage<GetReplayResponse>) {
|
|
156
|
+
super();
|
|
157
|
+
proto3.util.initPartial(data, this);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
161
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetReplayResponse";
|
|
162
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
163
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
164
|
+
{ no: 2, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
165
|
+
{ no: 3, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
166
|
+
{ no: 4, name: "replay_config", kind: "message", T: ReplayConfig },
|
|
167
|
+
{ no: 5, name: "replay_runs", kind: "message", T: ReplayRun, repeated: true },
|
|
168
|
+
]);
|
|
169
|
+
|
|
170
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetReplayResponse {
|
|
171
|
+
return new GetReplayResponse().fromBinary(bytes, options);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetReplayResponse {
|
|
175
|
+
return new GetReplayResponse().fromJson(jsonValue, options);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetReplayResponse {
|
|
179
|
+
return new GetReplayResponse().fromJsonString(jsonString, options);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
static equals(a: GetReplayResponse | PlainMessage<GetReplayResponse> | undefined, b: GetReplayResponse | PlainMessage<GetReplayResponse> | undefined): boolean {
|
|
183
|
+
return proto3.util.equals(GetReplayResponse, a, b);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from message raystack.optimus.core.v1beta1.ReplayConfig
|
|
189
|
+
*/
|
|
190
|
+
export class ReplayConfig extends Message<ReplayConfig> {
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: google.protobuf.Timestamp start_time = 1;
|
|
193
|
+
*/
|
|
194
|
+
startTime?: Timestamp;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: google.protobuf.Timestamp end_time = 2;
|
|
198
|
+
*/
|
|
199
|
+
endTime?: Timestamp;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @generated from field: bool parallel = 3;
|
|
203
|
+
*/
|
|
204
|
+
parallel = false;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: map<string, string> job_config = 4;
|
|
208
|
+
*/
|
|
209
|
+
jobConfig: { [key: string]: string } = {};
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: string description = 5;
|
|
213
|
+
*/
|
|
214
|
+
description = "";
|
|
215
|
+
|
|
216
|
+
constructor(data?: PartialMessage<ReplayConfig>) {
|
|
217
|
+
super();
|
|
218
|
+
proto3.util.initPartial(data, this);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
222
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ReplayConfig";
|
|
223
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
224
|
+
{ no: 1, name: "start_time", kind: "message", T: Timestamp },
|
|
225
|
+
{ no: 2, name: "end_time", kind: "message", T: Timestamp },
|
|
226
|
+
{ no: 3, name: "parallel", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
227
|
+
{ no: 4, name: "job_config", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
228
|
+
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
229
|
+
]);
|
|
230
|
+
|
|
231
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReplayConfig {
|
|
232
|
+
return new ReplayConfig().fromBinary(bytes, options);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReplayConfig {
|
|
236
|
+
return new ReplayConfig().fromJson(jsonValue, options);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReplayConfig {
|
|
240
|
+
return new ReplayConfig().fromJsonString(jsonString, options);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
static equals(a: ReplayConfig | PlainMessage<ReplayConfig> | undefined, b: ReplayConfig | PlainMessage<ReplayConfig> | undefined): boolean {
|
|
244
|
+
return proto3.util.equals(ReplayConfig, a, b);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* @generated from message raystack.optimus.core.v1beta1.ReplayRun
|
|
250
|
+
*/
|
|
251
|
+
export class ReplayRun extends Message<ReplayRun> {
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: google.protobuf.Timestamp scheduled_at = 1;
|
|
254
|
+
*/
|
|
255
|
+
scheduledAt?: Timestamp;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: string status = 2;
|
|
259
|
+
*/
|
|
260
|
+
status = "";
|
|
261
|
+
|
|
262
|
+
constructor(data?: PartialMessage<ReplayRun>) {
|
|
263
|
+
super();
|
|
264
|
+
proto3.util.initPartial(data, this);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
268
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ReplayRun";
|
|
269
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
270
|
+
{ no: 1, name: "scheduled_at", kind: "message", T: Timestamp },
|
|
271
|
+
{ no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
272
|
+
]);
|
|
273
|
+
|
|
274
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReplayRun {
|
|
275
|
+
return new ReplayRun().fromBinary(bytes, options);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReplayRun {
|
|
279
|
+
return new ReplayRun().fromJson(jsonValue, options);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReplayRun {
|
|
283
|
+
return new ReplayRun().fromJsonString(jsonString, options);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
static equals(a: ReplayRun | PlainMessage<ReplayRun> | undefined, b: ReplayRun | PlainMessage<ReplayRun> | undefined): boolean {
|
|
287
|
+
return proto3.util.equals(ReplayRun, a, b);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* @generated from message raystack.optimus.core.v1beta1.ReplayDryRunResponse
|
|
293
|
+
*/
|
|
294
|
+
export class ReplayDryRunResponse extends Message<ReplayDryRunResponse> {
|
|
295
|
+
/**
|
|
296
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.ReplayRun replay_runs = 1;
|
|
297
|
+
*/
|
|
298
|
+
replayRuns: ReplayRun[] = [];
|
|
299
|
+
|
|
300
|
+
constructor(data?: PartialMessage<ReplayDryRunResponse>) {
|
|
301
|
+
super();
|
|
302
|
+
proto3.util.initPartial(data, this);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
306
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ReplayDryRunResponse";
|
|
307
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
308
|
+
{ no: 1, name: "replay_runs", kind: "message", T: ReplayRun, repeated: true },
|
|
309
|
+
]);
|
|
310
|
+
|
|
311
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReplayDryRunResponse {
|
|
312
|
+
return new ReplayDryRunResponse().fromBinary(bytes, options);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReplayDryRunResponse {
|
|
316
|
+
return new ReplayDryRunResponse().fromJson(jsonValue, options);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReplayDryRunResponse {
|
|
320
|
+
return new ReplayDryRunResponse().fromJsonString(jsonString, options);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
static equals(a: ReplayDryRunResponse | PlainMessage<ReplayDryRunResponse> | undefined, b: ReplayDryRunResponse | PlainMessage<ReplayDryRunResponse> | undefined): boolean {
|
|
324
|
+
return proto3.util.equals(ReplayDryRunResponse, a, b);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* @generated from message raystack.optimus.core.v1beta1.ReplayRequest
|
|
330
|
+
*/
|
|
331
|
+
export class ReplayRequest extends Message<ReplayRequest> {
|
|
332
|
+
/**
|
|
333
|
+
* @generated from field: string project_name = 1;
|
|
334
|
+
*/
|
|
335
|
+
projectName = "";
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* @generated from field: string job_name = 2;
|
|
339
|
+
*/
|
|
340
|
+
jobName = "";
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: string namespace_name = 3;
|
|
344
|
+
*/
|
|
345
|
+
namespaceName = "";
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* @generated from field: google.protobuf.Timestamp start_time = 4;
|
|
349
|
+
*/
|
|
350
|
+
startTime?: Timestamp;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* @generated from field: google.protobuf.Timestamp end_time = 5;
|
|
354
|
+
*/
|
|
355
|
+
endTime?: Timestamp;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* @generated from field: bool parallel = 6;
|
|
359
|
+
*/
|
|
360
|
+
parallel = false;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* @generated from field: string description = 7;
|
|
364
|
+
*/
|
|
365
|
+
description = "";
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* @generated from field: string job_config = 8;
|
|
369
|
+
*/
|
|
370
|
+
jobConfig = "";
|
|
371
|
+
|
|
372
|
+
constructor(data?: PartialMessage<ReplayRequest>) {
|
|
373
|
+
super();
|
|
374
|
+
proto3.util.initPartial(data, this);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
378
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ReplayRequest";
|
|
379
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
380
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
381
|
+
{ no: 2, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
382
|
+
{ no: 3, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
383
|
+
{ no: 4, name: "start_time", kind: "message", T: Timestamp },
|
|
384
|
+
{ no: 5, name: "end_time", kind: "message", T: Timestamp },
|
|
385
|
+
{ no: 6, name: "parallel", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
386
|
+
{ no: 7, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
387
|
+
{ no: 8, name: "job_config", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
388
|
+
]);
|
|
389
|
+
|
|
390
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReplayRequest {
|
|
391
|
+
return new ReplayRequest().fromBinary(bytes, options);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReplayRequest {
|
|
395
|
+
return new ReplayRequest().fromJson(jsonValue, options);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReplayRequest {
|
|
399
|
+
return new ReplayRequest().fromJsonString(jsonString, options);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
static equals(a: ReplayRequest | PlainMessage<ReplayRequest> | undefined, b: ReplayRequest | PlainMessage<ReplayRequest> | undefined): boolean {
|
|
403
|
+
return proto3.util.equals(ReplayRequest, a, b);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* @generated from message raystack.optimus.core.v1beta1.ReplayDryRunRequest
|
|
409
|
+
*/
|
|
410
|
+
export class ReplayDryRunRequest extends Message<ReplayDryRunRequest> {
|
|
411
|
+
/**
|
|
412
|
+
* @generated from field: string project_name = 1;
|
|
413
|
+
*/
|
|
414
|
+
projectName = "";
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* @generated from field: string job_name = 2;
|
|
418
|
+
*/
|
|
419
|
+
jobName = "";
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* @generated from field: string namespace_name = 3;
|
|
423
|
+
*/
|
|
424
|
+
namespaceName = "";
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* @generated from field: google.protobuf.Timestamp start_time = 4;
|
|
428
|
+
*/
|
|
429
|
+
startTime?: Timestamp;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* @generated from field: google.protobuf.Timestamp end_time = 5;
|
|
433
|
+
*/
|
|
434
|
+
endTime?: Timestamp;
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* @generated from field: bool parallel = 6;
|
|
438
|
+
*/
|
|
439
|
+
parallel = false;
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* @generated from field: string description = 7;
|
|
443
|
+
*/
|
|
444
|
+
description = "";
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* @generated from field: string job_config = 8;
|
|
448
|
+
*/
|
|
449
|
+
jobConfig = "";
|
|
450
|
+
|
|
451
|
+
constructor(data?: PartialMessage<ReplayDryRunRequest>) {
|
|
452
|
+
super();
|
|
453
|
+
proto3.util.initPartial(data, this);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
457
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ReplayDryRunRequest";
|
|
458
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
459
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
460
|
+
{ no: 2, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
461
|
+
{ no: 3, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
462
|
+
{ no: 4, name: "start_time", kind: "message", T: Timestamp },
|
|
463
|
+
{ no: 5, name: "end_time", kind: "message", T: Timestamp },
|
|
464
|
+
{ no: 6, name: "parallel", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
465
|
+
{ no: 7, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
466
|
+
{ no: 8, name: "job_config", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
467
|
+
]);
|
|
468
|
+
|
|
469
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReplayDryRunRequest {
|
|
470
|
+
return new ReplayDryRunRequest().fromBinary(bytes, options);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReplayDryRunRequest {
|
|
474
|
+
return new ReplayDryRunRequest().fromJson(jsonValue, options);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReplayDryRunRequest {
|
|
478
|
+
return new ReplayDryRunRequest().fromJsonString(jsonString, options);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
static equals(a: ReplayDryRunRequest | PlainMessage<ReplayDryRunRequest> | undefined, b: ReplayDryRunRequest | PlainMessage<ReplayDryRunRequest> | undefined): boolean {
|
|
482
|
+
return proto3.util.equals(ReplayDryRunRequest, a, b);
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* @generated from message raystack.optimus.core.v1beta1.ReplayResponse
|
|
488
|
+
*/
|
|
489
|
+
export class ReplayResponse extends Message<ReplayResponse> {
|
|
490
|
+
/**
|
|
491
|
+
* @generated from field: string id = 1;
|
|
492
|
+
*/
|
|
493
|
+
id = "";
|
|
494
|
+
|
|
495
|
+
constructor(data?: PartialMessage<ReplayResponse>) {
|
|
496
|
+
super();
|
|
497
|
+
proto3.util.initPartial(data, this);
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
501
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ReplayResponse";
|
|
502
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
503
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
504
|
+
]);
|
|
505
|
+
|
|
506
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReplayResponse {
|
|
507
|
+
return new ReplayResponse().fromBinary(bytes, options);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReplayResponse {
|
|
511
|
+
return new ReplayResponse().fromJson(jsonValue, options);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReplayResponse {
|
|
515
|
+
return new ReplayResponse().fromJsonString(jsonString, options);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
static equals(a: ReplayResponse | PlainMessage<ReplayResponse> | undefined, b: ReplayResponse | PlainMessage<ReplayResponse> | undefined): boolean {
|
|
519
|
+
return proto3.util.equals(ReplayResponse, a, b);
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.4.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file raystack/optimus/core/v1beta1/resource.proto (package raystack.optimus.core.v1beta1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
import { ApplyResourcesRequest, ApplyResourcesResponse, ChangeResourceNamespaceRequest, ChangeResourceNamespaceResponse, CreateResourceRequest, CreateResourceResponse, ListResourceSpecificationRequest, ListResourceSpecificationResponse, ReadResourceRequest, ReadResourceResponse, UpdateResourceRequest, UpdateResourceResponse } from "./resource_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* ListResourceSpecification lists all resource specifications of a datastore in project
|
|
11
|
+
*
|
|
12
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ResourceService.ListResourceSpecification
|
|
13
|
+
*/
|
|
14
|
+
export const listResourceSpecification = {
|
|
15
|
+
localName: "listResourceSpecification",
|
|
16
|
+
name: "ListResourceSpecification",
|
|
17
|
+
kind: MethodKind.Unary,
|
|
18
|
+
I: ListResourceSpecificationRequest,
|
|
19
|
+
O: ListResourceSpecificationResponse,
|
|
20
|
+
service: {
|
|
21
|
+
typeName: "raystack.optimus.core.v1beta1.ResourceService"
|
|
22
|
+
}
|
|
23
|
+
} as const;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Database CRUD
|
|
27
|
+
* CreateResource registers a new resource of a namespace which belongs to a project
|
|
28
|
+
*
|
|
29
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ResourceService.CreateResource
|
|
30
|
+
*/
|
|
31
|
+
export const createResource = {
|
|
32
|
+
localName: "createResource",
|
|
33
|
+
name: "CreateResource",
|
|
34
|
+
kind: MethodKind.Unary,
|
|
35
|
+
I: CreateResourceRequest,
|
|
36
|
+
O: CreateResourceResponse,
|
|
37
|
+
service: {
|
|
38
|
+
typeName: "raystack.optimus.core.v1beta1.ResourceService"
|
|
39
|
+
}
|
|
40
|
+
} as const;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* ReadResource reads a provided resource spec of a namespace
|
|
44
|
+
*
|
|
45
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ResourceService.ReadResource
|
|
46
|
+
*/
|
|
47
|
+
export const readResource = {
|
|
48
|
+
localName: "readResource",
|
|
49
|
+
name: "ReadResource",
|
|
50
|
+
kind: MethodKind.Unary,
|
|
51
|
+
I: ReadResourceRequest,
|
|
52
|
+
O: ReadResourceResponse,
|
|
53
|
+
service: {
|
|
54
|
+
typeName: "raystack.optimus.core.v1beta1.ResourceService"
|
|
55
|
+
}
|
|
56
|
+
} as const;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* UpdateResource updates a resource specification of a datastore in project
|
|
60
|
+
*
|
|
61
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ResourceService.UpdateResource
|
|
62
|
+
*/
|
|
63
|
+
export const updateResource = {
|
|
64
|
+
localName: "updateResource",
|
|
65
|
+
name: "UpdateResource",
|
|
66
|
+
kind: MethodKind.Unary,
|
|
67
|
+
I: UpdateResourceRequest,
|
|
68
|
+
O: UpdateResourceResponse,
|
|
69
|
+
service: {
|
|
70
|
+
typeName: "raystack.optimus.core.v1beta1.ResourceService"
|
|
71
|
+
}
|
|
72
|
+
} as const;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* ChangeJobNamespace move a job spec from one namespace to another
|
|
76
|
+
*
|
|
77
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ResourceService.ChangeResourceNamespace
|
|
78
|
+
*/
|
|
79
|
+
export const changeResourceNamespace = {
|
|
80
|
+
localName: "changeResourceNamespace",
|
|
81
|
+
name: "ChangeResourceNamespace",
|
|
82
|
+
kind: MethodKind.Unary,
|
|
83
|
+
I: ChangeResourceNamespaceRequest,
|
|
84
|
+
O: ChangeResourceNamespaceResponse,
|
|
85
|
+
service: {
|
|
86
|
+
typeName: "raystack.optimus.core.v1beta1.ResourceService"
|
|
87
|
+
}
|
|
88
|
+
} as const;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* apply a resource from optimus to datastore
|
|
92
|
+
*
|
|
93
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ResourceService.ApplyResources
|
|
94
|
+
*/
|
|
95
|
+
export const applyResources = {
|
|
96
|
+
localName: "applyResources",
|
|
97
|
+
name: "ApplyResources",
|
|
98
|
+
kind: MethodKind.Unary,
|
|
99
|
+
I: ApplyResourcesRequest,
|
|
100
|
+
O: ApplyResourcesResponse,
|
|
101
|
+
service: {
|
|
102
|
+
typeName: "raystack.optimus.core.v1beta1.ResourceService"
|
|
103
|
+
}
|
|
104
|
+
} as const;
|