@otterscale/api 0.8.14 → 0.8.15
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
CHANGED
package/src/link/v1/link_pb.d.ts
CHANGED
|
@@ -112,6 +112,50 @@ export declare type RegisterRequest = Message<"otterscale.link.v1.RegisterReques
|
|
|
112
112
|
*/
|
|
113
113
|
export declare const RegisterRequestSchema: GenMessage<RegisterRequest>;
|
|
114
114
|
|
|
115
|
+
/**
|
|
116
|
+
* RegisterResponse contains a CA-signed certificate and the CA
|
|
117
|
+
* certificate so the agent can establish an mTLS tunnel connection.
|
|
118
|
+
*
|
|
119
|
+
* @generated from message otterscale.link.v1.RegisterResponse
|
|
120
|
+
*/
|
|
121
|
+
export declare type RegisterResponse = Message<"otterscale.link.v1.RegisterResponse"> & {
|
|
122
|
+
/**
|
|
123
|
+
* The loopback endpoint reserved for this cluster tunnel.
|
|
124
|
+
*
|
|
125
|
+
* @generated from field: string endpoint = 1;
|
|
126
|
+
*/
|
|
127
|
+
endpoint: string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* PEM-encoded X.509 certificate signed by the server's CA.
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: bytes certificate = 2;
|
|
133
|
+
*/
|
|
134
|
+
certificate: Uint8Array;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* PEM-encoded CA certificate for verifying the tunnel server.
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: bytes ca_certificate = 3;
|
|
140
|
+
*/
|
|
141
|
+
caCertificate: Uint8Array;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* The version of the server binary (e.g. "v1.2.3"), set at build time.
|
|
145
|
+
* Agents compare this against their own version to decide whether a
|
|
146
|
+
* self-update is needed.
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: string server_version = 4;
|
|
149
|
+
*/
|
|
150
|
+
serverVersion: string;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Describes the message otterscale.link.v1.RegisterResponse.
|
|
155
|
+
* Use `create(RegisterResponseSchema)` to create a new message.
|
|
156
|
+
*/
|
|
157
|
+
export declare const RegisterResponseSchema: GenMessage<RegisterResponse>;
|
|
158
|
+
|
|
115
159
|
/**
|
|
116
160
|
* GetAgentManifestRequest identifies the target cluster for which
|
|
117
161
|
* the agent installation manifest should be generated.
|
|
@@ -163,50 +207,6 @@ export declare type GetAgentManifestResponse = Message<"otterscale.link.v1.GetAg
|
|
|
163
207
|
*/
|
|
164
208
|
export declare const GetAgentManifestResponseSchema: GenMessage<GetAgentManifestResponse>;
|
|
165
209
|
|
|
166
|
-
/**
|
|
167
|
-
* RegisterResponse contains a CA-signed certificate and the CA
|
|
168
|
-
* certificate so the agent can establish an mTLS tunnel connection.
|
|
169
|
-
*
|
|
170
|
-
* @generated from message otterscale.link.v1.RegisterResponse
|
|
171
|
-
*/
|
|
172
|
-
export declare type RegisterResponse = Message<"otterscale.link.v1.RegisterResponse"> & {
|
|
173
|
-
/**
|
|
174
|
-
* The loopback endpoint reserved for this cluster tunnel.
|
|
175
|
-
*
|
|
176
|
-
* @generated from field: string endpoint = 1;
|
|
177
|
-
*/
|
|
178
|
-
endpoint: string;
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* PEM-encoded X.509 certificate signed by the server's CA.
|
|
182
|
-
*
|
|
183
|
-
* @generated from field: bytes certificate = 2;
|
|
184
|
-
*/
|
|
185
|
-
certificate: Uint8Array;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* PEM-encoded CA certificate for verifying the tunnel server.
|
|
189
|
-
*
|
|
190
|
-
* @generated from field: bytes ca_certificate = 3;
|
|
191
|
-
*/
|
|
192
|
-
caCertificate: Uint8Array;
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* The version of the server binary (e.g. "v1.2.3"), set at build time.
|
|
196
|
-
* Agents compare this against their own version to decide whether a
|
|
197
|
-
* self-update is needed.
|
|
198
|
-
*
|
|
199
|
-
* @generated from field: string server_version = 4;
|
|
200
|
-
*/
|
|
201
|
-
serverVersion: string;
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* Describes the message otterscale.link.v1.RegisterResponse.
|
|
206
|
-
* Use `create(RegisterResponseSchema)` to create a new message.
|
|
207
|
-
*/
|
|
208
|
-
export declare const RegisterResponseSchema: GenMessage<RegisterResponse>;
|
|
209
|
-
|
|
210
210
|
/**
|
|
211
211
|
* LinkService manages the lifecycle of agent-to-server tunnel connections,
|
|
212
212
|
* including registration and health checking.
|
package/src/link/v1/link_pb.js
CHANGED
|
@@ -9,7 +9,7 @@ import { file_feature } from "../../feature_pb";
|
|
|
9
9
|
* Describes the file link/v1/link.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_link_v1_link = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("ChJsaW5rL3YxL2xpbmsucHJvdG8SEm90dGVyc2NhbGUubGluay52MSIuCgRMaW5rEg8KB2NsdXN0ZXIYASABKAkSFQoNYWdlbnRfdmVyc2lvbhgCIAEoCSISChBMaXN0TGlua3NSZXF1ZXN0IjwKEUxpc3RMaW5rc1Jlc3BvbnNlEicKBWxpbmtzGAEgAygLMhgub3R0ZXJzY2FsZS5saW5rLnYxLkxpbmsiWAoPUmVnaXN0ZXJSZXF1ZXN0Eg8KB2NsdXN0ZXIYASABKAkSCwoDY3NyGAIgASgMEhAKCGFnZW50X2lkGAMgASgJEhUKDWFnZW50X3ZlcnNpb24YBCABKAkiaQoQUmVnaXN0ZXJSZXNwb25zZRIQCghlbmRwb2ludBgBIAEoCRITCgtjZXJ0aWZpY2F0ZRgCIAEoDBIWCg5jYV9jZXJ0aWZpY2F0ZRgDIAEoDBIWCg5zZXJ2ZXJfdmVyc2lvbhgEIAEoCSIqChdHZXRBZ2VudE1hbmlmZXN0UmVxdWVzdBIPCgdjbHVzdGVyGAEgASgJIjkKGEdldEFnZW50TWFuaWZlc3RSZXNwb25zZRIQCghtYW5pZmVzdBgBIAEoCRILCgN1cmwYAiABKAky8AIKC0xpbmtTZXJ2aWNlEm0KCUxpc3RMaW5rcxIkLm90dGVyc2NhbGUubGluay52MS5MaXN0TGlua3NSZXF1ZXN0GiUub3R0ZXJzY2FsZS5saW5rLnYxLkxpc3RMaW5rc1Jlc3BvbnNlIhOK39UdDgoMbGluay1lbmFibGVkEmoKCFJlZ2lzdGVyEiMub3R0ZXJzY2FsZS5saW5rLnYxLlJlZ2lzdGVyUmVxdWVzdBokLm90dGVyc2NhbGUubGluay52MS5SZWdpc3RlclJlc3BvbnNlIhOK39UdDgoMbGluay1lbmFibGVkEoUBChBHZXRBZ2VudE1hbmlmZXN0Eisub3R0ZXJzY2FsZS5saW5rLnYxLkdldEFnZW50TWFuaWZlc3RSZXF1ZXN0Giwub3R0ZXJzY2FsZS5saW5rLnYxLkdldEFnZW50TWFuaWZlc3RSZXNwb25zZSIWkAIBit/VHQ4KDGxpbmstZW5hYmxlZEIqWihnaXRodWIuY29tL290dGVyc2NhbGUvYXBpL2xpbmsvdjE7bGlua3YxYghlZGl0aW9uc3DoBw", [file_feature]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message otterscale.link.v1.Link.
|
|
@@ -39,25 +39,25 @@ export const ListLinksResponseSchema = /*@__PURE__*/
|
|
|
39
39
|
export const RegisterRequestSchema = /*@__PURE__*/
|
|
40
40
|
messageDesc(file_link_v1_link, 3);
|
|
41
41
|
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message otterscale.link.v1.RegisterResponse.
|
|
44
|
+
* Use `create(RegisterResponseSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const RegisterResponseSchema = /*@__PURE__*/
|
|
47
|
+
messageDesc(file_link_v1_link, 4);
|
|
48
|
+
|
|
42
49
|
/**
|
|
43
50
|
* Describes the message otterscale.link.v1.GetAgentManifestRequest.
|
|
44
51
|
* Use `create(GetAgentManifestRequestSchema)` to create a new message.
|
|
45
52
|
*/
|
|
46
53
|
export const GetAgentManifestRequestSchema = /*@__PURE__*/
|
|
47
|
-
messageDesc(file_link_v1_link,
|
|
54
|
+
messageDesc(file_link_v1_link, 5);
|
|
48
55
|
|
|
49
56
|
/**
|
|
50
57
|
* Describes the message otterscale.link.v1.GetAgentManifestResponse.
|
|
51
58
|
* Use `create(GetAgentManifestResponseSchema)` to create a new message.
|
|
52
59
|
*/
|
|
53
60
|
export const GetAgentManifestResponseSchema = /*@__PURE__*/
|
|
54
|
-
messageDesc(file_link_v1_link, 5);
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Describes the message otterscale.link.v1.RegisterResponse.
|
|
58
|
-
* Use `create(RegisterResponseSchema)` to create a new message.
|
|
59
|
-
*/
|
|
60
|
-
export const RegisterResponseSchema = /*@__PURE__*/
|
|
61
61
|
messageDesc(file_link_v1_link, 6);
|
|
62
62
|
|
|
63
63
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
7
|
-
import type { EmptySchema
|
|
7
|
+
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file resource/v1/resource.proto.
|
|
@@ -154,6 +154,26 @@ export declare type SchemaRequest = Message<"otterscale.resource.v1.SchemaReques
|
|
|
154
154
|
*/
|
|
155
155
|
export declare const SchemaRequestSchema: GenMessage<SchemaRequest>;
|
|
156
156
|
|
|
157
|
+
/**
|
|
158
|
+
* SchemaResponse contains the JSON Schema for a Kubernetes resource type.
|
|
159
|
+
*
|
|
160
|
+
* @generated from message otterscale.resource.v1.SchemaResponse
|
|
161
|
+
*/
|
|
162
|
+
export declare type SchemaResponse = Message<"otterscale.resource.v1.SchemaResponse"> & {
|
|
163
|
+
/**
|
|
164
|
+
* The raw JSON Schema describing the resource structure.
|
|
165
|
+
*
|
|
166
|
+
* @generated from field: google.protobuf.Struct schema = 1;
|
|
167
|
+
*/
|
|
168
|
+
schema?: JsonObject;
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Describes the message otterscale.resource.v1.SchemaResponse.
|
|
173
|
+
* Use `create(SchemaResponseSchema)` to create a new message.
|
|
174
|
+
*/
|
|
175
|
+
export declare const SchemaResponseSchema: GenMessage<SchemaResponse>;
|
|
176
|
+
|
|
157
177
|
/**
|
|
158
178
|
* Resource represents a single Kubernetes object serialized as a JSON string.
|
|
159
179
|
*
|
|
@@ -611,8 +631,10 @@ export declare type DeleteRequest = Message<"otterscale.resource.v1.DeleteReques
|
|
|
611
631
|
|
|
612
632
|
/**
|
|
613
633
|
* The duration in seconds before the object should be deleted. Overrides the default grace period.
|
|
634
|
+
* When absent, the API server uses the resource's default grace period.
|
|
635
|
+
* Set to 0 explicitly for immediate (force) deletion.
|
|
614
636
|
*
|
|
615
|
-
* @generated from field: int64 grace_period_seconds = 7;
|
|
637
|
+
* @generated from field: int64 grace_period_seconds = 7 [features.field_presence = EXPLICIT];
|
|
616
638
|
*/
|
|
617
639
|
gracePeriodSeconds: bigint;
|
|
618
640
|
};
|
|
@@ -808,7 +830,7 @@ export declare const ResourceService: GenService<{
|
|
|
808
830
|
schema: {
|
|
809
831
|
methodKind: "unary";
|
|
810
832
|
input: typeof SchemaRequestSchema;
|
|
811
|
-
output: typeof
|
|
833
|
+
output: typeof SchemaResponseSchema;
|
|
812
834
|
},
|
|
813
835
|
/**
|
|
814
836
|
* List retrieves a collection of resources based on the provided GVR and filters.
|
|
@@ -10,7 +10,7 @@ import { file_google_protobuf_empty, file_google_protobuf_struct } from "@bufbui
|
|
|
10
10
|
* Describes the file resource/v1/resource.proto.
|
|
11
11
|
*/
|
|
12
12
|
export const file_resource_v1_resource = /*@__PURE__*/
|
|
13
|
-
fileDesc("
|
|
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rf1R0SChByZXNvdXJjZS1lbmFibGVkEmQKA0dldBIiLm90dGVyc2NhbGUucmVzb3VyY2UudjEuR2V0UmVxdWVzdBogLm90dGVyc2NhbGUucmVzb3VyY2UudjEuUmVzb3VyY2UiF4rf1R0SChByZXNvdXJjZS1lbmFibGVkEnYKCERlc2NyaWJlEicub3R0ZXJzY2FsZS5yZXNvdXJjZS52MS5EZXNjcmliZVJlcXVlc3QaKC5vdHRlcnNjYWxlLnJlc291cmNlLnYxLkRlc2NyaWJlUmVzcG9uc2UiF4rf1R0SChByZXNvdXJjZS1lbmFibGVkEmoKBkNyZWF0ZRIlLm90dGVyc2NhbGUucmVzb3VyY2UudjEuQ3JlYXRlUmVxdWVzdBogLm90dGVyc2NhbGUucmVzb3VyY2UudjEuUmVzb3VyY2UiF4rf1R0SChByZXNvdXJjZS1lbmFibGVkEmgKBUFwcGx5EiQub3R0ZXJzY2FsZS5yZXNvdXJjZS52MS5BcHBseVJlcXVlc3QaIC5vdHRlcnNjYWxlLnJlc291cmNlLnYxLlJlc291cmNlIheK39UdEgoQcmVzb3VyY2UtZW5hYmxlZBJgCgZEZWxldGUSJS5vdHRlcnNjYWxlLnJlc291cmNlLnYxLkRlbGV0ZVJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiF4rf1R0SChByZXNvdXJjZS1lbmFibGVkEmwKBVdhdGNoEiQub3R0ZXJzY2FsZS5yZXNvdXJjZS52MS5XYXRjaFJlcXVlc3QaIi5vdHRlcnNjYWxlLnJlc291cmNlLnYxLldhdGNoRXZlbnQiF4rf1R0SChByZXNvdXJjZS1lbmFibGVkMAFCMlowZ2l0aHViLmNvbS9vdHRlcnNjYWxlL2FwaS9yZXNvdXJjZS92MTtyZXNvdXJjZXYxYghlZGl0aW9uc3DoBw", [file_feature, file_google_protobuf_empty, file_google_protobuf_struct]);
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Describes the message otterscale.resource.v1.APIResource.
|
|
@@ -40,88 +40,95 @@ export const DiscoveryResponseSchema = /*@__PURE__*/
|
|
|
40
40
|
export const SchemaRequestSchema = /*@__PURE__*/
|
|
41
41
|
messageDesc(file_resource_v1_resource, 3);
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message otterscale.resource.v1.SchemaResponse.
|
|
45
|
+
* Use `create(SchemaResponseSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const SchemaResponseSchema = /*@__PURE__*/
|
|
48
|
+
messageDesc(file_resource_v1_resource, 4);
|
|
49
|
+
|
|
43
50
|
/**
|
|
44
51
|
* Describes the message otterscale.resource.v1.Resource.
|
|
45
52
|
* Use `create(ResourceSchema)` to create a new message.
|
|
46
53
|
*/
|
|
47
54
|
export const ResourceSchema = /*@__PURE__*/
|
|
48
|
-
messageDesc(file_resource_v1_resource,
|
|
55
|
+
messageDesc(file_resource_v1_resource, 5);
|
|
49
56
|
|
|
50
57
|
/**
|
|
51
58
|
* Describes the message otterscale.resource.v1.ListRequest.
|
|
52
59
|
* Use `create(ListRequestSchema)` to create a new message.
|
|
53
60
|
*/
|
|
54
61
|
export const ListRequestSchema = /*@__PURE__*/
|
|
55
|
-
messageDesc(file_resource_v1_resource,
|
|
62
|
+
messageDesc(file_resource_v1_resource, 6);
|
|
56
63
|
|
|
57
64
|
/**
|
|
58
65
|
* Describes the message otterscale.resource.v1.ListResponse.
|
|
59
66
|
* Use `create(ListResponseSchema)` to create a new message.
|
|
60
67
|
*/
|
|
61
68
|
export const ListResponseSchema = /*@__PURE__*/
|
|
62
|
-
messageDesc(file_resource_v1_resource,
|
|
69
|
+
messageDesc(file_resource_v1_resource, 7);
|
|
63
70
|
|
|
64
71
|
/**
|
|
65
72
|
* Describes the message otterscale.resource.v1.GetRequest.
|
|
66
73
|
* Use `create(GetRequestSchema)` to create a new message.
|
|
67
74
|
*/
|
|
68
75
|
export const GetRequestSchema = /*@__PURE__*/
|
|
69
|
-
messageDesc(file_resource_v1_resource,
|
|
76
|
+
messageDesc(file_resource_v1_resource, 8);
|
|
70
77
|
|
|
71
78
|
/**
|
|
72
79
|
* Describes the message otterscale.resource.v1.DescribeRequest.
|
|
73
80
|
* Use `create(DescribeRequestSchema)` to create a new message.
|
|
74
81
|
*/
|
|
75
82
|
export const DescribeRequestSchema = /*@__PURE__*/
|
|
76
|
-
messageDesc(file_resource_v1_resource,
|
|
83
|
+
messageDesc(file_resource_v1_resource, 9);
|
|
77
84
|
|
|
78
85
|
/**
|
|
79
86
|
* Describes the message otterscale.resource.v1.DescribeResponse.
|
|
80
87
|
* Use `create(DescribeResponseSchema)` to create a new message.
|
|
81
88
|
*/
|
|
82
89
|
export const DescribeResponseSchema = /*@__PURE__*/
|
|
83
|
-
messageDesc(file_resource_v1_resource,
|
|
90
|
+
messageDesc(file_resource_v1_resource, 10);
|
|
84
91
|
|
|
85
92
|
/**
|
|
86
93
|
* Describes the message otterscale.resource.v1.CreateRequest.
|
|
87
94
|
* Use `create(CreateRequestSchema)` to create a new message.
|
|
88
95
|
*/
|
|
89
96
|
export const CreateRequestSchema = /*@__PURE__*/
|
|
90
|
-
messageDesc(file_resource_v1_resource,
|
|
97
|
+
messageDesc(file_resource_v1_resource, 11);
|
|
91
98
|
|
|
92
99
|
/**
|
|
93
100
|
* Describes the message otterscale.resource.v1.ApplyRequest.
|
|
94
101
|
* Use `create(ApplyRequestSchema)` to create a new message.
|
|
95
102
|
*/
|
|
96
103
|
export const ApplyRequestSchema = /*@__PURE__*/
|
|
97
|
-
messageDesc(file_resource_v1_resource,
|
|
104
|
+
messageDesc(file_resource_v1_resource, 12);
|
|
98
105
|
|
|
99
106
|
/**
|
|
100
107
|
* Describes the message otterscale.resource.v1.DeleteRequest.
|
|
101
108
|
* Use `create(DeleteRequestSchema)` to create a new message.
|
|
102
109
|
*/
|
|
103
110
|
export const DeleteRequestSchema = /*@__PURE__*/
|
|
104
|
-
messageDesc(file_resource_v1_resource,
|
|
111
|
+
messageDesc(file_resource_v1_resource, 13);
|
|
105
112
|
|
|
106
113
|
/**
|
|
107
114
|
* Describes the message otterscale.resource.v1.WatchRequest.
|
|
108
115
|
* Use `create(WatchRequestSchema)` to create a new message.
|
|
109
116
|
*/
|
|
110
117
|
export const WatchRequestSchema = /*@__PURE__*/
|
|
111
|
-
messageDesc(file_resource_v1_resource,
|
|
118
|
+
messageDesc(file_resource_v1_resource, 14);
|
|
112
119
|
|
|
113
120
|
/**
|
|
114
121
|
* Describes the message otterscale.resource.v1.WatchEvent.
|
|
115
122
|
* Use `create(WatchEventSchema)` to create a new message.
|
|
116
123
|
*/
|
|
117
124
|
export const WatchEventSchema = /*@__PURE__*/
|
|
118
|
-
messageDesc(file_resource_v1_resource,
|
|
125
|
+
messageDesc(file_resource_v1_resource, 15);
|
|
119
126
|
|
|
120
127
|
/**
|
|
121
128
|
* Describes the enum otterscale.resource.v1.WatchEvent.Type.
|
|
122
129
|
*/
|
|
123
130
|
export const WatchEvent_TypeSchema = /*@__PURE__*/
|
|
124
|
-
enumDesc(file_resource_v1_resource,
|
|
131
|
+
enumDesc(file_resource_v1_resource, 15, 0);
|
|
125
132
|
|
|
126
133
|
/**
|
|
127
134
|
* Type defines the possible types of events from Kubernetes watch.
|
|
@@ -56,14 +56,14 @@ export declare type PodLogRequest = Message<"otterscale.runtime.v1.PodLogRequest
|
|
|
56
56
|
/**
|
|
57
57
|
* Number of lines from the end of the logs to show. If not set, all logs are shown.
|
|
58
58
|
*
|
|
59
|
-
* @generated from field: int64 tail_lines = 6;
|
|
59
|
+
* @generated from field: int64 tail_lines = 6 [features.field_presence = EXPLICIT];
|
|
60
60
|
*/
|
|
61
61
|
tailLines: bigint;
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* A relative time in seconds before the current time from which to show logs.
|
|
65
65
|
*
|
|
66
|
-
* @generated from field: int64 since_seconds = 7;
|
|
66
|
+
* @generated from field: int64 since_seconds = 7 [features.field_presence = EXPLICIT];
|
|
67
67
|
*/
|
|
68
68
|
sinceSeconds: bigint;
|
|
69
69
|
|
|
@@ -91,7 +91,7 @@ export declare type PodLogRequest = Message<"otterscale.runtime.v1.PodLogRequest
|
|
|
91
91
|
/**
|
|
92
92
|
* Limit the number of bytes returned from the server.
|
|
93
93
|
*
|
|
94
|
-
* @generated from field: int64 limit_bytes = 11;
|
|
94
|
+
* @generated from field: int64 limit_bytes = 11 [features.field_presence = EXPLICIT];
|
|
95
95
|
*/
|
|
96
96
|
limitBytes: bigint;
|
|
97
97
|
};
|
|
@@ -10,7 +10,7 @@ import { file_google_protobuf_empty, file_google_protobuf_timestamp } from "@buf
|
|
|
10
10
|
* Describes the file runtime/v1/runtime.proto.
|
|
11
11
|
*/
|
|
12
12
|
export const file_runtime_v1_runtime = /*@__PURE__*/
|
|
13
|
-
fileDesc("
|
|
13
|
+
fileDesc("ChhydW50aW1lL3YxL3J1bnRpbWUucHJvdG8SFW90dGVyc2NhbGUucnVudGltZS52MSKPAgoNUG9kTG9nUmVxdWVzdBIPCgdjbHVzdGVyGAEgASgJEhEKCW5hbWVzcGFjZRgCIAEoCRIMCgRuYW1lGAMgASgJEhEKCWNvbnRhaW5lchgEIAEoCRIOCgZmb2xsb3cYBSABKAgSGQoKdGFpbF9saW5lcxgGIAEoA0IFqgECCAESHAoNc2luY2Vfc2Vjb25kcxgHIAEoA0IFqgECCAESLgoKc2luY2VfdGltZRgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEAoIcHJldmlvdXMYCSABKAgSEgoKdGltZXN0YW1wcxgKIAEoCBIaCgtsaW1pdF9ieXRlcxgLIAEoA0IFqgECCAEiHgoOUG9kTG9nUmVzcG9uc2USDAoEZGF0YRgBIAEoDCKSAQoRRXhlY3V0ZVRUWVJlcXVlc3QSDwoHY2x1c3RlchgBIAEoCRIRCgluYW1lc3BhY2UYAiABKAkSDAoEbmFtZRgDIAEoCRIRCgljb250YWluZXIYBCABKAkSDwoHY29tbWFuZBgFIAMoCRILCgN0dHkYBiABKAgSDAoEcm93cxgHIAEo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it/VHREKD3J1bnRpbWUtZW5hYmxlZEIwWi5naXRodWIuY29tL290dGVyc2NhbGUvYXBpL3J1bnRpbWUvdjE7cnVudGltZXYxYghlZGl0aW9uc3DoBw", [file_feature, file_google_protobuf_empty, file_google_protobuf_timestamp]);
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Describes the message otterscale.runtime.v1.PodLogRequest.
|