@otterscale/api 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +40 -0
- package/src/feature_pb.d.ts +34 -0
- package/src/feature_pb.js +26 -0
- package/src/link/v1/link_pb.d.ts +255 -0
- package/src/link/v1/link_pb.js +71 -0
- package/src/resource/v1/resource_pb.d.ts +886 -0
- package/src/resource/v1/resource_pb.js +142 -0
- package/src/runtime/v1/runtime_pb.d.ts +622 -0
- package/src/runtime/v1/runtime_pb.js +108 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file runtime/v1/runtime.proto (package otterscale.runtime.v1, edition 2023)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_feature } from "../../feature_pb";
|
|
7
|
+
import { file_google_protobuf_empty, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file runtime/v1/runtime.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_runtime_v1_runtime = /*@__PURE__*/
|
|
13
|
+
fileDesc("ChhydW50aW1lL3YxL3J1bnRpbWUucHJvdG8SFW90dGVyc2NhbGUucnVudGltZS52MSL6AQoNUG9kTG9nUmVxdWVzdBIPCgdjbHVzdGVyGAEgASgJEhEKCW5hbWVzcGFjZRgCIAEoCRIMCgRuYW1lGAMgASgJEhEKCWNvbnRhaW5lchgEIAEoCRIOCgZmb2xsb3cYBSABKAgSEgoKdGFpbF9saW5lcxgGIAEoAxIVCg1zaW5jZV9zZWNvbmRzGAcgASgDEi4KCnNpbmNlX3RpbWUYCCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhAKCHByZXZpb3VzGAkgASgIEhIKCnRpbWV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aW1lLWVuYWJsZWQSagoFU2NhbGUSIy5vdHRlcnNjYWxlLnJ1bnRpbWUudjEuU2NhbGVSZXF1ZXN0GiQub3R0ZXJzY2FsZS5ydW50aW1lLnYxLlNjYWxlUmVzcG9uc2UiForf1R0RCg9ydW50aW1lLWVuYWJsZWQSYAoHUmVzdGFydBIlLm90dGVyc2NhbGUucnVudGltZS52MS5SZXN0YXJ0UmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIWit/VHREKD3J1bnRpbWUtZW5hYmxlZEIwWi5naXRodWIuY29tL290dGVyc2NhbGUvYXBpL3J1bnRpbWUvdjE7cnVudGltZXYxYghlZGl0aW9uc3DoBw", [file_feature, file_google_protobuf_empty, file_google_protobuf_timestamp]);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message otterscale.runtime.v1.PodLogRequest.
|
|
17
|
+
* Use `create(PodLogRequestSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const PodLogRequestSchema = /*@__PURE__*/
|
|
20
|
+
messageDesc(file_runtime_v1_runtime, 0);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message otterscale.runtime.v1.PodLogResponse.
|
|
24
|
+
* Use `create(PodLogResponseSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const PodLogResponseSchema = /*@__PURE__*/
|
|
27
|
+
messageDesc(file_runtime_v1_runtime, 1);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message otterscale.runtime.v1.ExecuteTTYRequest.
|
|
31
|
+
* Use `create(ExecuteTTYRequestSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const ExecuteTTYRequestSchema = /*@__PURE__*/
|
|
34
|
+
messageDesc(file_runtime_v1_runtime, 2);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message otterscale.runtime.v1.ExecuteTTYResponse.
|
|
38
|
+
* Use `create(ExecuteTTYResponseSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const ExecuteTTYResponseSchema = /*@__PURE__*/
|
|
41
|
+
messageDesc(file_runtime_v1_runtime, 3);
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message otterscale.runtime.v1.WriteTTYRequest.
|
|
45
|
+
* Use `create(WriteTTYRequestSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const WriteTTYRequestSchema = /*@__PURE__*/
|
|
48
|
+
messageDesc(file_runtime_v1_runtime, 4);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message otterscale.runtime.v1.ResizeTTYRequest.
|
|
52
|
+
* Use `create(ResizeTTYRequestSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const ResizeTTYRequestSchema = /*@__PURE__*/
|
|
55
|
+
messageDesc(file_runtime_v1_runtime, 5);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message otterscale.runtime.v1.PortForwardRequest.
|
|
59
|
+
* Use `create(PortForwardRequestSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export const PortForwardRequestSchema = /*@__PURE__*/
|
|
62
|
+
messageDesc(file_runtime_v1_runtime, 6);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message otterscale.runtime.v1.PortForwardResponse.
|
|
66
|
+
* Use `create(PortForwardResponseSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export const PortForwardResponseSchema = /*@__PURE__*/
|
|
69
|
+
messageDesc(file_runtime_v1_runtime, 7);
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message otterscale.runtime.v1.WritePortForwardRequest.
|
|
73
|
+
* Use `create(WritePortForwardRequestSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export const WritePortForwardRequestSchema = /*@__PURE__*/
|
|
76
|
+
messageDesc(file_runtime_v1_runtime, 8);
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message otterscale.runtime.v1.ScaleRequest.
|
|
80
|
+
* Use `create(ScaleRequestSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
export const ScaleRequestSchema = /*@__PURE__*/
|
|
83
|
+
messageDesc(file_runtime_v1_runtime, 9);
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Describes the message otterscale.runtime.v1.ScaleResponse.
|
|
87
|
+
* Use `create(ScaleResponseSchema)` to create a new message.
|
|
88
|
+
*/
|
|
89
|
+
export const ScaleResponseSchema = /*@__PURE__*/
|
|
90
|
+
messageDesc(file_runtime_v1_runtime, 10);
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message otterscale.runtime.v1.RestartRequest.
|
|
94
|
+
* Use `create(RestartRequestSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export const RestartRequestSchema = /*@__PURE__*/
|
|
97
|
+
messageDesc(file_runtime_v1_runtime, 11);
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* RuntimeService provides runtime operations for Kubernetes workloads,
|
|
101
|
+
* including log streaming, interactive exec, port forwarding, scaling,
|
|
102
|
+
* and rolling restarts.
|
|
103
|
+
*
|
|
104
|
+
* @generated from service otterscale.runtime.v1.RuntimeService
|
|
105
|
+
*/
|
|
106
|
+
export const RuntimeService = /*@__PURE__*/
|
|
107
|
+
serviceDesc(file_runtime_v1_runtime, 0);
|
|
108
|
+
|