@controlplane/schema 1.0.6 → 1.0.8
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/build/src/interfaces/accessreport.d.ts +11 -11
- package/build/src/interfaces/agent.d.ts +14 -10
- package/build/src/interfaces/auditctx.d.ts +4 -4
- package/build/src/interfaces/base.d.ts +20 -20
- package/build/src/interfaces/cloudaccount.d.ts +7 -7
- package/build/src/interfaces/command.d.ts +164 -125
- package/build/src/interfaces/config.d.ts +2 -4
- package/build/src/interfaces/containerstatus.d.ts +6 -6
- package/build/src/interfaces/cronjob.d.ts +1 -1
- package/build/src/interfaces/dbcluster.d.ts +1 -1
- package/build/src/interfaces/deployment.d.ts +20 -20
- package/build/src/interfaces/domain.d.ts +67 -67
- package/build/src/interfaces/env.d.ts +1 -1
- package/build/src/interfaces/envoy.d.ts +5 -5
- package/build/src/interfaces/envoyAccessLog.d.ts +1 -1
- package/build/src/interfaces/envoyCluster.d.ts +9 -9
- package/build/src/interfaces/envoyCommon.d.ts +301 -301
- package/build/src/interfaces/envoyExcExtAuth.d.ts +2 -2
- package/build/src/interfaces/envoyHttp.d.ts +146 -146
- package/build/src/interfaces/envoyRateLimit.d.ts +1 -1
- package/build/src/interfaces/event.d.ts +9 -9
- package/build/src/interfaces/group.d.ts +2 -2
- package/build/src/interfaces/gvc.d.ts +185 -66
- package/build/src/interfaces/identity.d.ts +96 -63
- package/build/src/interfaces/image.d.ts +1 -1
- package/build/src/interfaces/ipSet.d.ts +14 -14
- package/build/src/interfaces/location.d.ts +16 -16
- package/build/src/interfaces/memcache.d.ts +7 -7
- package/build/src/interfaces/mk8s.d.ts +65 -65
- package/build/src/interfaces/mk8sAddons.d.ts +127 -60
- package/build/src/interfaces/mk8sAws.d.ts +6 -6
- package/build/src/interfaces/mk8sAzure.d.ts +10 -10
- package/build/src/interfaces/mk8sCommon.d.ts +26 -26
- package/build/src/interfaces/mk8sDigitalOcean.d.ts +2 -2
- package/build/src/interfaces/mk8sEphemeral.d.ts +1 -1
- package/build/src/interfaces/mk8sGcp.d.ts +9 -9
- package/build/src/interfaces/mk8sGeneric.d.ts +5 -5
- package/build/src/interfaces/mk8sHetzner.d.ts +10 -10
- package/build/src/interfaces/mk8sLambdalabs.d.ts +5 -5
- package/build/src/interfaces/mk8sLinode.d.ts +6 -6
- package/build/src/interfaces/mk8sOblivus.d.ts +5 -5
- package/build/src/interfaces/mk8sPaperspace.d.ts +5 -5
- package/build/src/interfaces/mk8sTriton.d.ts +23 -23
- package/build/src/interfaces/org.d.ts +34 -32
- package/build/src/interfaces/orgLogging.d.ts +32 -25
- package/build/src/interfaces/permissions.d.ts +1 -1
- package/build/src/interfaces/policy.d.ts +2 -2
- package/build/src/interfaces/policyMembership.d.ts +6 -6
- package/build/src/interfaces/query.d.ts +24 -17
- package/build/src/interfaces/quota.d.ts +1 -1
- package/build/src/interfaces/resourcePolicy.d.ts +1 -1
- package/build/src/interfaces/secret.d.ts +23 -23
- package/build/src/interfaces/serviceaccount.d.ts +7 -7
- package/build/src/interfaces/spicedb.d.ts +1 -1
- package/build/src/interfaces/statefulSet.d.ts +1 -1
- package/build/src/interfaces/task.d.ts +1 -1
- package/build/src/interfaces/tenant.d.ts +5 -5
- package/build/src/interfaces/tracing.d.ts +16 -8
- package/build/src/interfaces/user.d.ts +12 -12
- package/build/src/interfaces/volumeSet.d.ts +54 -46
- package/build/src/interfaces/workload.d.ts +241 -200
- package/build/src/interfaces/workloadOptions.d.ts +47 -14
- package/package.json +1 -1
|
@@ -1,164 +1,90 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
export type Percent = number;
|
|
4
|
-
export interface FractionalPercent {
|
|
5
|
-
numerator?: number;
|
|
6
|
-
denominator?: number;
|
|
7
|
-
}
|
|
8
|
-
export interface IntRange {
|
|
9
|
-
start?: number;
|
|
10
|
-
end?: number;
|
|
11
|
-
}
|
|
12
|
-
export interface DoubleRange {
|
|
13
|
-
start?: number;
|
|
14
|
-
end?: number;
|
|
15
|
-
}
|
|
16
|
-
export interface RuntimeFractionalPercent {
|
|
17
|
-
default_value?: FractionalPercent;
|
|
18
|
-
runtime_key: string;
|
|
1
|
+
export interface AdditionalAddress {
|
|
2
|
+
address?: Address;
|
|
19
3
|
}
|
|
20
|
-
export interface
|
|
21
|
-
|
|
22
|
-
|
|
4
|
+
export interface Address {
|
|
5
|
+
socket_address?: SocketAddress;
|
|
6
|
+
pipe?: Pipe;
|
|
7
|
+
envoy_internal_address?: EnvoyInternalAddress;
|
|
23
8
|
}
|
|
24
|
-
export interface
|
|
25
|
-
|
|
26
|
-
|
|
9
|
+
export interface ApiConfigSource {
|
|
10
|
+
api_type?: ApiType;
|
|
11
|
+
transport_api_version?: ApiVersion;
|
|
12
|
+
cluster_names?: string[];
|
|
13
|
+
grpc_services?: GrpcService[];
|
|
14
|
+
refresh_delay?: Duration;
|
|
15
|
+
request_timeout?: Duration;
|
|
16
|
+
rate_limit_settings?: RateLimitSettings;
|
|
17
|
+
set_node_on_first_message_only?: boolean;
|
|
18
|
+
config_validators?: TypedExtensionConfig[];
|
|
27
19
|
}
|
|
28
|
-
export type
|
|
29
|
-
export
|
|
30
|
-
|
|
20
|
+
export type ApiType = 'DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE' | 'REST' | 'GRPC' | 'DELTA_GRPC';
|
|
21
|
+
export type ApiVersion = 'AUTO' | 'V2' | 'V3';
|
|
22
|
+
export interface BindConfig {
|
|
23
|
+
source_address?: SocketAddress;
|
|
24
|
+
freebind?: boolean;
|
|
25
|
+
socket_options?: SocketOption[];
|
|
26
|
+
extra_source_addresses?: ExtraSourceAddress[];
|
|
27
|
+
additional_source_addresses?: SocketAddress[];
|
|
28
|
+
local_address_selector?: TypedExtensionConfig;
|
|
31
29
|
}
|
|
32
|
-
export type
|
|
33
|
-
export interface
|
|
30
|
+
export type CodecClientType = 'HTTP1' | 'HTTP2';
|
|
31
|
+
export interface ConfigSource {
|
|
32
|
+
path?: string;
|
|
33
|
+
path_config_source?: PathConfigSource;
|
|
34
|
+
api_config_source?: ApiConfigSource;
|
|
35
|
+
initial_fetch_timeout?: Duration;
|
|
36
|
+
resource_api_version?: ApiVersion;
|
|
34
37
|
}
|
|
35
|
-
export
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
export interface CustomHealthCheck {
|
|
39
|
+
name: string;
|
|
40
|
+
typed_config?: any;
|
|
38
41
|
}
|
|
39
|
-
export type Priority = number;
|
|
40
|
-
export type ApiVersion = 'AUTO' | 'V2' | 'V3';
|
|
41
|
-
export type ApiType = 'DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE' | 'REST' | 'GRPC' | 'DELTA_GRPC';
|
|
42
|
-
export type CodecClientType = 'HTTP1' | 'HTTP2';
|
|
43
|
-
export type RequestMethod = 'METHOD_UNSPECIFIED' | 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH';
|
|
44
|
-
export type RoutingPriority = 'DEFAULT' | 'HIGH';
|
|
45
|
-
export type Duration = string | {
|
|
46
|
-
seconds?: number;
|
|
47
|
-
nanos?: number;
|
|
48
|
-
};
|
|
49
|
-
export type DurationRestricted = string;
|
|
50
42
|
export interface DataSource {
|
|
51
43
|
filename?: string;
|
|
52
44
|
inline_bytes?: any;
|
|
53
45
|
inline_string?: string;
|
|
54
46
|
environment_variable?: string;
|
|
55
47
|
}
|
|
56
|
-
export interface
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
export interface RegexMatcher {
|
|
61
|
-
google_re2?: {
|
|
62
|
-
max_program_size?: number;
|
|
63
|
-
};
|
|
64
|
-
regex: string;
|
|
48
|
+
export interface DnsResolutionConfig {
|
|
49
|
+
resolvers?: Address[];
|
|
50
|
+
dns_resolver_options?: DnsResolverOptions;
|
|
65
51
|
}
|
|
66
|
-
export interface
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
suffix?: string;
|
|
70
|
-
safe_regex?: RegexMatcher;
|
|
71
|
-
contains?: string;
|
|
72
|
-
ignore_case?: boolean;
|
|
52
|
+
export interface DnsResolverOptions {
|
|
53
|
+
use_tcp_for_dns_lookups?: boolean;
|
|
54
|
+
no_default_search_domain?: boolean;
|
|
73
55
|
}
|
|
74
56
|
export interface DoubleMatcher {
|
|
75
57
|
range?: DoubleRange;
|
|
76
58
|
exact?: number;
|
|
77
59
|
}
|
|
78
|
-
export interface
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
string_match?: StringMatcher;
|
|
82
|
-
bool_match?: boolean;
|
|
83
|
-
present_match?: boolean;
|
|
84
|
-
}
|
|
85
|
-
export interface QueryParameterMatcher {
|
|
86
|
-
name: string;
|
|
87
|
-
string_match?: StringMatcher;
|
|
88
|
-
present_match?: boolean;
|
|
89
|
-
}
|
|
90
|
-
export interface MetadataMatcher {
|
|
91
|
-
filter: string;
|
|
92
|
-
path?: {
|
|
93
|
-
key: string;
|
|
94
|
-
}[];
|
|
95
|
-
value: {
|
|
96
|
-
null_match?: any;
|
|
97
|
-
double_match?: DoubleMatcher;
|
|
98
|
-
string_match?: StringMatcher;
|
|
99
|
-
bool_match?: boolean;
|
|
100
|
-
present_match?: boolean;
|
|
101
|
-
};
|
|
102
|
-
invert?: boolean;
|
|
103
|
-
}
|
|
104
|
-
export interface HeaderMatcher {
|
|
105
|
-
name: string;
|
|
106
|
-
safe_regex_match?: RegexMatcher;
|
|
107
|
-
range_match?: IntRange;
|
|
108
|
-
present_match?: boolean;
|
|
109
|
-
string_match?: StringMatcher;
|
|
110
|
-
invert_match?: boolean;
|
|
111
|
-
treat_missing_header_as_empty?: boolean;
|
|
112
|
-
}
|
|
113
|
-
export interface RouteMatch {
|
|
114
|
-
prefix?: string;
|
|
115
|
-
path?: string;
|
|
116
|
-
safe_regex?: RegexMatcher;
|
|
117
|
-
path_separated_prefix?: string;
|
|
118
|
-
path_match_policy?: TypedExtensionConfig;
|
|
119
|
-
case_sensitive?: boolean;
|
|
120
|
-
runtime_fraction?: RuntimeFractionalPercent;
|
|
121
|
-
headers?: HeaderMatcher[];
|
|
122
|
-
query_parameters?: QueryParameterMatcher[];
|
|
123
|
-
grpc?: {
|
|
124
|
-
presented?: boolean;
|
|
125
|
-
validated?: boolean;
|
|
126
|
-
};
|
|
127
|
-
tls_context?: {
|
|
128
|
-
presented?: boolean;
|
|
129
|
-
validated?: boolean;
|
|
130
|
-
};
|
|
131
|
-
dynamic_metadata?: MetadataMatcher[];
|
|
132
|
-
}
|
|
133
|
-
export interface RouteMatchRestricted {
|
|
134
|
-
prefix?: string;
|
|
135
|
-
headers?: HeaderMatcher[];
|
|
60
|
+
export interface DoubleRange {
|
|
61
|
+
start?: number;
|
|
62
|
+
end?: number;
|
|
136
63
|
}
|
|
137
|
-
export
|
|
138
|
-
|
|
64
|
+
export type Duration = string | {
|
|
65
|
+
seconds?: number;
|
|
66
|
+
nanos?: number;
|
|
67
|
+
};
|
|
68
|
+
export type DurationRestricted = string;
|
|
69
|
+
export interface Empty {
|
|
139
70
|
}
|
|
140
|
-
export interface
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
nanos?: number;
|
|
144
|
-
};
|
|
145
|
-
max_interval?: Duration;
|
|
71
|
+
export interface EnvoyInternalAddress {
|
|
72
|
+
server_listener_name: string;
|
|
73
|
+
endpoint_id?: string;
|
|
146
74
|
}
|
|
147
|
-
export interface
|
|
148
|
-
|
|
149
|
-
|
|
75
|
+
export interface ExtensionConfigSource {
|
|
76
|
+
config_source?: ConfigSource;
|
|
77
|
+
default_config?: any;
|
|
78
|
+
apply_default_config_without_warming?: boolean;
|
|
79
|
+
type_urls?: string[];
|
|
150
80
|
}
|
|
151
|
-
export
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
value?: string;
|
|
155
|
-
raw_value?: any;
|
|
81
|
+
export interface ExtraSourceAddress {
|
|
82
|
+
address?: Address;
|
|
83
|
+
socket_options?: SocketOptionsOverride;
|
|
156
84
|
}
|
|
157
|
-
export interface
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
append_action?: HeaderAppendAction;
|
|
161
|
-
keep_empty_value?: boolean;
|
|
85
|
+
export interface FractionalPercent {
|
|
86
|
+
numerator?: number;
|
|
87
|
+
denominator?: number;
|
|
162
88
|
}
|
|
163
89
|
export interface GoogleCallCredentials {
|
|
164
90
|
access_token?: string;
|
|
@@ -188,6 +114,11 @@ export interface GoogleCallCredentials {
|
|
|
188
114
|
actor_token_type?: string;
|
|
189
115
|
};
|
|
190
116
|
}
|
|
117
|
+
export interface GrpcHealthCheck {
|
|
118
|
+
service_name?: string;
|
|
119
|
+
authority?: string;
|
|
120
|
+
initial_metadata?: HeaderValueOption[];
|
|
121
|
+
}
|
|
191
122
|
export interface GrpcService {
|
|
192
123
|
envoy_grpc?: {
|
|
193
124
|
cluster_name: string;
|
|
@@ -215,139 +146,60 @@ export interface GrpcService {
|
|
|
215
146
|
};
|
|
216
147
|
initial_metadata?: HeaderValue[];
|
|
217
148
|
}
|
|
218
|
-
export
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
named_port?: string;
|
|
228
|
-
resolver_name?: any;
|
|
229
|
-
ipv4_compat?: boolean;
|
|
230
|
-
}
|
|
231
|
-
export interface SocketOption {
|
|
232
|
-
description?: string;
|
|
233
|
-
level?: number;
|
|
234
|
-
name?: number;
|
|
235
|
-
int_value?: number;
|
|
236
|
-
buf_value?: any;
|
|
237
|
-
state?: 'STATE_PREBIND' | 'STATE_BOUND' | 'STATE_LISTENING';
|
|
238
|
-
}
|
|
239
|
-
export interface SocketOptionsOverride {
|
|
240
|
-
socket_options?: SocketOption[];
|
|
149
|
+
export type HeaderAppendAction = 'APPEND_IF_EXISTS_OR_ADD' | 'ADD_IF_ABSENT' | 'OVERWRITE_IF_EXISTS_OR_ADD' | 'OVERWRITE_IF_EXISTS';
|
|
150
|
+
export interface HeaderMatcher {
|
|
151
|
+
name: string;
|
|
152
|
+
safe_regex_match?: RegexMatcher;
|
|
153
|
+
range_match?: IntRange;
|
|
154
|
+
present_match?: boolean;
|
|
155
|
+
string_match?: StringMatcher;
|
|
156
|
+
invert_match?: boolean;
|
|
157
|
+
treat_missing_header_as_empty?: boolean;
|
|
241
158
|
}
|
|
242
|
-
export interface
|
|
243
|
-
|
|
244
|
-
|
|
159
|
+
export interface HeaderValue {
|
|
160
|
+
key: string;
|
|
161
|
+
value?: string;
|
|
162
|
+
raw_value?: any;
|
|
245
163
|
}
|
|
246
|
-
export interface
|
|
247
|
-
|
|
248
|
-
|
|
164
|
+
export interface HeaderValueOption {
|
|
165
|
+
header?: HeaderValue;
|
|
166
|
+
append?: boolean;
|
|
167
|
+
append_action?: HeaderAppendAction;
|
|
168
|
+
keep_empty_value?: boolean;
|
|
249
169
|
}
|
|
250
|
-
export interface
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
freebind?: boolean;
|
|
273
|
-
socket_options?: SocketOption[];
|
|
274
|
-
extra_source_addresses?: ExtraSourceAddress[];
|
|
275
|
-
additional_source_addresses?: SocketAddress[];
|
|
276
|
-
local_address_selector?: TypedExtensionConfig;
|
|
277
|
-
}
|
|
278
|
-
export interface TransportSocket {
|
|
279
|
-
name: string;
|
|
280
|
-
typed_config?: {
|
|
281
|
-
"@type"?: 'type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext';
|
|
282
|
-
sni?: string;
|
|
283
|
-
};
|
|
284
|
-
}
|
|
285
|
-
export interface WatchedDirectory {
|
|
286
|
-
path: string;
|
|
287
|
-
}
|
|
288
|
-
export interface PathConfigSource {
|
|
289
|
-
path: string;
|
|
290
|
-
watched_directory?: WatchedDirectory;
|
|
291
|
-
}
|
|
292
|
-
export interface RateLimitSettings {
|
|
293
|
-
max_tokens?: UInt32;
|
|
294
|
-
fill_rate?: number;
|
|
295
|
-
}
|
|
296
|
-
export interface ApiConfigSource {
|
|
297
|
-
api_type?: ApiType;
|
|
298
|
-
transport_api_version?: ApiVersion;
|
|
299
|
-
cluster_names?: string[];
|
|
300
|
-
grpc_services?: GrpcService[];
|
|
301
|
-
refresh_delay?: Duration;
|
|
302
|
-
request_timeout?: Duration;
|
|
303
|
-
rate_limit_settings?: RateLimitSettings;
|
|
304
|
-
set_node_on_first_message_only?: boolean;
|
|
305
|
-
config_validators?: TypedExtensionConfig[];
|
|
306
|
-
}
|
|
307
|
-
export interface ConfigSource {
|
|
308
|
-
path?: string;
|
|
309
|
-
path_config_source?: PathConfigSource;
|
|
310
|
-
api_config_source?: ApiConfigSource;
|
|
311
|
-
initial_fetch_timeout?: Duration;
|
|
312
|
-
resource_api_version?: ApiVersion;
|
|
313
|
-
}
|
|
314
|
-
export interface HealthCheckTlsOptions {
|
|
315
|
-
alpn_protocols?: string[];
|
|
170
|
+
export interface HealthCheck {
|
|
171
|
+
timeout?: Duration;
|
|
172
|
+
interval?: Duration;
|
|
173
|
+
initial_jitter?: Duration;
|
|
174
|
+
interval_jitter?: Duration;
|
|
175
|
+
interval_jitter_percent?: UInt32;
|
|
176
|
+
unhealthy_threshold?: UInt32;
|
|
177
|
+
healthy_threshold?: UInt32;
|
|
178
|
+
reuse_connection?: boolean;
|
|
179
|
+
http_health_check?: HttpHealthCheck;
|
|
180
|
+
tcp_health_check?: TcpHealthCheck;
|
|
181
|
+
grpc_health_check?: GrpcHealthCheck;
|
|
182
|
+
custom_health_check?: CustomHealthCheck;
|
|
183
|
+
no_traffic_interval?: Duration;
|
|
184
|
+
no_traffic_healthy_interval?: Duration;
|
|
185
|
+
unhealthy_interval?: Duration;
|
|
186
|
+
healthy_edge_interval?: Duration;
|
|
187
|
+
event_log_path?: string;
|
|
188
|
+
event_logger?: TypedExtensionConfig[];
|
|
189
|
+
always_log_health_check_failures?: boolean;
|
|
190
|
+
tls_options?: HealthCheckTlsOptions;
|
|
191
|
+
transport_socket_match_criteria?: Struct;
|
|
316
192
|
}
|
|
317
193
|
export interface HealthCheckPayload {
|
|
318
194
|
text?: string;
|
|
319
195
|
binary?: any;
|
|
320
196
|
}
|
|
321
|
-
export
|
|
322
|
-
|
|
323
|
-
code?: StatusCode;
|
|
324
|
-
}
|
|
325
|
-
export interface HttpHealthCheck {
|
|
326
|
-
host?: string;
|
|
327
|
-
path: string;
|
|
328
|
-
receive?: HealthCheckPayload[];
|
|
329
|
-
response_buffer_size?: UInt64;
|
|
330
|
-
request_headers_to_add?: HeaderValueOption[];
|
|
331
|
-
request_headers_to_remove?: string[];
|
|
332
|
-
expected_statuses?: IntRange[];
|
|
333
|
-
retriable_statuses?: IntRange[];
|
|
334
|
-
codec_client_type?: CodecClientType;
|
|
335
|
-
service_name_matcher?: StringMatcher;
|
|
336
|
-
method?: RequestMethod;
|
|
337
|
-
}
|
|
338
|
-
export interface KeepaliveSettings {
|
|
339
|
-
interval?: Duration;
|
|
340
|
-
timeout: string | {
|
|
341
|
-
seconds?: number;
|
|
342
|
-
nanos?: number;
|
|
343
|
-
};
|
|
344
|
-
interval_jitter?: Percent;
|
|
345
|
-
connection_idle_interval?: Duration;
|
|
197
|
+
export interface HealthCheckTlsOptions {
|
|
198
|
+
alpn_protocols?: string[];
|
|
346
199
|
}
|
|
347
|
-
export
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
override_auto_sni_header?: string;
|
|
200
|
+
export type HealthStatus = 'UNKNOWN' | 'HEALTHY' | 'UNHEALTHY' | 'DRAINING' | 'TIMEOUT' | 'DEGRADED';
|
|
201
|
+
export interface HealthStatusSet {
|
|
202
|
+
statuses?: HealthStatus[];
|
|
351
203
|
}
|
|
352
204
|
export interface Http1ProtocolOptions {
|
|
353
205
|
allow_absolute_url?: boolean;
|
|
@@ -367,13 +219,6 @@ export interface Http1ProtocolOptions {
|
|
|
367
219
|
override_stream_error_on_invalid_http_message?: boolean;
|
|
368
220
|
send_fully_qualified_url?: boolean;
|
|
369
221
|
}
|
|
370
|
-
export interface HttpProtocolOptions {
|
|
371
|
-
idle_timeout?: Duration;
|
|
372
|
-
max_connection_duration?: Duration;
|
|
373
|
-
max_headers_count?: UInt32;
|
|
374
|
-
max_stream_duration?: Duration;
|
|
375
|
-
headers_with_underscores_action?: 'ALLOW' | 'REJECT_REQUEST' | 'DROP_HEADER';
|
|
376
|
-
}
|
|
377
222
|
export interface Http2ProtocolOptions {
|
|
378
223
|
hpack_table_size?: UInt32;
|
|
379
224
|
max_concurrent_streams?: UInt32;
|
|
@@ -389,6 +234,164 @@ export interface Http2ProtocolOptions {
|
|
|
389
234
|
override_stream_error_on_invalid_http_message?: boolean;
|
|
390
235
|
connection_keepalive?: KeepaliveSettings;
|
|
391
236
|
}
|
|
237
|
+
export interface HttpHealthCheck {
|
|
238
|
+
host?: string;
|
|
239
|
+
path: string;
|
|
240
|
+
receive?: HealthCheckPayload[];
|
|
241
|
+
response_buffer_size?: UInt64;
|
|
242
|
+
request_headers_to_add?: HeaderValueOption[];
|
|
243
|
+
request_headers_to_remove?: string[];
|
|
244
|
+
expected_statuses?: IntRange[];
|
|
245
|
+
retriable_statuses?: IntRange[];
|
|
246
|
+
codec_client_type?: CodecClientType;
|
|
247
|
+
service_name_matcher?: StringMatcher;
|
|
248
|
+
method?: RequestMethod;
|
|
249
|
+
}
|
|
250
|
+
export interface HttpProtocolOptions {
|
|
251
|
+
idle_timeout?: Duration;
|
|
252
|
+
max_connection_duration?: Duration;
|
|
253
|
+
max_headers_count?: UInt32;
|
|
254
|
+
max_stream_duration?: Duration;
|
|
255
|
+
headers_with_underscores_action?: 'ALLOW' | 'REJECT_REQUEST' | 'DROP_HEADER';
|
|
256
|
+
}
|
|
257
|
+
export interface HttpStatus {
|
|
258
|
+
code?: StatusCode;
|
|
259
|
+
}
|
|
260
|
+
export interface IntRange {
|
|
261
|
+
start?: number;
|
|
262
|
+
end?: number;
|
|
263
|
+
}
|
|
264
|
+
export interface KeepaliveSettings {
|
|
265
|
+
interval?: Duration;
|
|
266
|
+
timeout: string | {
|
|
267
|
+
seconds?: number;
|
|
268
|
+
nanos?: number;
|
|
269
|
+
};
|
|
270
|
+
interval_jitter?: Percent;
|
|
271
|
+
connection_idle_interval?: Duration;
|
|
272
|
+
}
|
|
273
|
+
export interface ListStringMatcher {
|
|
274
|
+
patterns?: StringMatcher[];
|
|
275
|
+
}
|
|
276
|
+
export type ListValue = any[];
|
|
277
|
+
export interface Locality {
|
|
278
|
+
region?: string;
|
|
279
|
+
zone?: string;
|
|
280
|
+
sub_zone?: string;
|
|
281
|
+
}
|
|
282
|
+
export interface MetadataMatcher {
|
|
283
|
+
filter: string;
|
|
284
|
+
path?: {
|
|
285
|
+
key: string;
|
|
286
|
+
}[];
|
|
287
|
+
value: {
|
|
288
|
+
null_match?: any;
|
|
289
|
+
double_match?: DoubleMatcher;
|
|
290
|
+
string_match?: StringMatcher;
|
|
291
|
+
bool_match?: boolean;
|
|
292
|
+
present_match?: boolean;
|
|
293
|
+
};
|
|
294
|
+
invert?: boolean;
|
|
295
|
+
}
|
|
296
|
+
export interface PathConfigSource {
|
|
297
|
+
path: string;
|
|
298
|
+
watched_directory?: WatchedDirectory;
|
|
299
|
+
}
|
|
300
|
+
export type Percent = number;
|
|
301
|
+
export interface Pipe {
|
|
302
|
+
path: string;
|
|
303
|
+
mode?: number;
|
|
304
|
+
}
|
|
305
|
+
export type Port = number;
|
|
306
|
+
export type Priority = number;
|
|
307
|
+
export interface QueryParameterMatcher {
|
|
308
|
+
name: string;
|
|
309
|
+
string_match?: StringMatcher;
|
|
310
|
+
present_match?: boolean;
|
|
311
|
+
}
|
|
312
|
+
export interface RateLimitSettings {
|
|
313
|
+
max_tokens?: UInt32;
|
|
314
|
+
fill_rate?: number;
|
|
315
|
+
}
|
|
316
|
+
export interface RegexMatcher {
|
|
317
|
+
google_re2?: {
|
|
318
|
+
max_program_size?: number;
|
|
319
|
+
};
|
|
320
|
+
regex: string;
|
|
321
|
+
}
|
|
322
|
+
export type RequestMethod = 'METHOD_UNSPECIFIED' | 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH';
|
|
323
|
+
export interface RetryPolicy {
|
|
324
|
+
retry_back_off?: TimeInterval;
|
|
325
|
+
num_retries?: number;
|
|
326
|
+
}
|
|
327
|
+
export interface RouteMatch {
|
|
328
|
+
prefix?: string;
|
|
329
|
+
path?: string;
|
|
330
|
+
safe_regex?: RegexMatcher;
|
|
331
|
+
path_separated_prefix?: string;
|
|
332
|
+
path_match_policy?: TypedExtensionConfig;
|
|
333
|
+
case_sensitive?: boolean;
|
|
334
|
+
runtime_fraction?: RuntimeFractionalPercent;
|
|
335
|
+
headers?: HeaderMatcher[];
|
|
336
|
+
query_parameters?: QueryParameterMatcher[];
|
|
337
|
+
grpc?: {
|
|
338
|
+
presented?: boolean;
|
|
339
|
+
validated?: boolean;
|
|
340
|
+
};
|
|
341
|
+
tls_context?: {
|
|
342
|
+
presented?: boolean;
|
|
343
|
+
validated?: boolean;
|
|
344
|
+
};
|
|
345
|
+
dynamic_metadata?: MetadataMatcher[];
|
|
346
|
+
}
|
|
347
|
+
export interface RouteMatchRestricted {
|
|
348
|
+
prefix?: string;
|
|
349
|
+
headers?: HeaderMatcher[];
|
|
350
|
+
}
|
|
351
|
+
export type RoutingPriority = 'DEFAULT' | 'HIGH';
|
|
352
|
+
export interface RuntimeDouble {
|
|
353
|
+
default_value?: number;
|
|
354
|
+
runtime_key: string;
|
|
355
|
+
}
|
|
356
|
+
export interface RuntimeFeatureFlag {
|
|
357
|
+
default_value: boolean;
|
|
358
|
+
runtime_key: string;
|
|
359
|
+
}
|
|
360
|
+
export interface RuntimeFractionalPercent {
|
|
361
|
+
default_value?: FractionalPercent;
|
|
362
|
+
runtime_key: string;
|
|
363
|
+
}
|
|
364
|
+
export interface SocketAddress {
|
|
365
|
+
protocol?: 'TCP' | 'UDP';
|
|
366
|
+
address: string;
|
|
367
|
+
port_value?: number;
|
|
368
|
+
named_port?: string;
|
|
369
|
+
resolver_name?: any;
|
|
370
|
+
ipv4_compat?: boolean;
|
|
371
|
+
}
|
|
372
|
+
export interface SocketOption {
|
|
373
|
+
description?: string;
|
|
374
|
+
level?: number;
|
|
375
|
+
name?: number;
|
|
376
|
+
int_value?: number;
|
|
377
|
+
buf_value?: any;
|
|
378
|
+
state?: 'STATE_PREBIND' | 'STATE_BOUND' | 'STATE_LISTENING';
|
|
379
|
+
}
|
|
380
|
+
export interface SocketOptionsOverride {
|
|
381
|
+
socket_options?: SocketOption[];
|
|
382
|
+
}
|
|
383
|
+
export type StatusCode = 'Empty' | 'Continue' | 'OK' | 'Created' | 'Accepted' | 'NonAuthoritativeInformation' | 'NoContent' | 'ResetContent' | 'PartialContent' | 'MultiStatus' | 'AlradyReported' | 'IMUsed' | 'MultipleChoices' | 'MovedPermanently' | 'Found' | 'SeeOther' | 'NotModified' | 'UseProxy' | 'TemporaryRedirect' | 'PermanentRedirect' | 'BadRequest' | 'Unauthroized' | 'PaymentRequired' | 'Forbidden' | 'NotFound' | 'MethodNotAllowed' | 'NotAcceptable' | 'ProxyAuthenticationRequired' | 'RequestTimeout' | 'Conflict' | 'Gone' | 'LengthRequired' | 'PreconditionFailed' | 'PayloadTooLarge' | 'URITooLong' | 'UnsupportedMediaType' | 'RangeNotSatisfiable' | 'ExpectationFailed' | 'MisdirectedRequest' | 'UnprocessableEntity' | 'Locked' | 'FailedDependency' | 'UpgradeRequired' | 'PreconditionRequired' | 'TooManyRequests' | 'RequestHeaderFieldsTooLarge' | 'InternalServerError' | 'NotImplemented' | 'BadGateway' | 'ServiceUnavailable' | 'GatewayTimeout' | 'HTTPVersionNotSupported' | 'VariantAlsoNegotiates' | 'InsufficientStorage' | 'LoopDetected' | 'NotExtended' | 'NetworkAuthenticationRequired';
|
|
384
|
+
export interface StringMatcher {
|
|
385
|
+
exact?: string;
|
|
386
|
+
prefix?: string;
|
|
387
|
+
suffix?: string;
|
|
388
|
+
safe_regex?: RegexMatcher;
|
|
389
|
+
contains?: string;
|
|
390
|
+
ignore_case?: boolean;
|
|
391
|
+
}
|
|
392
|
+
export interface Struct {
|
|
393
|
+
[x: string]: any;
|
|
394
|
+
}
|
|
392
395
|
export interface TcpHealthCheck {
|
|
393
396
|
send?: HealthCheckPayload;
|
|
394
397
|
receive?: HealthCheckPayload[];
|
|
@@ -398,41 +401,38 @@ export interface TcpKeepalive {
|
|
|
398
401
|
keepalive_time?: UInt32;
|
|
399
402
|
keepalive_interval?: UInt32;
|
|
400
403
|
}
|
|
401
|
-
export interface
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
404
|
+
export interface TimeInterval {
|
|
405
|
+
base_interval: string | {
|
|
406
|
+
seconds?: number;
|
|
407
|
+
nanos?: number;
|
|
408
|
+
};
|
|
409
|
+
max_interval?: Duration;
|
|
406
410
|
}
|
|
407
|
-
export interface
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
+
export interface TransportSocket {
|
|
412
|
+
name: string;
|
|
413
|
+
typed_config?: {
|
|
414
|
+
"@type"?: 'type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext';
|
|
415
|
+
sni?: string;
|
|
416
|
+
};
|
|
411
417
|
}
|
|
412
|
-
export interface
|
|
418
|
+
export interface TypedExtensionConfig {
|
|
413
419
|
name: string;
|
|
414
420
|
typed_config?: any;
|
|
415
421
|
}
|
|
416
|
-
export
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
healthy_edge_interval?: Duration;
|
|
433
|
-
event_log_path?: string;
|
|
434
|
-
event_logger?: TypedExtensionConfig[];
|
|
435
|
-
always_log_health_check_failures?: boolean;
|
|
436
|
-
tls_options?: HealthCheckTlsOptions;
|
|
437
|
-
transport_socket_match_criteria?: Struct;
|
|
422
|
+
export type UInt32 = number;
|
|
423
|
+
export type UInt64 = number;
|
|
424
|
+
export interface UpstreamHttpProtocolOptions {
|
|
425
|
+
auto_sni?: boolean;
|
|
426
|
+
auto_san_validation?: boolean;
|
|
427
|
+
override_auto_sni_header?: string;
|
|
428
|
+
}
|
|
429
|
+
export interface ValueMatcher {
|
|
430
|
+
null_match?: any;
|
|
431
|
+
double_match?: DoubleMatcher;
|
|
432
|
+
string_match?: StringMatcher;
|
|
433
|
+
bool_match?: boolean;
|
|
434
|
+
present_match?: boolean;
|
|
435
|
+
}
|
|
436
|
+
export interface WatchedDirectory {
|
|
437
|
+
path: string;
|
|
438
438
|
}
|