@sandbox-kit/contracts 0.0.0-stage → 0.1.1

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.
@@ -0,0 +1,1552 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file kit/sandbox/v1/sandbox.proto.
6
+ */
7
+ export declare const file_kit_sandbox_v1_sandbox: GenFile;
8
+ /**
9
+ * is the creation request. It does not include lifecycle operations or credentials.
10
+ * Omitted fields use provider defaults. A provider rejects settings it cannot honor.
11
+ *
12
+ * Example:
13
+ *
14
+ * options := &CreateOptions{
15
+ * Resources: &Resources{CPUCores: Value(0.5), MemoryMiB: Value(uint64(512))},
16
+ * }
17
+ *
18
+ * @generated from message kit.sandbox.v1.CreateOptions
19
+ */
20
+ export type CreateOptions = Message<"kit.sandbox.v1.CreateOptions"> & {
21
+ /**
22
+ * is an optional display name. Nil uses the provider default. An explicit empty string asks for an unnamed sandbox.
23
+ *
24
+ * @generated from field: optional string name = 1;
25
+ */
26
+ name?: string | undefined;
27
+ /**
28
+ * selects an image, snapshot, warm pool, or the provider default. Nil means the provider default.
29
+ *
30
+ * @generated from field: kit.sandbox.v1.SandboxSource source = 2;
31
+ */
32
+ source?: SandboxSource | undefined;
33
+ /**
34
+ * sets language, user, working directory, and entrypoint hints.
35
+ *
36
+ * @generated from field: kit.sandbox.v1.RuntimeConfig runtime = 3;
37
+ */
38
+ runtime?: RuntimeConfig | undefined;
39
+ /**
40
+ * selects the isolation class, such as a container or Linux VM.
41
+ *
42
+ * @generated from field: kit.sandbox.v1.IsolationConfig isolation = 4;
43
+ */
44
+ isolation?: IsolationConfig | undefined;
45
+ /**
46
+ * sets CPU, memory, and disk. Units are physical cores and MiB.
47
+ *
48
+ * @generated from field: kit.sandbox.v1.Resources resources = 5;
49
+ */
50
+ resources?: Resources | undefined;
51
+ /**
52
+ * sets cloud and region preferences. A preference is not a scheduling guarantee.
53
+ *
54
+ * @generated from field: kit.sandbox.v1.Placement placement = 6;
55
+ */
56
+ placement?: Placement | undefined;
57
+ /**
58
+ * is the process environment. An empty map is explicit; nil means omitted.
59
+ *
60
+ * @generated from field: map<string, string> environment = 7;
61
+ */
62
+ environment: {
63
+ [key: string]: string;
64
+ };
65
+ /**
66
+ * is caller-supplied labels or tags. An empty map is explicit; nil means omitted.
67
+ *
68
+ * @generated from field: map<string, string> labels = 8;
69
+ */
70
+ labels: {
71
+ [key: string]: string;
72
+ };
73
+ /**
74
+ * sets egress, allowlists, ports, and related network options.
75
+ *
76
+ * @generated from field: kit.sandbox.v1.NetworkConfig network = 9;
77
+ */
78
+ network?: NetworkConfig | undefined;
79
+ /**
80
+ * sets public access, workload identity, and secret references.
81
+ *
82
+ * @generated from field: kit.sandbox.v1.SecurityConfig security = 10;
83
+ */
84
+ security?: SecurityConfig | undefined;
85
+ /**
86
+ * sets lifetime and idle policies requested at creation. These are not stop or delete calls.
87
+ *
88
+ * @generated from field: kit.sandbox.v1.LifetimePolicy lifetime = 11;
89
+ */
90
+ lifetime?: LifetimePolicy | undefined;
91
+ /**
92
+ * sets the creation deadline, queue timeout, and wait condition. JSON name is "creation".
93
+ *
94
+ * @generated from field: kit.sandbox.v1.ProvisioningOptions provisioning = 12 [json_name = "creation"];
95
+ */
96
+ provisioning?: ProvisioningOptions | undefined;
97
+ /**
98
+ * @generated from field: kit.sandbox.v1.ReadinessProbe readiness = 13;
99
+ */
100
+ readiness?: ReadinessProbe | undefined;
101
+ /**
102
+ * @generated from field: kit.sandbox.v1.ObservabilityConfig observability = 14;
103
+ */
104
+ observability?: ObservabilityConfig | undefined;
105
+ /**
106
+ * holds provider-specific declarative options. It is never an SDK object or an auth credential.
107
+ *
108
+ * @generated from field: kit.sandbox.v1.MetadataObject provider_options = 15;
109
+ */
110
+ providerOptions?: MetadataObject | undefined;
111
+ };
112
+ /**
113
+ * Describes the message kit.sandbox.v1.CreateOptions.
114
+ * Use `create(CreateOptionsSchema)` to create a new message.
115
+ */
116
+ export declare const CreateOptionsSchema: GenMessage<CreateOptions>;
117
+ /**
118
+ * is the sandbox source. Set one alternative. Nil means the provider default, which need not be an image.
119
+ *
120
+ * @generated from message kit.sandbox.v1.SandboxSource
121
+ */
122
+ export type SandboxSource = Message<"kit.sandbox.v1.SandboxSource"> & {
123
+ /**
124
+ * is the selected source. Leaving it unset also means the provider default, which need not be an image.
125
+ *
126
+ * @generated from oneof kit.sandbox.v1.SandboxSource.kind
127
+ */
128
+ kind: {
129
+ /**
130
+ * @generated from field: kit.sandbox.v1.ProviderDefaultSource provider_default = 1;
131
+ */
132
+ value: ProviderDefaultSource;
133
+ case: "providerDefault";
134
+ } | {
135
+ /**
136
+ * @generated from field: kit.sandbox.v1.ImageSource image = 2;
137
+ */
138
+ value: ImageSource;
139
+ case: "image";
140
+ } | {
141
+ /**
142
+ * @generated from field: kit.sandbox.v1.SnapshotSource snapshot = 3;
143
+ */
144
+ value: SnapshotSource;
145
+ case: "snapshot";
146
+ } | {
147
+ /**
148
+ * @generated from field: kit.sandbox.v1.WarmPoolSource warm_pool = 4;
149
+ */
150
+ value: WarmPoolSource;
151
+ case: "warmPool";
152
+ } | {
153
+ case: undefined;
154
+ value?: undefined;
155
+ };
156
+ };
157
+ /**
158
+ * Describes the message kit.sandbox.v1.SandboxSource.
159
+ * Use `create(SandboxSourceSchema)` to create a new message.
160
+ */
161
+ export declare const SandboxSourceSchema: GenMessage<SandboxSource>;
162
+ /**
163
+ * asks the provider to choose its default source.
164
+ *
165
+ * @generated from message kit.sandbox.v1.ProviderDefaultSource
166
+ */
167
+ export type ProviderDefaultSource = Message<"kit.sandbox.v1.ProviderDefaultSource"> & {};
168
+ /**
169
+ * Describes the message kit.sandbox.v1.ProviderDefaultSource.
170
+ * Use `create(ProviderDefaultSourceSchema)` to create a new message.
171
+ */
172
+ export declare const ProviderDefaultSourceSchema: GenMessage<ProviderDefaultSource>;
173
+ /**
174
+ * is a container image reference, such as "alpine:3.21".
175
+ *
176
+ * @generated from message kit.sandbox.v1.ImageSource
177
+ */
178
+ export type ImageSource = Message<"kit.sandbox.v1.ImageSource"> & {
179
+ /**
180
+ * is the registry image reference.
181
+ *
182
+ * @generated from field: string reference = 1;
183
+ */
184
+ reference: string;
185
+ };
186
+ /**
187
+ * Describes the message kit.sandbox.v1.ImageSource.
188
+ * Use `create(ImageSourceSchema)` to create a new message.
189
+ */
190
+ export declare const ImageSourceSchema: GenMessage<ImageSource>;
191
+ /**
192
+ * is an existing snapshot. Reference identifies it. Kind classifies it.
193
+ *
194
+ * @generated from message kit.sandbox.v1.SnapshotSource
195
+ */
196
+ export type SnapshotSource = Message<"kit.sandbox.v1.SnapshotSource"> & {
197
+ /**
198
+ * is the provider snapshot identifier.
199
+ *
200
+ * @generated from field: string reference = 1;
201
+ */
202
+ reference: string;
203
+ /**
204
+ * classifies the snapshot. Default leaves the class to the provider.
205
+ *
206
+ * @generated from field: kit.sandbox.v1.SnapshotKind kind = 2;
207
+ */
208
+ kind: SnapshotKind;
209
+ /**
210
+ * is a provider-specific kind name when Kind is provider-specific.
211
+ *
212
+ * @generated from field: optional string provider_kind = 3;
213
+ */
214
+ providerKind?: string | undefined;
215
+ };
216
+ /**
217
+ * Describes the message kit.sandbox.v1.SnapshotSource.
218
+ * Use `create(SnapshotSourceSchema)` to create a new message.
219
+ */
220
+ export declare const SnapshotSourceSchema: GenMessage<SnapshotSource>;
221
+ /**
222
+ * is an existing warm pool. Reference identifies it.
223
+ *
224
+ * @generated from message kit.sandbox.v1.WarmPoolSource
225
+ */
226
+ export type WarmPoolSource = Message<"kit.sandbox.v1.WarmPoolSource"> & {
227
+ /**
228
+ * is the provider warm-pool identifier.
229
+ *
230
+ * @generated from field: string reference = 1;
231
+ */
232
+ reference: string;
233
+ };
234
+ /**
235
+ * Describes the message kit.sandbox.v1.WarmPoolSource.
236
+ * Use `create(WarmPoolSourceSchema)` to create a new message.
237
+ */
238
+ export declare const WarmPoolSourceSchema: GenMessage<WarmPoolSource>;
239
+ /**
240
+ * is process setup applied when the sandbox starts. Language is a hint, not an install promise.
241
+ *
242
+ * @generated from message kit.sandbox.v1.RuntimeConfig
243
+ */
244
+ export type RuntimeConfig = Message<"kit.sandbox.v1.RuntimeConfig"> & {
245
+ /**
246
+ * is a language or toolbox hint. It does not promise that a runtime is installed.
247
+ *
248
+ * @generated from field: optional string language = 1;
249
+ */
250
+ language?: string | undefined;
251
+ /**
252
+ * @generated from field: optional string version = 2;
253
+ */
254
+ version?: string | undefined;
255
+ /**
256
+ * @generated from field: optional string user = 3;
257
+ */
258
+ user?: string | undefined;
259
+ /**
260
+ * @generated from field: optional string working_directory = 4;
261
+ */
262
+ workingDirectory?: string | undefined;
263
+ /**
264
+ * @generated from field: repeated string entrypoint = 5;
265
+ */
266
+ entrypoint: string[];
267
+ /**
268
+ * @generated from field: optional bool pty = 6;
269
+ */
270
+ pty?: boolean | undefined;
271
+ };
272
+ /**
273
+ * Describes the message kit.sandbox.v1.RuntimeConfig.
274
+ * Use `create(RuntimeConfigSchema)` to create a new message.
275
+ */
276
+ export declare const RuntimeConfigSchema: GenMessage<RuntimeConfig>;
277
+ /**
278
+ * selects how the sandbox is isolated. Kind default leaves the class to the provider.
279
+ *
280
+ * @generated from message kit.sandbox.v1.IsolationConfig
281
+ */
282
+ export type IsolationConfig = Message<"kit.sandbox.v1.IsolationConfig"> & {
283
+ /**
284
+ * @generated from field: kit.sandbox.v1.IsolationKind kind = 1;
285
+ */
286
+ kind: IsolationKind;
287
+ /**
288
+ * @generated from field: optional string provider_kind = 2;
289
+ */
290
+ providerKind?: string | undefined;
291
+ /**
292
+ * @generated from field: optional bool nested_virtualization = 3;
293
+ */
294
+ nestedVirtualization?: boolean | undefined;
295
+ };
296
+ /**
297
+ * Describes the message kit.sandbox.v1.IsolationConfig.
298
+ * Use `create(IsolationConfigSchema)` to create a new message.
299
+ */
300
+ export declare const IsolationConfigSchema: GenMessage<IsolationConfig>;
301
+ /**
302
+ * is the requested compute size. Omitted fields use provider defaults.
303
+ * GPU requests and resizing are not creation settings.
304
+ *
305
+ * @generated from message kit.sandbox.v1.Resources
306
+ */
307
+ export type Resources = Message<"kit.sandbox.v1.Resources"> & {
308
+ /**
309
+ * is the requested physical CPU count. Modal allows fractions. Daytona requires whole cores.
310
+ *
311
+ * @generated from field: optional double cpu_cores = 1;
312
+ */
313
+ cpuCores?: number | undefined;
314
+ /**
315
+ * is an optional CPU ceiling. A positive limit requires a request and cannot be smaller than it.
316
+ *
317
+ * @generated from field: optional double cpu_limit_cores = 2;
318
+ */
319
+ cpuLimitCores?: number | undefined;
320
+ /**
321
+ * is requested memory in MiB. Providers convert this to the native unit.
322
+ *
323
+ * @generated from field: optional uint64 memory_mib = 3;
324
+ */
325
+ memoryMib?: bigint | undefined;
326
+ /**
327
+ * is an optional memory ceiling in MiB. A positive limit requires a request.
328
+ *
329
+ * @generated from field: optional uint64 memory_limit_mib = 4;
330
+ */
331
+ memoryLimitMib?: bigint | undefined;
332
+ /**
333
+ * is requested disk in MiB. Modal rejects a creation override. Daytona requires whole GiB.
334
+ *
335
+ * @generated from field: optional uint64 disk_mib = 5;
336
+ */
337
+ diskMib?: bigint | undefined;
338
+ };
339
+ /**
340
+ * Describes the message kit.sandbox.v1.Resources.
341
+ * Use `create(ResourcesSchema)` to create a new message.
342
+ */
343
+ export declare const ResourcesSchema: GenMessage<Resources>;
344
+ /**
345
+ * is a placement preference. The provider may still choose another location.
346
+ *
347
+ * @generated from message kit.sandbox.v1.Placement
348
+ */
349
+ export type Placement = Message<"kit.sandbox.v1.Placement"> & {
350
+ /**
351
+ * is a cloud name such as aws, gcp, or oci. Supported names depend on the provider.
352
+ *
353
+ * @generated from field: optional string cloud = 1;
354
+ */
355
+ cloud?: string | undefined;
356
+ /**
357
+ * lists region preferences in order. It does not promise multi-region support.
358
+ *
359
+ * @generated from field: repeated string regions = 2;
360
+ */
361
+ regions: string[];
362
+ /**
363
+ * is a provider target. Daytona maps the client region here. Per-request placement is unsupported.
364
+ *
365
+ * @generated from field: optional string target = 3;
366
+ */
367
+ target?: string | undefined;
368
+ };
369
+ /**
370
+ * Describes the message kit.sandbox.v1.Placement.
371
+ * Use `create(PlacementSchema)` to create a new message.
372
+ */
373
+ export declare const PlacementSchema: GenMessage<Placement>;
374
+ /**
375
+ * is an allowlist. A present empty list means deny all. Nil means the list was omitted.
376
+ *
377
+ * @generated from message kit.sandbox.v1.StringAllowlist
378
+ */
379
+ export type StringAllowlist = Message<"kit.sandbox.v1.StringAllowlist"> & {
380
+ /**
381
+ * lists allowed values. A present empty list means deny all. Nil means the list was omitted.
382
+ *
383
+ * @generated from field: repeated string entries = 1;
384
+ */
385
+ entries: string[];
386
+ };
387
+ /**
388
+ * Describes the message kit.sandbox.v1.StringAllowlist.
389
+ * Use `create(StringAllowlistSchema)` to create a new message.
390
+ */
391
+ export declare const StringAllowlistSchema: GenMessage<StringAllowlist>;
392
+ /**
393
+ * is creation-time networking. Empty allowlists do not mean the same thing as omitted ones.
394
+ *
395
+ * @generated from message kit.sandbox.v1.NetworkConfig
396
+ */
397
+ export type NetworkConfig = Message<"kit.sandbox.v1.NetworkConfig"> & {
398
+ /**
399
+ * selects the outbound policy. Default leaves it to the provider.
400
+ *
401
+ * @generated from field: kit.sandbox.v1.EgressMode egress = 1;
402
+ */
403
+ egress: EgressMode;
404
+ /**
405
+ * limits outbound traffic to these CIDR ranges.
406
+ *
407
+ * @generated from field: kit.sandbox.v1.StringAllowlist outbound_cidrs = 2;
408
+ */
409
+ outboundCidrs?: StringAllowlist | undefined;
410
+ /**
411
+ * limits outbound traffic to these domains.
412
+ *
413
+ * @generated from field: kit.sandbox.v1.StringAllowlist outbound_domains = 3;
414
+ */
415
+ outboundDomains?: StringAllowlist | undefined;
416
+ /**
417
+ * limits inbound traffic to these CIDR ranges.
418
+ *
419
+ * @generated from field: kit.sandbox.v1.StringAllowlist inbound_cidrs = 4;
420
+ */
421
+ inboundCidrs?: StringAllowlist | undefined;
422
+ /**
423
+ * asks for a private network when the provider supports one.
424
+ *
425
+ * @generated from field: optional bool private_network = 5;
426
+ */
427
+ privateNetwork?: boolean | undefined;
428
+ /**
429
+ * names another sandbox to link. The provider must already know that sandbox.
430
+ *
431
+ * @generated from field: optional string linked_sandbox = 6;
432
+ */
433
+ linkedSandbox?: string | undefined;
434
+ /**
435
+ * names a provider-managed proxy.
436
+ *
437
+ * @generated from field: optional string proxy_reference = 7;
438
+ */
439
+ proxyReference?: string | undefined;
440
+ /**
441
+ * is an outbound proxy URL.
442
+ *
443
+ * @generated from field: optional string outbound_proxy_url = 8;
444
+ */
445
+ outboundProxyUrl?: string | undefined;
446
+ /**
447
+ * is a custom domain for the sandbox, when the provider supports one.
448
+ *
449
+ * @generated from field: optional string custom_domain = 9;
450
+ */
451
+ customDomain?: string | undefined;
452
+ /**
453
+ * publishes these ports.
454
+ *
455
+ * @generated from field: repeated kit.sandbox.v1.PortBinding ports = 10;
456
+ */
457
+ ports: PortBinding[];
458
+ };
459
+ /**
460
+ * Describes the message kit.sandbox.v1.NetworkConfig.
461
+ * Use `create(NetworkConfigSchema)` to create a new message.
462
+ */
463
+ export declare const NetworkConfigSchema: GenMessage<NetworkConfig>;
464
+ /**
465
+ * publishes one port. Port is the container port. Transport selects the protocol.
466
+ *
467
+ * @generated from message kit.sandbox.v1.PortBinding
468
+ */
469
+ export type PortBinding = Message<"kit.sandbox.v1.PortBinding"> & {
470
+ /**
471
+ * is the port number to publish. Zero leaves the port to the provider; otherwise 1-65535.
472
+ *
473
+ * @generated from field: uint32 port = 1;
474
+ */
475
+ port: number;
476
+ /**
477
+ * selects TLS, HTTP/2, or plain transport. Default leaves the choice to the provider.
478
+ *
479
+ * @generated from field: kit.sandbox.v1.PortTransport transport = 2;
480
+ */
481
+ transport: PortTransport;
482
+ };
483
+ /**
484
+ * Describes the message kit.sandbox.v1.PortBinding.
485
+ * Use `create(PortBindingSchema)` to create a new message.
486
+ */
487
+ export declare const PortBindingSchema: GenMessage<PortBinding>;
488
+ /**
489
+ * sets access and secret references. Secrets are provider-managed names, not credential values.
490
+ *
491
+ * @generated from message kit.sandbox.v1.SecurityConfig
492
+ */
493
+ export type SecurityConfig = Message<"kit.sandbox.v1.SecurityConfig"> & {
494
+ /**
495
+ * requests public access when true. Nil leaves the provider default.
496
+ *
497
+ * @generated from field: optional bool public_access = 1;
498
+ */
499
+ publicAccess?: boolean | undefined;
500
+ /**
501
+ * requests a workload identity when the provider supports one.
502
+ *
503
+ * @generated from field: optional bool workload_identity = 2;
504
+ */
505
+ workloadIdentity?: boolean | undefined;
506
+ /**
507
+ * names provider-managed secrets. These are not credential values.
508
+ *
509
+ * @generated from field: repeated kit.sandbox.v1.SecretReference secrets = 3;
510
+ */
511
+ secrets: SecretReference[];
512
+ };
513
+ /**
514
+ * Describes the message kit.sandbox.v1.SecurityConfig.
515
+ * Use `create(SecurityConfigSchema)` to create a new message.
516
+ */
517
+ export declare const SecurityConfigSchema: GenMessage<SecurityConfig>;
518
+ /**
519
+ * names a provider-managed secret and how it is injected.
520
+ *
521
+ * @generated from message kit.sandbox.v1.SecretReference
522
+ */
523
+ export type SecretReference = Message<"kit.sandbox.v1.SecretReference"> & {
524
+ /**
525
+ * is the provider secret name.
526
+ *
527
+ * @generated from field: string reference = 1;
528
+ */
529
+ reference: string;
530
+ /**
531
+ * is the environment variable that receives the secret, when injection uses the environment.
532
+ *
533
+ * @generated from field: optional string environment_variable = 2;
534
+ */
535
+ environmentVariable?: string | undefined;
536
+ /**
537
+ * selects environment injection or an egress placeholder.
538
+ *
539
+ * @generated from field: kit.sandbox.v1.SecretInjection injection = 3;
540
+ */
541
+ injection: SecretInjection;
542
+ };
543
+ /**
544
+ * Describes the message kit.sandbox.v1.SecretReference.
545
+ * Use `create(SecretReferenceSchema)` to create a new message.
546
+ */
547
+ export declare const SecretReferenceSchema: GenMessage<SecretReference>;
548
+ /**
549
+ * is requested at creation. It is not a stop, pause, or delete call.
550
+ *
551
+ * @generated from message kit.sandbox.v1.LifetimePolicy
552
+ */
553
+ export type LifetimePolicy = Message<"kit.sandbox.v1.LifetimePolicy"> & {
554
+ /**
555
+ * is the maximum lifetime. Nil uses the provider default. Explicit zero means unlimited when the provider supports that.
556
+ *
557
+ * @generated from field: google.protobuf.Duration maximum_lifetime = 1;
558
+ */
559
+ maximumLifetime?: Duration | undefined;
560
+ /**
561
+ * requests deletion when the sandbox stops, where the provider supports it.
562
+ *
563
+ * @generated from field: optional bool ephemeral = 2;
564
+ */
565
+ ephemeral?: boolean | undefined;
566
+ /**
567
+ * ends the sandbox after it is idle.
568
+ *
569
+ * @generated from field: kit.sandbox.v1.AutomaticAction idle_terminate = 3;
570
+ */
571
+ idleTerminate?: AutomaticAction | undefined;
572
+ /**
573
+ * stops the sandbox after it is idle. Daytona maps a disabled stop to native zero.
574
+ *
575
+ * @generated from field: kit.sandbox.v1.AutomaticAction idle_stop = 4;
576
+ */
577
+ idleStop?: AutomaticAction | undefined;
578
+ /**
579
+ * pauses the sandbox after it is idle. A positive delay conflicts with a positive stop delay.
580
+ *
581
+ * @generated from field: kit.sandbox.v1.AutomaticAction idle_pause = 5;
582
+ */
583
+ idlePause?: AutomaticAction | undefined;
584
+ /**
585
+ * archives a stopped sandbox after a delay. Daytona rejects disable and immediate archive.
586
+ *
587
+ * @generated from field: kit.sandbox.v1.AutomaticAction stopped_archive = 6;
588
+ */
589
+ stoppedArchive?: AutomaticAction | undefined;
590
+ /**
591
+ * deletes a stopped sandbox. Daytona maps immediate delete to native zero.
592
+ *
593
+ * @generated from field: kit.sandbox.v1.AutomaticAction stopped_delete = 7;
594
+ */
595
+ stoppedDelete?: AutomaticAction | undefined;
596
+ };
597
+ /**
598
+ * Describes the message kit.sandbox.v1.LifetimePolicy.
599
+ * Use `create(LifetimePolicySchema)` to create a new message.
600
+ */
601
+ export declare const LifetimePolicySchema: GenMessage<LifetimePolicy>;
602
+ /**
603
+ * is one idle or stopped policy. Disabled, immediate, and delayed do not share one zero value.
604
+ *
605
+ * @generated from message kit.sandbox.v1.AutomaticAction
606
+ */
607
+ export type AutomaticAction = Message<"kit.sandbox.v1.AutomaticAction"> & {
608
+ /**
609
+ * is default, disabled, or after a delay. Default omits the policy.
610
+ *
611
+ * @generated from field: kit.sandbox.v1.PolicyMode mode = 1;
612
+ */
613
+ mode: PolicyMode;
614
+ /**
615
+ * is the delay used when Mode is after. Zero means immediate, not disabled.
616
+ *
617
+ * @generated from field: google.protobuf.Duration after = 2;
618
+ */
619
+ after?: Duration | undefined;
620
+ };
621
+ /**
622
+ * Describes the message kit.sandbox.v1.AutomaticAction.
623
+ * Use `create(AutomaticActionSchema)` to create a new message.
624
+ */
625
+ export declare const AutomaticActionSchema: GenMessage<AutomaticAction>;
626
+ /**
627
+ * is creation waiting, separate from sandbox lifetime.
628
+ *
629
+ * @generated from message kit.sandbox.v1.ProvisioningOptions
630
+ */
631
+ export type ProvisioningOptions = Message<"kit.sandbox.v1.ProvisioningOptions"> & {
632
+ /**
633
+ * is the client operation deadline, distinct from sandbox lifetime and queue time.
634
+ * Nil and explicit zero add no Kit deadline.
635
+ *
636
+ * @generated from field: google.protobuf.Duration timeout = 1;
637
+ */
638
+ timeout?: Duration | undefined;
639
+ /**
640
+ * is how long creation may wait in a provider queue. It is not the sandbox lifetime.
641
+ *
642
+ * @generated from field: google.protobuf.Duration queue_timeout = 2;
643
+ */
644
+ queueTimeout?: Duration | undefined;
645
+ /**
646
+ * is the condition creation waits for before it returns.
647
+ *
648
+ * @generated from field: kit.sandbox.v1.WaitCondition wait_for = 3;
649
+ */
650
+ waitFor: WaitCondition;
651
+ };
652
+ /**
653
+ * Describes the message kit.sandbox.v1.ProvisioningOptions.
654
+ * Use `create(ProvisioningOptionsSchema)` to create a new message.
655
+ */
656
+ export declare const ProvisioningOptionsSchema: GenMessage<ProvisioningOptions>;
657
+ /**
658
+ * is the check used when waiting until ready. Set either a TCP port or a command.
659
+ *
660
+ * @generated from message kit.sandbox.v1.ReadinessProbe
661
+ */
662
+ export type ReadinessProbe = Message<"kit.sandbox.v1.ReadinessProbe"> & {
663
+ /**
664
+ * @generated from oneof kit.sandbox.v1.ReadinessProbe.check
665
+ */
666
+ check: {
667
+ /**
668
+ * @generated from field: uint32 tcp_port = 1;
669
+ */
670
+ value: number;
671
+ case: "tcpPort";
672
+ } | {
673
+ /**
674
+ * @generated from field: kit.sandbox.v1.CommandProbe command = 2;
675
+ */
676
+ value: CommandProbe;
677
+ case: "command";
678
+ } | {
679
+ case: undefined;
680
+ value?: undefined;
681
+ };
682
+ };
683
+ /**
684
+ * Describes the message kit.sandbox.v1.ReadinessProbe.
685
+ * Use `create(ReadinessProbeSchema)` to create a new message.
686
+ */
687
+ export declare const ReadinessProbeSchema: GenMessage<ReadinessProbe>;
688
+ /**
689
+ * is a command readiness check. Argv is the command and its arguments.
690
+ *
691
+ * @generated from message kit.sandbox.v1.CommandProbe
692
+ */
693
+ export type CommandProbe = Message<"kit.sandbox.v1.CommandProbe"> & {
694
+ /**
695
+ * @generated from field: repeated string argv = 1;
696
+ */
697
+ argv: string[];
698
+ };
699
+ /**
700
+ * Describes the message kit.sandbox.v1.CommandProbe.
701
+ * Use `create(CommandProbeSchema)` to create a new message.
702
+ */
703
+ export declare const CommandProbeSchema: GenMessage<CommandProbe>;
704
+ /**
705
+ * sets provider logging and telemetry options.
706
+ *
707
+ * @generated from message kit.sandbox.v1.ObservabilityConfig
708
+ */
709
+ export type ObservabilityConfig = Message<"kit.sandbox.v1.ObservabilityConfig"> & {
710
+ /**
711
+ * @generated from field: optional bool verbose = 1;
712
+ */
713
+ verbose?: boolean | undefined;
714
+ /**
715
+ * @generated from field: optional string telemetry_endpoint = 2;
716
+ */
717
+ telemetryEndpoint?: string | undefined;
718
+ };
719
+ /**
720
+ * Describes the message kit.sandbox.v1.ObservabilityConfig.
721
+ * Use `create(ObservabilityConfigSchema)` to create a new message.
722
+ */
723
+ export declare const ObservabilityConfigSchema: GenMessage<ObservabilityConfig>;
724
+ /**
725
+ * is the metadata returned by a provider create call.
726
+ *
727
+ * @generated from message kit.sandbox.v1.CreateResult
728
+ */
729
+ export type CreateResult = Message<"kit.sandbox.v1.CreateResult"> & {
730
+ /**
731
+ * is the created sandbox. ID must be present before a public handle is built.
732
+ *
733
+ * @generated from field: kit.sandbox.v1.SandboxInfo sandbox = 1;
734
+ */
735
+ sandbox?: SandboxInfo | undefined;
736
+ };
737
+ /**
738
+ * Describes the message kit.sandbox.v1.CreateResult.
739
+ * Use `create(CreateResultSchema)` to create a new message.
740
+ */
741
+ export declare const CreateResultSchema: GenMessage<CreateResult>;
742
+ /**
743
+ * configures starting a persistent sandbox. Nil timeout inherits Config.Timeout.
744
+ *
745
+ * @generated from message kit.sandbox.v1.StartOptions
746
+ */
747
+ export type StartOptions = Message<"kit.sandbox.v1.StartOptions"> & {
748
+ /**
749
+ * @generated from field: google.protobuf.Duration timeout = 1;
750
+ */
751
+ timeout?: Duration | undefined;
752
+ };
753
+ /**
754
+ * Describes the message kit.sandbox.v1.StartOptions.
755
+ * Use `create(StartOptionsSchema)` to create a new message.
756
+ */
757
+ export declare const StartOptionsSchema: GenMessage<StartOptions>;
758
+ /**
759
+ * configures a restartable stop. Force requests an immediate provider-native stop.
760
+ *
761
+ * @generated from message kit.sandbox.v1.StopOptions
762
+ */
763
+ export type StopOptions = Message<"kit.sandbox.v1.StopOptions"> & {
764
+ /**
765
+ * @generated from field: google.protobuf.Duration timeout = 1;
766
+ */
767
+ timeout?: Duration | undefined;
768
+ /**
769
+ * @generated from field: optional bool force = 2;
770
+ */
771
+ force?: boolean | undefined;
772
+ };
773
+ /**
774
+ * Describes the message kit.sandbox.v1.StopOptions.
775
+ * Use `create(StopOptionsSchema)` to create a new message.
776
+ */
777
+ export declare const StopOptionsSchema: GenMessage<StopOptions>;
778
+ /**
779
+ * configures a memory-preserving pause. Nil timeout inherits Config.Timeout.
780
+ *
781
+ * @generated from message kit.sandbox.v1.PauseOptions
782
+ */
783
+ export type PauseOptions = Message<"kit.sandbox.v1.PauseOptions"> & {
784
+ /**
785
+ * @generated from field: google.protobuf.Duration timeout = 1;
786
+ */
787
+ timeout?: Duration | undefined;
788
+ };
789
+ /**
790
+ * Describes the message kit.sandbox.v1.PauseOptions.
791
+ * Use `create(PauseOptionsSchema)` to create a new message.
792
+ */
793
+ export declare const PauseOptionsSchema: GenMessage<PauseOptions>;
794
+ /**
795
+ * configures permanent completion of the current execution.
796
+ *
797
+ * @generated from message kit.sandbox.v1.TerminateOptions
798
+ */
799
+ export type TerminateOptions = Message<"kit.sandbox.v1.TerminateOptions"> & {
800
+ /**
801
+ * @generated from field: google.protobuf.Duration timeout = 1;
802
+ */
803
+ timeout?: Duration | undefined;
804
+ /**
805
+ * @generated from field: optional bool wait = 2;
806
+ */
807
+ wait?: boolean | undefined;
808
+ };
809
+ /**
810
+ * Describes the message kit.sandbox.v1.TerminateOptions.
811
+ * Use `create(TerminateOptionsSchema)` to create a new message.
812
+ */
813
+ export declare const TerminateOptionsSchema: GenMessage<TerminateOptions>;
814
+ /**
815
+ * configures moving retained sandbox state to provider archive storage.
816
+ *
817
+ * @generated from message kit.sandbox.v1.ArchiveOptions
818
+ */
819
+ export type ArchiveOptions = Message<"kit.sandbox.v1.ArchiveOptions"> & {
820
+ /**
821
+ * @generated from field: google.protobuf.Duration timeout = 1;
822
+ */
823
+ timeout?: Duration | undefined;
824
+ };
825
+ /**
826
+ * Describes the message kit.sandbox.v1.ArchiveOptions.
827
+ * Use `create(ArchiveOptionsSchema)` to create a new message.
828
+ */
829
+ export declare const ArchiveOptionsSchema: GenMessage<ArchiveOptions>;
830
+ /**
831
+ * configures irreversible sandbox deletion.
832
+ *
833
+ * @generated from message kit.sandbox.v1.DeleteOptions
834
+ */
835
+ export type DeleteOptions = Message<"kit.sandbox.v1.DeleteOptions"> & {
836
+ /**
837
+ * @generated from field: google.protobuf.Duration timeout = 1;
838
+ */
839
+ timeout?: Duration | undefined;
840
+ /**
841
+ * @generated from field: optional bool wait = 2;
842
+ */
843
+ wait?: boolean | undefined;
844
+ };
845
+ /**
846
+ * Describes the message kit.sandbox.v1.DeleteOptions.
847
+ * Use `create(DeleteOptionsSchema)` to create a new message.
848
+ */
849
+ export declare const DeleteOptionsSchema: GenMessage<DeleteOptions>;
850
+ /**
851
+ * is the result of permanently completing an execution.
852
+ *
853
+ * @generated from message kit.sandbox.v1.ExitResult
854
+ */
855
+ export type ExitResult = Message<"kit.sandbox.v1.ExitResult"> & {
856
+ /**
857
+ * @generated from field: optional int32 exit_code = 1;
858
+ */
859
+ exitCode?: number | undefined;
860
+ };
861
+ /**
862
+ * Describes the message kit.sandbox.v1.ExitResult.
863
+ * Use `create(ExitResultSchema)` to create a new message.
864
+ */
865
+ export declare const ExitResultSchema: GenMessage<ExitResult>;
866
+ /**
867
+ * is shared metadata. Optional fields stay absent when the provider did not report them.
868
+ *
869
+ * Example:
870
+ *
871
+ * info := instance.Info()
872
+ * fmt.Println(info.GetID(), info.Origins[InfoFieldName])
873
+ *
874
+ * @generated from message kit.sandbox.v1.SandboxInfo
875
+ */
876
+ export type SandboxInfo = Message<"kit.sandbox.v1.SandboxInfo"> & {
877
+ /**
878
+ * is the provider sandbox identifier. Creation fails locally when it is empty.
879
+ *
880
+ * @generated from field: string id = 1;
881
+ */
882
+ id: string;
883
+ /**
884
+ * is the selected provider identifier.
885
+ *
886
+ * @generated from field: string provider = 2;
887
+ */
888
+ provider: string;
889
+ /**
890
+ * is the sandbox name when one is known. Nil means it was not reported.
891
+ *
892
+ * @generated from field: optional string name = 3;
893
+ */
894
+ name?: string | undefined;
895
+ /**
896
+ * is the provider's own state string. It is not a shared lifecycle state machine.
897
+ *
898
+ * @generated from field: optional string provider_state = 4;
899
+ */
900
+ providerState?: string | undefined;
901
+ /**
902
+ * @generated from field: optional string region = 5;
903
+ */
904
+ region?: string | undefined;
905
+ /**
906
+ * @generated from field: kit.sandbox.v1.IsolationConfig isolation = 6;
907
+ */
908
+ isolation?: IsolationConfig | undefined;
909
+ /**
910
+ * @generated from field: kit.sandbox.v1.Resources resources = 7;
911
+ */
912
+ resources?: Resources | undefined;
913
+ /**
914
+ * @generated from field: map<string, string> labels = 8;
915
+ */
916
+ labels: {
917
+ [key: string]: string;
918
+ };
919
+ /**
920
+ * @generated from field: google.protobuf.Timestamp created_at = 9;
921
+ */
922
+ createdAt?: Timestamp | undefined;
923
+ /**
924
+ * @generated from field: kit.sandbox.v1.MetadataObject provider_metadata = 10;
925
+ */
926
+ providerMetadata?: MetadataObject | undefined;
927
+ /**
928
+ * records where each present field came from. A missing entry means the origin is unknown.
929
+ *
930
+ * @generated from field: map<string, kit.sandbox.v1.ValueOrigin> origins = 11;
931
+ */
932
+ origins: {
933
+ [key: string]: ValueOrigin;
934
+ };
935
+ /**
936
+ * is the normalized lifecycle state when Kit can map the provider state.
937
+ *
938
+ * @generated from field: kit.sandbox.v1.SandboxState state = 12;
939
+ */
940
+ state: SandboxState;
941
+ /**
942
+ * reports that execution/resource lifecycle is permanently complete.
943
+ *
944
+ * @generated from field: optional bool terminal = 13;
945
+ */
946
+ terminal?: boolean | undefined;
947
+ };
948
+ /**
949
+ * Describes the message kit.sandbox.v1.SandboxInfo.
950
+ * Use `create(SandboxInfoSchema)` to create a new message.
951
+ */
952
+ export declare const SandboxInfoSchema: GenMessage<SandboxInfo>;
953
+ /**
954
+ * is the portable error detail. The native cause stays on the runtime error and is not serialized.
955
+ * Unknown classifications do not imply that a retry is safe.
956
+ *
957
+ * Example:
958
+ *
959
+ * err := NewError(ErrorInfo{
960
+ * Kind: ErrorKindUnsupported,
961
+ * Field: CreateFieldResourcesDiskMiB,
962
+ * Message: "disk overrides are unsupported",
963
+ * }, cause)
964
+ *
965
+ * @generated from message kit.sandbox.v1.ErrorInfo
966
+ */
967
+ export type ErrorInfo = Message<"kit.sandbox.v1.ErrorInfo"> & {
968
+ /**
969
+ * is the shared category, such as invalid argument or unsupported.
970
+ *
971
+ * @generated from field: kit.sandbox.v1.ErrorKind kind = 1;
972
+ */
973
+ kind: ErrorKind;
974
+ /**
975
+ * is the provider identifier, such as "modal" or "daytona". Empty when the failure is local.
976
+ *
977
+ * @generated from field: string provider = 2;
978
+ */
979
+ provider: string;
980
+ /**
981
+ * is the Kit operation, such as "create", "initialize", or "close".
982
+ *
983
+ * @generated from field: string operation = 3;
984
+ */
985
+ operation: string;
986
+ /**
987
+ * is the canonical field path involved, such as "resources.cpu_cores". Empty when no field applies.
988
+ *
989
+ * @generated from field: string field = 4;
990
+ */
991
+ field: string;
992
+ /**
993
+ * is the human-readable explanation.
994
+ *
995
+ * @generated from field: string message = 5;
996
+ */
997
+ message: string;
998
+ /**
999
+ * is the native HTTP or transport status when the provider reported one.
1000
+ *
1001
+ * @generated from field: optional uint32 status_code = 6;
1002
+ */
1003
+ statusCode?: number | undefined;
1004
+ /**
1005
+ * is the provider's own error code when one was reported.
1006
+ *
1007
+ * @generated from field: optional string provider_code = 7;
1008
+ */
1009
+ providerCode?: string | undefined;
1010
+ /**
1011
+ * is the provider component that reported the error, when available.
1012
+ *
1013
+ * @generated from field: optional string provider_source = 8;
1014
+ */
1015
+ providerSource?: string | undefined;
1016
+ /**
1017
+ * is a stable portable validation or policy rule identifier, when applicable.
1018
+ *
1019
+ * @generated from field: optional string rule = 9;
1020
+ */
1021
+ rule?: string | undefined;
1022
+ };
1023
+ /**
1024
+ * Describes the message kit.sandbox.v1.ErrorInfo.
1025
+ * Use `create(ErrorInfoSchema)` to create a new message.
1026
+ */
1027
+ export declare const ErrorInfoSchema: GenMessage<ErrorInfo>;
1028
+ /**
1029
+ * Exact numeric alternatives avoid protobuf Struct's double-only representation.
1030
+ * An empty value represents null.
1031
+ *
1032
+ * @generated from message kit.sandbox.v1.MetadataValue
1033
+ */
1034
+ export type MetadataValue = Message<"kit.sandbox.v1.MetadataValue"> & {
1035
+ /**
1036
+ * @generated from oneof kit.sandbox.v1.MetadataValue.value
1037
+ */
1038
+ value: {
1039
+ /**
1040
+ * @generated from field: bool boolean = 1;
1041
+ */
1042
+ value: boolean;
1043
+ case: "boolean";
1044
+ } | {
1045
+ /**
1046
+ * @generated from field: string text = 2;
1047
+ */
1048
+ value: string;
1049
+ case: "text";
1050
+ } | {
1051
+ /**
1052
+ * @generated from field: int64 signed_integer = 3;
1053
+ */
1054
+ value: bigint;
1055
+ case: "signedInteger";
1056
+ } | {
1057
+ /**
1058
+ * @generated from field: uint64 unsigned_integer = 4;
1059
+ */
1060
+ value: bigint;
1061
+ case: "unsignedInteger";
1062
+ } | {
1063
+ /**
1064
+ * @generated from field: double number = 5;
1065
+ */
1066
+ value: number;
1067
+ case: "number";
1068
+ } | {
1069
+ /**
1070
+ * @generated from field: bytes binary = 6;
1071
+ */
1072
+ value: Uint8Array;
1073
+ case: "binary";
1074
+ } | {
1075
+ /**
1076
+ * @generated from field: kit.sandbox.v1.MetadataList list = 7;
1077
+ */
1078
+ value: MetadataList;
1079
+ case: "list";
1080
+ } | {
1081
+ /**
1082
+ * @generated from field: kit.sandbox.v1.MetadataObject object = 8;
1083
+ */
1084
+ value: MetadataObject;
1085
+ case: "object";
1086
+ } | {
1087
+ case: undefined;
1088
+ value?: undefined;
1089
+ };
1090
+ };
1091
+ /**
1092
+ * Describes the message kit.sandbox.v1.MetadataValue.
1093
+ * Use `create(MetadataValueSchema)` to create a new message.
1094
+ */
1095
+ export declare const MetadataValueSchema: GenMessage<MetadataValue>;
1096
+ /**
1097
+ * is an ordered list of metadata values.
1098
+ *
1099
+ * @generated from message kit.sandbox.v1.MetadataList
1100
+ */
1101
+ export type MetadataList = Message<"kit.sandbox.v1.MetadataList"> & {
1102
+ /**
1103
+ * is the list contents. An empty list is explicit.
1104
+ *
1105
+ * @generated from field: repeated kit.sandbox.v1.MetadataValue values = 1;
1106
+ */
1107
+ values: MetadataValue[];
1108
+ };
1109
+ /**
1110
+ * Describes the message kit.sandbox.v1.MetadataList.
1111
+ * Use `create(MetadataListSchema)` to create a new message.
1112
+ */
1113
+ export declare const MetadataListSchema: GenMessage<MetadataList>;
1114
+ /**
1115
+ * is a string-keyed metadata object. Go exposes this as map[string]any.
1116
+ *
1117
+ * @generated from message kit.sandbox.v1.MetadataObject
1118
+ */
1119
+ export type MetadataObject = Message<"kit.sandbox.v1.MetadataObject"> & {
1120
+ /**
1121
+ * is the object contents. An empty object is explicit.
1122
+ *
1123
+ * @generated from field: map<string, kit.sandbox.v1.MetadataValue> values = 1;
1124
+ */
1125
+ values: {
1126
+ [key: string]: MetadataValue;
1127
+ };
1128
+ };
1129
+ /**
1130
+ * Describes the message kit.sandbox.v1.MetadataObject.
1131
+ * Use `create(MetadataObjectSchema)` to create a new message.
1132
+ */
1133
+ export declare const MetadataObjectSchema: GenMessage<MetadataObject>;
1134
+ /**
1135
+ * classifies a snapshot. Preserve the numeric values.
1136
+ *
1137
+ * @generated from enum kit.sandbox.v1.SnapshotKind
1138
+ */
1139
+ export declare enum SnapshotKind {
1140
+ /**
1141
+ * @generated from enum value: SNAPSHOT_KIND_DEFAULT = 0;
1142
+ */
1143
+ DEFAULT = 0,
1144
+ /**
1145
+ * @generated from enum value: SNAPSHOT_KIND_FILESYSTEM = 1;
1146
+ */
1147
+ FILESYSTEM = 1,
1148
+ /**
1149
+ * @generated from enum value: SNAPSHOT_KIND_MEMORY = 2;
1150
+ */
1151
+ MEMORY = 2,
1152
+ /**
1153
+ * @generated from enum value: SNAPSHOT_KIND_IMAGE = 3;
1154
+ */
1155
+ IMAGE = 3,
1156
+ /**
1157
+ * @generated from enum value: SNAPSHOT_KIND_MACHINE = 4;
1158
+ */
1159
+ MACHINE = 4,
1160
+ /**
1161
+ * @generated from enum value: SNAPSHOT_KIND_CHECKPOINT = 5;
1162
+ */
1163
+ CHECKPOINT = 5,
1164
+ /**
1165
+ * @generated from enum value: SNAPSHOT_KIND_PROVIDER_SPECIFIC = 6;
1166
+ */
1167
+ PROVIDER_SPECIFIC = 6
1168
+ }
1169
+ /**
1170
+ * Describes the enum kit.sandbox.v1.SnapshotKind.
1171
+ */
1172
+ export declare const SnapshotKindSchema: GenEnum<SnapshotKind>;
1173
+ /**
1174
+ * is the isolation class. Preserve the numeric values.
1175
+ *
1176
+ * @generated from enum kit.sandbox.v1.IsolationKind
1177
+ */
1178
+ export declare enum IsolationKind {
1179
+ /**
1180
+ * @generated from enum value: ISOLATION_KIND_DEFAULT = 0;
1181
+ */
1182
+ DEFAULT = 0,
1183
+ /**
1184
+ * @generated from enum value: ISOLATION_KIND_CONTAINER = 1;
1185
+ */
1186
+ CONTAINER = 1,
1187
+ /**
1188
+ * @generated from enum value: ISOLATION_KIND_MICROVM = 2;
1189
+ */
1190
+ MICROVM = 2,
1191
+ /**
1192
+ * @generated from enum value: ISOLATION_KIND_LINUX_VM = 3;
1193
+ */
1194
+ LINUX_VM = 3,
1195
+ /**
1196
+ * @generated from enum value: ISOLATION_KIND_WORKER = 4;
1197
+ */
1198
+ WORKER = 4,
1199
+ /**
1200
+ * @generated from enum value: ISOLATION_KIND_PROVIDER_SPECIFIC = 5;
1201
+ */
1202
+ PROVIDER_SPECIFIC = 5
1203
+ }
1204
+ /**
1205
+ * Describes the enum kit.sandbox.v1.IsolationKind.
1206
+ */
1207
+ export declare const IsolationKindSchema: GenEnum<IsolationKind>;
1208
+ /**
1209
+ * controls outbound traffic. Default leaves the policy to the provider.
1210
+ *
1211
+ * @generated from enum kit.sandbox.v1.EgressMode
1212
+ */
1213
+ export declare enum EgressMode {
1214
+ /**
1215
+ * @generated from enum value: EGRESS_MODE_DEFAULT = 0;
1216
+ */
1217
+ DEFAULT = 0,
1218
+ /**
1219
+ * @generated from enum value: EGRESS_MODE_ALLOW_ALL = 1;
1220
+ */
1221
+ ALLOW_ALL = 1,
1222
+ /**
1223
+ * blocks all networking, including private connections.
1224
+ *
1225
+ * @generated from enum value: EGRESS_MODE_BLOCK_ALL = 2;
1226
+ */
1227
+ BLOCK_ALL = 2,
1228
+ /**
1229
+ * @generated from enum value: EGRESS_MODE_RESTRICTED = 3;
1230
+ */
1231
+ RESTRICTED = 3
1232
+ }
1233
+ /**
1234
+ * Describes the enum kit.sandbox.v1.EgressMode.
1235
+ */
1236
+ export declare const EgressModeSchema: GenEnum<EgressMode>;
1237
+ /**
1238
+ * is the protocol used for a published port.
1239
+ *
1240
+ * @generated from enum kit.sandbox.v1.PortTransport
1241
+ */
1242
+ export declare enum PortTransport {
1243
+ /**
1244
+ * @generated from enum value: PORT_TRANSPORT_DEFAULT = 0;
1245
+ */
1246
+ DEFAULT = 0,
1247
+ /**
1248
+ * @generated from enum value: PORT_TRANSPORT_TLS = 1;
1249
+ */
1250
+ TLS = 1,
1251
+ /**
1252
+ * @generated from enum value: PORT_TRANSPORT_HTTP2_TLS = 2;
1253
+ */
1254
+ HTTP2_TLS = 2,
1255
+ /**
1256
+ * @generated from enum value: PORT_TRANSPORT_PLAIN = 3;
1257
+ */
1258
+ PLAIN = 3
1259
+ }
1260
+ /**
1261
+ * Describes the enum kit.sandbox.v1.PortTransport.
1262
+ */
1263
+ export declare const PortTransportSchema: GenEnum<PortTransport>;
1264
+ /**
1265
+ * selects how a secret is exposed to the sandbox.
1266
+ *
1267
+ * @generated from enum kit.sandbox.v1.SecretInjection
1268
+ */
1269
+ export declare enum SecretInjection {
1270
+ /**
1271
+ * @generated from enum value: SECRET_INJECTION_DEFAULT = 0;
1272
+ */
1273
+ DEFAULT = 0,
1274
+ /**
1275
+ * @generated from enum value: SECRET_INJECTION_ENVIRONMENT = 1;
1276
+ */
1277
+ ENVIRONMENT = 1,
1278
+ /**
1279
+ * @generated from enum value: SECRET_INJECTION_EGRESS_PLACEHOLDER = 2;
1280
+ */
1281
+ EGRESS_PLACEHOLDER = 2
1282
+ }
1283
+ /**
1284
+ * Describes the enum kit.sandbox.v1.SecretInjection.
1285
+ */
1286
+ export declare const SecretInjectionSchema: GenEnum<SecretInjection>;
1287
+ /**
1288
+ * selects whether an automatic action is omitted, disabled, or delayed.
1289
+ *
1290
+ * @generated from enum kit.sandbox.v1.PolicyMode
1291
+ */
1292
+ export declare enum PolicyMode {
1293
+ /**
1294
+ * @generated from enum value: POLICY_MODE_DEFAULT = 0;
1295
+ */
1296
+ DEFAULT = 0,
1297
+ /**
1298
+ * @generated from enum value: POLICY_MODE_DISABLED = 1;
1299
+ */
1300
+ DISABLED = 1,
1301
+ /**
1302
+ * @generated from enum value: POLICY_MODE_AFTER = 2;
1303
+ */
1304
+ AFTER = 2
1305
+ }
1306
+ /**
1307
+ * Describes the enum kit.sandbox.v1.PolicyMode.
1308
+ */
1309
+ export declare const PolicyModeSchema: GenEnum<PolicyMode>;
1310
+ /**
1311
+ * is how far creation waits before returning. Ready can require a probe and a positive timeout.
1312
+ *
1313
+ * @generated from enum kit.sandbox.v1.WaitCondition
1314
+ */
1315
+ export declare enum WaitCondition {
1316
+ /**
1317
+ * @generated from enum value: WAIT_CONDITION_DEFAULT = 0;
1318
+ */
1319
+ DEFAULT = 0,
1320
+ /**
1321
+ * @generated from enum value: WAIT_CONDITION_SUBMITTED = 1;
1322
+ */
1323
+ SUBMITTED = 1,
1324
+ /**
1325
+ * @generated from enum value: WAIT_CONDITION_SCHEDULED = 2;
1326
+ */
1327
+ SCHEDULED = 2,
1328
+ /**
1329
+ * @generated from enum value: WAIT_CONDITION_STARTED = 3;
1330
+ */
1331
+ STARTED = 3,
1332
+ /**
1333
+ * @generated from enum value: WAIT_CONDITION_READY = 4;
1334
+ */
1335
+ READY = 4
1336
+ }
1337
+ /**
1338
+ * Describes the enum kit.sandbox.v1.WaitCondition.
1339
+ */
1340
+ export declare const WaitConditionSchema: GenEnum<WaitCondition>;
1341
+ /**
1342
+ * is a portable lifecycle state. ProviderState retains the native value.
1343
+ *
1344
+ * @generated from enum kit.sandbox.v1.SandboxState
1345
+ */
1346
+ export declare enum SandboxState {
1347
+ /**
1348
+ * @generated from enum value: SANDBOX_STATE_UNKNOWN = 0;
1349
+ */
1350
+ UNKNOWN = 0,
1351
+ /**
1352
+ * @generated from enum value: SANDBOX_STATE_QUEUED = 1;
1353
+ */
1354
+ QUEUED = 1,
1355
+ /**
1356
+ * @generated from enum value: SANDBOX_STATE_STARTING = 2;
1357
+ */
1358
+ STARTING = 2,
1359
+ /**
1360
+ * @generated from enum value: SANDBOX_STATE_RUNNING = 3;
1361
+ */
1362
+ RUNNING = 3,
1363
+ /**
1364
+ * @generated from enum value: SANDBOX_STATE_STOPPING = 4;
1365
+ */
1366
+ STOPPING = 4,
1367
+ /**
1368
+ * @generated from enum value: SANDBOX_STATE_STOPPED = 5;
1369
+ */
1370
+ STOPPED = 5,
1371
+ /**
1372
+ * @generated from enum value: SANDBOX_STATE_PAUSING = 6;
1373
+ */
1374
+ PAUSING = 6,
1375
+ /**
1376
+ * @generated from enum value: SANDBOX_STATE_PAUSED = 7;
1377
+ */
1378
+ PAUSED = 7,
1379
+ /**
1380
+ * @generated from enum value: SANDBOX_STATE_ARCHIVING = 8;
1381
+ */
1382
+ ARCHIVING = 8,
1383
+ /**
1384
+ * @generated from enum value: SANDBOX_STATE_ARCHIVED = 9;
1385
+ */
1386
+ ARCHIVED = 9,
1387
+ /**
1388
+ * @generated from enum value: SANDBOX_STATE_TERMINATING = 10;
1389
+ */
1390
+ TERMINATING = 10,
1391
+ /**
1392
+ * @generated from enum value: SANDBOX_STATE_TERMINATED = 11;
1393
+ */
1394
+ TERMINATED = 11,
1395
+ /**
1396
+ * @generated from enum value: SANDBOX_STATE_DELETING = 12;
1397
+ */
1398
+ DELETING = 12,
1399
+ /**
1400
+ * @generated from enum value: SANDBOX_STATE_DELETED = 13;
1401
+ */
1402
+ DELETED = 13,
1403
+ /**
1404
+ * @generated from enum value: SANDBOX_STATE_ERROR = 14;
1405
+ */
1406
+ ERROR = 14
1407
+ }
1408
+ /**
1409
+ * Describes the enum kit.sandbox.v1.SandboxState.
1410
+ */
1411
+ export declare const SandboxStateSchema: GenEnum<SandboxState>;
1412
+ /**
1413
+ * identifies an operation supported by a particular resolved sandbox handle.
1414
+ *
1415
+ * @generated from enum kit.sandbox.v1.LifecycleCapability
1416
+ */
1417
+ export declare enum LifecycleCapability {
1418
+ /**
1419
+ * @generated from enum value: LIFECYCLE_CAPABILITY_UNKNOWN = 0;
1420
+ */
1421
+ UNKNOWN = 0,
1422
+ /**
1423
+ * @generated from enum value: LIFECYCLE_CAPABILITY_REFRESH = 1;
1424
+ */
1425
+ REFRESH = 1,
1426
+ /**
1427
+ * @generated from enum value: LIFECYCLE_CAPABILITY_START = 2;
1428
+ */
1429
+ START = 2,
1430
+ /**
1431
+ * @generated from enum value: LIFECYCLE_CAPABILITY_STOP = 3;
1432
+ */
1433
+ STOP = 3,
1434
+ /**
1435
+ * @generated from enum value: LIFECYCLE_CAPABILITY_PAUSE = 4;
1436
+ */
1437
+ PAUSE = 4,
1438
+ /**
1439
+ * @generated from enum value: LIFECYCLE_CAPABILITY_TERMINATE = 5;
1440
+ */
1441
+ TERMINATE = 5,
1442
+ /**
1443
+ * @generated from enum value: LIFECYCLE_CAPABILITY_ARCHIVE = 6;
1444
+ */
1445
+ ARCHIVE = 6,
1446
+ /**
1447
+ * @generated from enum value: LIFECYCLE_CAPABILITY_DELETE = 7;
1448
+ */
1449
+ DELETE = 7
1450
+ }
1451
+ /**
1452
+ * Describes the enum kit.sandbox.v1.LifecycleCapability.
1453
+ */
1454
+ export declare const LifecycleCapabilitySchema: GenEnum<LifecycleCapability>;
1455
+ /**
1456
+ * records whether a metadata field came from the provider or from the request.
1457
+ *
1458
+ * @generated from enum kit.sandbox.v1.ValueOrigin
1459
+ */
1460
+ export declare enum ValueOrigin {
1461
+ /**
1462
+ * @generated from enum value: VALUE_ORIGIN_UNKNOWN = 0;
1463
+ */
1464
+ UNKNOWN = 0,
1465
+ /**
1466
+ * @generated from enum value: VALUE_ORIGIN_PROVIDER = 1;
1467
+ */
1468
+ PROVIDER = 1,
1469
+ /**
1470
+ * @generated from enum value: VALUE_ORIGIN_REQUEST = 2;
1471
+ */
1472
+ REQUEST = 2
1473
+ }
1474
+ /**
1475
+ * Describes the enum kit.sandbox.v1.ValueOrigin.
1476
+ */
1477
+ export declare const ValueOriginSchema: GenEnum<ValueOrigin>;
1478
+ /**
1479
+ * is the shared error category. It does not imply that a retry is safe.
1480
+ *
1481
+ * @generated from enum kit.sandbox.v1.ErrorKind
1482
+ */
1483
+ export declare enum ErrorKind {
1484
+ /**
1485
+ * @generated from enum value: ERROR_KIND_UNKNOWN = 0;
1486
+ */
1487
+ UNKNOWN = 0,
1488
+ /**
1489
+ * @generated from enum value: ERROR_KIND_INVALID_ARGUMENT = 1;
1490
+ */
1491
+ INVALID_ARGUMENT = 1,
1492
+ /**
1493
+ * @generated from enum value: ERROR_KIND_UNSUPPORTED = 2;
1494
+ */
1495
+ UNSUPPORTED = 2,
1496
+ /**
1497
+ * @generated from enum value: ERROR_KIND_AUTHENTICATION = 3;
1498
+ */
1499
+ AUTHENTICATION = 3,
1500
+ /**
1501
+ * @generated from enum value: ERROR_KIND_PERMISSION_DENIED = 4;
1502
+ */
1503
+ PERMISSION_DENIED = 4,
1504
+ /**
1505
+ * @generated from enum value: ERROR_KIND_NOT_FOUND = 5;
1506
+ */
1507
+ NOT_FOUND = 5,
1508
+ /**
1509
+ * @generated from enum value: ERROR_KIND_ALREADY_EXISTS = 6;
1510
+ */
1511
+ ALREADY_EXISTS = 6,
1512
+ /**
1513
+ * @generated from enum value: ERROR_KIND_CONFLICT = 7;
1514
+ */
1515
+ CONFLICT = 7,
1516
+ /**
1517
+ * @generated from enum value: ERROR_KIND_RATE_LIMITED = 8;
1518
+ */
1519
+ RATE_LIMITED = 8,
1520
+ /**
1521
+ * @generated from enum value: ERROR_KIND_RESOURCE_EXHAUSTED = 9;
1522
+ */
1523
+ RESOURCE_EXHAUSTED = 9,
1524
+ /**
1525
+ * @generated from enum value: ERROR_KIND_TIMEOUT = 10;
1526
+ */
1527
+ TIMEOUT = 10,
1528
+ /**
1529
+ * @generated from enum value: ERROR_KIND_CANCELED = 11;
1530
+ */
1531
+ CANCELED = 11,
1532
+ /**
1533
+ * @generated from enum value: ERROR_KIND_UNAVAILABLE = 12;
1534
+ */
1535
+ UNAVAILABLE = 12,
1536
+ /**
1537
+ * @generated from enum value: ERROR_KIND_INVALID_RESPONSE = 13;
1538
+ */
1539
+ INVALID_RESPONSE = 13,
1540
+ /**
1541
+ * @generated from enum value: ERROR_KIND_INTERNAL = 14;
1542
+ */
1543
+ INTERNAL = 14,
1544
+ /**
1545
+ * @generated from enum value: ERROR_KIND_FAILED_PRECONDITION = 15;
1546
+ */
1547
+ FAILED_PRECONDITION = 15
1548
+ }
1549
+ /**
1550
+ * Describes the enum kit.sandbox.v1.ErrorKind.
1551
+ */
1552
+ export declare const ErrorKindSchema: GenEnum<ErrorKind>;