@distilled.cloud/namespacelabs 0.0.0 → 1.0.0-rc.21
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/LICENSE +201 -0
- package/README.md +130 -4
- package/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +73 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/errors.d.ts +59 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +44 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/pagination.d.ts +2 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +1 -0
- package/lib/protocol.d.ts +19 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +1 -0
- package/lib/retry.d.ts +12 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +1 -0
- package/lib/services/buildkite_jobs.d.ts +129 -0
- package/lib/services/buildkite_jobs.d.ts.map +1 -0
- package/lib/services/buildkite_jobs.js +2 -0
- package/lib/services/buildkite_jobs.js.map +1 -0
- package/lib/services/buildkite_queue.d.ts +186 -0
- package/lib/services/buildkite_queue.d.ts.map +1 -0
- package/lib/services/buildkite_queue.js +2 -0
- package/lib/services/buildkite_queue.js.map +1 -0
- package/lib/services/index.d.ts +3 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +2 -0
- package/lib/services.lazy/buildkite_jobs.js +1 -0
- package/lib/services.lazy/buildkite_queue.js +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/traits.d.ts +3 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +1 -0
- package/lib/unstable-services/artifacts.d.ts +268 -0
- package/lib/unstable-services/artifacts.d.ts.map +1 -0
- package/lib/unstable-services/artifacts.js +2 -0
- package/lib/unstable-services/artifacts.js.map +1 -0
- package/lib/unstable-services/audit.d.ts +157 -0
- package/lib/unstable-services/audit.d.ts.map +1 -0
- package/lib/unstable-services/audit.js +2 -0
- package/lib/unstable-services/audit.js.map +1 -0
- package/lib/unstable-services/bazel.d.ts +181 -0
- package/lib/unstable-services/bazel.d.ts.map +1 -0
- package/lib/unstable-services/bazel.js +2 -0
- package/lib/unstable-services/bazel.js.map +1 -0
- package/lib/unstable-services/bazel_cache.d.ts +126 -0
- package/lib/unstable-services/bazel_cache.d.ts.map +1 -0
- package/lib/unstable-services/bazel_cache.js +2 -0
- package/lib/unstable-services/bazel_cache.js.map +1 -0
- package/lib/unstable-services/builder.d.ts +242 -0
- package/lib/unstable-services/builder.d.ts.map +1 -0
- package/lib/unstable-services/builder.js +2 -0
- package/lib/unstable-services/builder.js.map +1 -0
- package/lib/unstable-services/compute.d.ts +1124 -0
- package/lib/unstable-services/compute.d.ts.map +1 -0
- package/lib/unstable-services/compute.js +47 -0
- package/lib/unstable-services/compute.js.map +1 -0
- package/lib/unstable-services/compute_command.d.ts +120 -0
- package/lib/unstable-services/compute_command.d.ts.map +1 -0
- package/lib/unstable-services/compute_command.js +2 -0
- package/lib/unstable-services/compute_command.js.map +1 -0
- package/lib/unstable-services/compute_observability.d.ts +165 -0
- package/lib/unstable-services/compute_observability.d.ts.map +1 -0
- package/lib/unstable-services/compute_observability.js +2 -0
- package/lib/unstable-services/compute_observability.js.map +1 -0
- package/lib/unstable-services/compute_storage.d.ts +379 -0
- package/lib/unstable-services/compute_storage.d.ts.map +1 -0
- package/lib/unstable-services/compute_storage.js +33 -0
- package/lib/unstable-services/compute_storage.js.map +1 -0
- package/lib/unstable-services/compute_usage.d.ts +283 -0
- package/lib/unstable-services/compute_usage.d.ts.map +1 -0
- package/lib/unstable-services/compute_usage.js +2 -0
- package/lib/unstable-services/compute_usage.js.map +1 -0
- package/lib/unstable-services/egress.d.ts +191 -0
- package/lib/unstable-services/egress.d.ts.map +1 -0
- package/lib/unstable-services/egress.js +2 -0
- package/lib/unstable-services/egress.js.map +1 -0
- package/lib/unstable-services/experimental_compute_reservation.d.ts +672 -0
- package/lib/unstable-services/experimental_compute_reservation.d.ts.map +1 -0
- package/lib/unstable-services/experimental_compute_reservation.js +23 -0
- package/lib/unstable-services/experimental_compute_reservation.js.map +1 -0
- package/lib/unstable-services/experimental_remote_results.d.ts +496 -0
- package/lib/unstable-services/experimental_remote_results.d.ts.map +1 -0
- package/lib/unstable-services/experimental_remote_results.js +2 -0
- package/lib/unstable-services/experimental_remote_results.js.map +1 -0
- package/lib/unstable-services/github_image.d.ts +162 -0
- package/lib/unstable-services/github_image.d.ts.map +1 -0
- package/lib/unstable-services/github_image.js +2 -0
- package/lib/unstable-services/github_image.js.map +1 -0
- package/lib/unstable-services/github_jobs.d.ts +183 -0
- package/lib/unstable-services/github_jobs.d.ts.map +1 -0
- package/lib/unstable-services/github_jobs.js +2 -0
- package/lib/unstable-services/github_jobs.js.map +1 -0
- package/lib/unstable-services/github_profile.d.ts +296 -0
- package/lib/unstable-services/github_profile.d.ts.map +1 -0
- package/lib/unstable-services/github_profile.js +2 -0
- package/lib/unstable-services/github_profile.js.map +1 -0
- package/lib/unstable-services/gradle_cache.d.ts +125 -0
- package/lib/unstable-services/gradle_cache.d.ts.map +1 -0
- package/lib/unstable-services/gradle_cache.js +2 -0
- package/lib/unstable-services/gradle_cache.js.map +1 -0
- package/lib/unstable-services/httpcache.d.ts +125 -0
- package/lib/unstable-services/httpcache.d.ts.map +1 -0
- package/lib/unstable-services/httpcache.js +2 -0
- package/lib/unstable-services/httpcache.js.map +1 -0
- package/lib/unstable-services/iam_tenant.d.ts +457 -0
- package/lib/unstable-services/iam_tenant.d.ts.map +1 -0
- package/lib/unstable-services/iam_tenant.js +45 -0
- package/lib/unstable-services/iam_tenant.js.map +1 -0
- package/lib/unstable-services/iam_tenant_membership.d.ts +114 -0
- package/lib/unstable-services/iam_tenant_membership.d.ts.map +1 -0
- package/lib/unstable-services/iam_tenant_membership.js +2 -0
- package/lib/unstable-services/iam_tenant_membership.js.map +1 -0
- package/lib/unstable-services/iam_token.d.ts +257 -0
- package/lib/unstable-services/iam_token.d.ts.map +1 -0
- package/lib/unstable-services/iam_token.js +2 -0
- package/lib/unstable-services/iam_token.js.map +1 -0
- package/lib/unstable-services/image.d.ts +222 -0
- package/lib/unstable-services/image.d.ts.map +1 -0
- package/lib/unstable-services/image.js +2 -0
- package/lib/unstable-services/image.js.map +1 -0
- package/lib/unstable-services/index.d.ts +28 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +27 -0
- package/lib/unstable-services/private_devbox.d.ts +1180 -0
- package/lib/unstable-services/private_devbox.d.ts.map +1 -0
- package/lib/unstable-services/private_devbox.js +81 -0
- package/lib/unstable-services/private_devbox.js.map +1 -0
- package/lib/unstable-services/private_user_sessions.d.ts +145 -0
- package/lib/unstable-services/private_user_sessions.d.ts.map +1 -0
- package/lib/unstable-services/private_user_sessions.js +2 -0
- package/lib/unstable-services/private_user_sessions.js.map +1 -0
- package/lib/unstable-services/registry.d.ts +373 -0
- package/lib/unstable-services/registry.d.ts.map +1 -0
- package/lib/unstable-services/registry.js +34 -0
- package/lib/unstable-services/registry.js.map +1 -0
- package/lib/unstable-services/testing.d.ts +160 -0
- package/lib/unstable-services/testing.d.ts.map +1 -0
- package/lib/unstable-services/testing.js +2 -0
- package/lib/unstable-services/testing.js.map +1 -0
- package/lib/unstable-services/vault.d.ts +203 -0
- package/lib/unstable-services/vault.d.ts.map +1 -0
- package/lib/unstable-services/vault.js +2 -0
- package/lib/unstable-services/vault.js.map +1 -0
- package/lib/unstable-services.lazy/artifacts.js +1 -0
- package/lib/unstable-services.lazy/audit.js +1 -0
- package/lib/unstable-services.lazy/bazel.js +1 -0
- package/lib/unstable-services.lazy/bazel_cache.js +1 -0
- package/lib/unstable-services.lazy/builder.js +1 -0
- package/lib/unstable-services.lazy/compute.js +4 -0
- package/lib/unstable-services.lazy/compute_command.js +1 -0
- package/lib/unstable-services.lazy/compute_observability.js +1 -0
- package/lib/unstable-services.lazy/compute_storage.js +4 -0
- package/lib/unstable-services.lazy/compute_usage.js +1 -0
- package/lib/unstable-services.lazy/egress.js +1 -0
- package/lib/unstable-services.lazy/experimental_compute_reservation.js +4 -0
- package/lib/unstable-services.lazy/experimental_remote_results.js +1 -0
- package/lib/unstable-services.lazy/github_image.js +1 -0
- package/lib/unstable-services.lazy/github_jobs.js +1 -0
- package/lib/unstable-services.lazy/github_profile.js +1 -0
- package/lib/unstable-services.lazy/gradle_cache.js +1 -0
- package/lib/unstable-services.lazy/httpcache.js +1 -0
- package/lib/unstable-services.lazy/iam_tenant.js +4 -0
- package/lib/unstable-services.lazy/iam_tenant_membership.js +1 -0
- package/lib/unstable-services.lazy/iam_token.js +1 -0
- package/lib/unstable-services.lazy/image.js +1 -0
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/unstable-services.lazy/private_devbox.js +4 -0
- package/lib/unstable-services.lazy/private_user_sessions.js +1 -0
- package/lib/unstable-services.lazy/registry.js +4 -0
- package/lib/unstable-services.lazy/testing.js +1 -0
- package/lib/unstable-services.lazy/vault.js +1 -0
- package/package.json +89 -2
- package/src/credentials.ts +208 -0
- package/src/errors.ts +71 -0
- package/src/index.ts +50 -0
- package/src/pagination.ts +1 -0
- package/src/protocol.ts +83 -0
- package/src/retry.ts +28 -0
- package/src/services/buildkite_jobs.ts +230 -0
- package/src/services/buildkite_queue.ts +453 -0
- package/src/services/index.ts +3 -0
- package/src/traits.ts +36 -0
- package/src/unstable-services/artifacts.ts +769 -0
- package/src/unstable-services/audit.ts +323 -0
- package/src/unstable-services/bazel.ts +423 -0
- package/src/unstable-services/bazel_cache.ts +219 -0
- package/src/unstable-services/builder.ts +576 -0
- package/src/unstable-services/compute.ts +2991 -0
- package/src/unstable-services/compute_command.ts +220 -0
- package/src/unstable-services/compute_observability.ts +436 -0
- package/src/unstable-services/compute_storage.ts +1167 -0
- package/src/unstable-services/compute_usage.ts +738 -0
- package/src/unstable-services/egress.ts +516 -0
- package/src/unstable-services/experimental_compute_reservation.ts +1499 -0
- package/src/unstable-services/experimental_remote_results.ts +1165 -0
- package/src/unstable-services/github_image.ts +301 -0
- package/src/unstable-services/github_jobs.ts +389 -0
- package/src/unstable-services/github_profile.ts +729 -0
- package/src/unstable-services/gradle_cache.ts +271 -0
- package/src/unstable-services/httpcache.ts +271 -0
- package/src/unstable-services/iam_tenant.ts +1720 -0
- package/src/unstable-services/iam_tenant_membership.ts +253 -0
- package/src/unstable-services/iam_token.ts +788 -0
- package/src/unstable-services/image.ts +602 -0
- package/src/unstable-services/index.ts +28 -0
- package/src/unstable-services/private_devbox.ts +4256 -0
- package/src/unstable-services/private_user_sessions.ts +410 -0
- package/src/unstable-services/registry.ts +1242 -0
- package/src/unstable-services/testing.ts +394 -0
- package/src/unstable-services/vault.ts +522 -0
|
@@ -0,0 +1,672 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
3
|
+
import type * as Redacted from "effect/Redacted";
|
|
4
|
+
import { type NamespaceLabsOpError, type NamespaceLabsOpContext } from "../protocol.ts";
|
|
5
|
+
export type { NamespaceLabsOpError, NamespaceLabsOpContext };
|
|
6
|
+
declare const AlreadyExists_base: S.TaggedErrorClass<"AlreadyExists", {
|
|
7
|
+
readonly message: any;
|
|
8
|
+
readonly body: any;
|
|
9
|
+
readonly headers: any;
|
|
10
|
+
}> & (new (...args: any[]) => {
|
|
11
|
+
"@distilled.cloud/error/categories": {
|
|
12
|
+
ConflictError: true;
|
|
13
|
+
};
|
|
14
|
+
});
|
|
15
|
+
export declare class AlreadyExists extends /*@__PURE__*/ AlreadyExists_base {
|
|
16
|
+
}
|
|
17
|
+
declare const FailedPrecondition_base: S.TaggedErrorClass<"FailedPrecondition", {
|
|
18
|
+
readonly message: any;
|
|
19
|
+
readonly body: any;
|
|
20
|
+
readonly headers: any;
|
|
21
|
+
}> & (new (...args: any[]) => {
|
|
22
|
+
"@distilled.cloud/error/categories": {
|
|
23
|
+
BadRequestError: true;
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
export declare class FailedPrecondition extends /*@__PURE__*/ FailedPrecondition_base {
|
|
27
|
+
}
|
|
28
|
+
declare const InvalidArgument_base: S.TaggedErrorClass<"InvalidArgument", {
|
|
29
|
+
readonly message: any;
|
|
30
|
+
readonly body: any;
|
|
31
|
+
readonly headers: any;
|
|
32
|
+
}> & (new (...args: any[]) => {
|
|
33
|
+
"@distilled.cloud/error/categories": {
|
|
34
|
+
BadRequestError: true;
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
export declare class InvalidArgument extends /*@__PURE__*/ InvalidArgument_base {
|
|
38
|
+
}
|
|
39
|
+
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
40
|
+
readonly message: any;
|
|
41
|
+
readonly body: any;
|
|
42
|
+
readonly headers: any;
|
|
43
|
+
}> & (new (...args: any[]) => {
|
|
44
|
+
"@distilled.cloud/error/categories": {
|
|
45
|
+
BadRequestError: true;
|
|
46
|
+
};
|
|
47
|
+
});
|
|
48
|
+
export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
49
|
+
}
|
|
50
|
+
declare const PermissionDenied_base: S.TaggedErrorClass<"PermissionDenied", {
|
|
51
|
+
readonly message: any;
|
|
52
|
+
readonly body: any;
|
|
53
|
+
readonly headers: any;
|
|
54
|
+
}> & (new (...args: any[]) => {
|
|
55
|
+
"@distilled.cloud/error/categories": {
|
|
56
|
+
AuthError: true;
|
|
57
|
+
};
|
|
58
|
+
});
|
|
59
|
+
export declare class PermissionDenied extends /*@__PURE__*/ PermissionDenied_base {
|
|
60
|
+
}
|
|
61
|
+
declare const ResourceExhausted_base: S.TaggedErrorClass<"ResourceExhausted", {
|
|
62
|
+
readonly message: any;
|
|
63
|
+
readonly body: any;
|
|
64
|
+
readonly headers: any;
|
|
65
|
+
readonly retryAfter: any;
|
|
66
|
+
}> & (new (...args: any[]) => {
|
|
67
|
+
"@distilled.cloud/error/categories": {
|
|
68
|
+
ThrottlingError: true;
|
|
69
|
+
};
|
|
70
|
+
});
|
|
71
|
+
export declare class ResourceExhausted extends /*@__PURE__*/ ResourceExhausted_base {
|
|
72
|
+
}
|
|
73
|
+
declare const Unauthenticated_base: S.TaggedErrorClass<"Unauthenticated", {
|
|
74
|
+
readonly message: any;
|
|
75
|
+
readonly body: any;
|
|
76
|
+
readonly headers: any;
|
|
77
|
+
}> & (new (...args: any[]) => {
|
|
78
|
+
"@distilled.cloud/error/categories": {
|
|
79
|
+
AuthError: true;
|
|
80
|
+
};
|
|
81
|
+
});
|
|
82
|
+
export declare class Unauthenticated extends /*@__PURE__*/ Unauthenticated_base {
|
|
83
|
+
}
|
|
84
|
+
export interface CancelReservationRequest {
|
|
85
|
+
reservationId?: string | undefined;
|
|
86
|
+
}
|
|
87
|
+
export interface CancelReservationResponse {
|
|
88
|
+
reservationDeadline?: string | undefined;
|
|
89
|
+
}
|
|
90
|
+
export interface DescribeReservationRequest {
|
|
91
|
+
reservationId?: string | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface ReserveInstanceResponseReservationMetadata {
|
|
94
|
+
/** The time at which the reservation was initially requested */
|
|
95
|
+
reservationTime?: string | undefined;
|
|
96
|
+
reservationDeadline?: string | undefined;
|
|
97
|
+
}
|
|
98
|
+
export interface CreationAttempt {
|
|
99
|
+
timestamp?: string | undefined;
|
|
100
|
+
/** Instance that was started on this attempt. If creating an instance failed, error will be set instead. */
|
|
101
|
+
instanceId: string;
|
|
102
|
+
/** Set if creating an instance failed on this attempt. */
|
|
103
|
+
error: string;
|
|
104
|
+
}
|
|
105
|
+
export type ReservationStatus = "UNKNOWN" | "PENDING" | "FULFILLED" | "EXPIRED";
|
|
106
|
+
export interface DescribeReservationResponse {
|
|
107
|
+
reservationId: string;
|
|
108
|
+
reservationMetadata?: ReserveInstanceResponseReservationMetadata | undefined;
|
|
109
|
+
/** If the reservation has been fulfilled, the corresponding instance ID and the time at which the fulfillment occurred */
|
|
110
|
+
instanceId: string;
|
|
111
|
+
fulfillmentTime?: string | undefined;
|
|
112
|
+
lastAttempt?: CreationAttempt | undefined;
|
|
113
|
+
status: ReservationStatus;
|
|
114
|
+
priority: string;
|
|
115
|
+
}
|
|
116
|
+
export interface ListReservationsRequest {
|
|
117
|
+
/** When filtering for a time range, we return all reservations which were/are active at any point in that time range, meaning at least one of (creation_time, reservation_end) is in the window [period_start, period_end] OR creation_time < period_start < period_end < reservation_end. We consider reservation_end to be the reservation_deadline for reservations that have not been fulfilled, and fulfillment_time for those that have, so a reservation with fulfillment_time < period_start <= reservation_deadline will not be included in the response. */
|
|
118
|
+
periodStart?: string | undefined;
|
|
119
|
+
/** default to now */
|
|
120
|
+
periodEnd?: string | undefined;
|
|
121
|
+
/** Maximum number of reservations to return. Capped at 50,000; default 100 */
|
|
122
|
+
maxEntries?: string | undefined;
|
|
123
|
+
/** If true, no reservations that have been fulfilled (have an instance assigned) will be returned */
|
|
124
|
+
excludeFulfilled?: boolean | undefined;
|
|
125
|
+
}
|
|
126
|
+
export interface DescribeReservationResponse2 {
|
|
127
|
+
reservationId: string;
|
|
128
|
+
reservationMetadata?: ReserveInstanceResponseReservationMetadata | undefined;
|
|
129
|
+
/** If the reservation has been fulfilled, the corresponding instance ID and the time at which the fulfillment occurred */
|
|
130
|
+
instanceId: string;
|
|
131
|
+
fulfillmentTime?: string | undefined;
|
|
132
|
+
lastAttempt?: CreationAttempt | undefined;
|
|
133
|
+
status: ReservationStatus;
|
|
134
|
+
priority: string;
|
|
135
|
+
}
|
|
136
|
+
export type DescribeReservationResponse2List = Array<DescribeReservationResponse2>;
|
|
137
|
+
export interface ListReservationsResponse {
|
|
138
|
+
reservations: DescribeReservationResponse2List;
|
|
139
|
+
}
|
|
140
|
+
/** Labels are key/value pairs attached to entities such as tenants. */
|
|
141
|
+
export interface Label {
|
|
142
|
+
/** A name is an string up to 63 bytes that matches the regular expression `^[a-z]([a-z0-9-.]*[a-z0-9])?$`. */
|
|
143
|
+
name?: string | undefined;
|
|
144
|
+
/** Label values are arbitrary values up to 255 bytes. */
|
|
145
|
+
value?: string | undefined;
|
|
146
|
+
}
|
|
147
|
+
export type LabelList = Array<Label>;
|
|
148
|
+
/** Defines an instance shape: the combination of CPU, RAM and Disk that the instance should use. The size of the ephemeral disk automatically scales with the selected CPU/RAM allocation. See also https://namespace.so/docs/architecture/compute/machine-shapes#storage-allocation Usable values are constrained by policy, and are typically only settable in values as powers of two. */
|
|
149
|
+
export interface InstanceShape {
|
|
150
|
+
/** Number of virtual CPUs. Typically a power of two (e.g. 2, 4, 8, 16). */
|
|
151
|
+
virtualCpu?: number | undefined;
|
|
152
|
+
/** Memory in megabytes. Typically scales with CPU (e.g. 2048 per vCPU). */
|
|
153
|
+
memoryMegabytes?: number | undefined;
|
|
154
|
+
/** Architecture of the instance, e.g. "amd64" or "arm64". */
|
|
155
|
+
machineArch?: string | undefined;
|
|
156
|
+
/** Operating system of the instance, e.g. "linux" or "macos". */
|
|
157
|
+
os?: string | undefined;
|
|
158
|
+
/** Provide additional constraints to instance selection. Available selectors: https://namespace.so/docs/architecture/compute/macos#available-selectors */
|
|
159
|
+
selectors?: LabelList | undefined;
|
|
160
|
+
}
|
|
161
|
+
export type CreateInstanceRequestFeature = "FEATURE_UNKNOWN" | "FEATURE_KUBERNETES" | "FEATURE_KUBERNETES_INGRESS_MANAGER";
|
|
162
|
+
export type CreateInstanceRequestFeatureList = Array<CreateInstanceRequestFeature | (string & {})>;
|
|
163
|
+
export interface CreateInstanceRequestFeatureConfiguration {
|
|
164
|
+
/** If set, also runs a single-node Kubernetes in this instance. Must be set to a specific Kubernetes major+minor version, e.g. "1.26" or "1.28". */
|
|
165
|
+
enableKubernetesVersion?: string | undefined;
|
|
166
|
+
/** Automatically expose ingresses annotated with "kubernetes.namespace.so/expose: true" as authenticated HTTP endpoints. */
|
|
167
|
+
enableKubernetesIngressManager?: boolean | undefined;
|
|
168
|
+
/** Overrides the kubelet --max-pods value. Must be <= 250. */
|
|
169
|
+
kubernetesMaxPods?: number | undefined;
|
|
170
|
+
}
|
|
171
|
+
export type StringMap = {
|
|
172
|
+
[key: string]: string | undefined;
|
|
173
|
+
};
|
|
174
|
+
export type StringList = Array<string>;
|
|
175
|
+
export interface EnvironmentVariable {
|
|
176
|
+
/** Required: Name under which the environment variable will be available, e.g. "FOOBAR_VAR_NAME". */
|
|
177
|
+
name?: string | undefined;
|
|
178
|
+
/** Optional: If set, use this static value for the environment variable. */
|
|
179
|
+
value?: string | undefined;
|
|
180
|
+
/** Optional: If set, overrides value. Namespace will dynamically resolve the secret on instance creation. By default, no secrets are resolved unless requested explicitly. */
|
|
181
|
+
fromSecretId?: string | undefined;
|
|
182
|
+
}
|
|
183
|
+
export type EnvironmentVariableList = Array<EnvironmentVariable>;
|
|
184
|
+
export type ContainerPortProto = "PROTO_UNKNOWN" | "HTTP" | "TCP" | "H2C" | "TLS_PASSTHROUGH";
|
|
185
|
+
export interface HttpMatchRuleHttpMatch {
|
|
186
|
+
/** If empty, matches any method. */
|
|
187
|
+
method?: StringList | undefined;
|
|
188
|
+
/** If empty, matches any path. */
|
|
189
|
+
path?: string | undefined;
|
|
190
|
+
}
|
|
191
|
+
/** Configures which HTTP requests match an ingress rule, and whether authentication is required. */
|
|
192
|
+
export interface HttpMatchRule {
|
|
193
|
+
/** The HTTP method and path pattern to match. */
|
|
194
|
+
match?: HttpMatchRuleHttpMatch | undefined;
|
|
195
|
+
/** If true, requests matching this rule do not require authentication. By default, all requests require a valid Bearer token. */
|
|
196
|
+
doesNotRequireAuth?: boolean | undefined;
|
|
197
|
+
}
|
|
198
|
+
export type HttpMatchRuleList = Array<HttpMatchRule>;
|
|
199
|
+
/** Configures client authentication for TLS-terminating TCP ingress. */
|
|
200
|
+
export type IngressClientAuthentication = "INGRESS_CLIENT_AUTHENTICATION_UNSPECIFIED" | "INGRESS_CLIENT_AUTHENTICATION_NONE" | "INGRESS_CLIENT_AUTHENTICATION_MTLS";
|
|
201
|
+
export interface ContainerPort {
|
|
202
|
+
/** The protocol the port being expose uses. Must be set. If the protocol is set to `HTTP` or `H2C` then the platform exposes the port using a HTTPS-terminating reverse proxy, which then communicates using cleartext HTTP/1.1 or HTTP/2 respectively with the container. If the protocol is `TCP` then the platform terminates TLS and proxies the resulting TCP stream. Client authentication is configured separately. If the protocol is `TLS_PASSTHROUGH`, the platform routes the encrypted stream using SNI and the container terminates TLS. TLS passthrough ports must be declared during instance creation. Example: `HTTP` */
|
|
203
|
+
proto?: ContainerPortProto | (string & {}) | undefined;
|
|
204
|
+
/** The port the container is listening on. For example, if exposing a HTTP server, with `proto=HTTP`, the port the http server is listening on. Example: `3000` */
|
|
205
|
+
containerPort?: number | undefined;
|
|
206
|
+
/** If a name is provided, it is used to generate the Internet-facing server name used to access this port. If it's not provided, a random id is used. */
|
|
207
|
+
name?: string | undefined;
|
|
208
|
+
/** A set of rules that configure the ingress when accessing this exported port. Only settable with `proto` is `HTTP`. */
|
|
209
|
+
httpMatchRule?: HttpMatchRuleList | undefined;
|
|
210
|
+
/** Configures client authentication when `proto` is `TCP`. MTLS is incompatible with TLS_PASSTHROUGH, where NONE and UNSPECIFIED have equivalent behavior. Must not be set for HTTP or H2C. TCP defaults to requiring mTLS. TCP ports without client authentication must be declared during instance creation. */
|
|
211
|
+
clientAuthentication?: IngressClientAuthentication | (string & {}) | undefined;
|
|
212
|
+
}
|
|
213
|
+
export type ContainerPortList = Array<ContainerPort>;
|
|
214
|
+
export type ContainerRequestNetwork = "NETWORK_UNKNOWN" | "BRIDGE" | "HOST";
|
|
215
|
+
export interface ContainerRequestExperimentalFeaturesHostMount {
|
|
216
|
+
hostPath?: string | undefined;
|
|
217
|
+
containerPath?: string | undefined;
|
|
218
|
+
readonly?: boolean | undefined;
|
|
219
|
+
}
|
|
220
|
+
export type ContainerRequestExperimentalFeaturesHostMountList = Array<ContainerRequestExperimentalFeaturesHostMount>;
|
|
221
|
+
export interface AWSCredentials {
|
|
222
|
+
/** Amazon Resource Name of the IAM role to assume. The IAM role must be [set up for federated access from Namespace](https://namespace.so/docs/federation/aws#accessing-aws-resources-from-namespace) including an appropriate trust policy. */
|
|
223
|
+
assumeRoleArn?: string | undefined;
|
|
224
|
+
}
|
|
225
|
+
export interface ContainerRequestExperimentalFeaturesImagePullCredentials {
|
|
226
|
+
/** Namespace will federate with AWS to obtain an [ECR authorization token](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetAuthorizationToken.html). Make sure to grant the required `ecr:*` permissions to the federated IAM role. */
|
|
227
|
+
awsEcr?: AWSCredentials | undefined;
|
|
228
|
+
}
|
|
229
|
+
export interface ContainerRequestExperimentalFeaturesPushEphemeralDiskAsImage {
|
|
230
|
+
/** E.g. nscr.io/foobar/myimage */
|
|
231
|
+
targetImageRef?: string | undefined;
|
|
232
|
+
}
|
|
233
|
+
export interface ContainerRequestExperimentalFeaturesSidecarVolume {
|
|
234
|
+
/** Optional. */
|
|
235
|
+
name?: string | undefined;
|
|
236
|
+
imageRef?: string | undefined;
|
|
237
|
+
containerPath?: string | undefined;
|
|
238
|
+
}
|
|
239
|
+
export type ContainerRequestExperimentalFeaturesSidecarVolumeList = Array<ContainerRequestExperimentalFeaturesSidecarVolume>;
|
|
240
|
+
export interface ContainerRequestExperimentalFeatures {
|
|
241
|
+
/** Array of log file patterns to retain. Globbing is supported. */
|
|
242
|
+
includeLogs?: StringList | undefined;
|
|
243
|
+
/** A series of bind mounts to apply to the container. Can be used for cross-container communication. */
|
|
244
|
+
hostMount?: ContainerRequestExperimentalFeaturesHostMountList | undefined;
|
|
245
|
+
/** Run the container with all capabilities. Deprecated: use privileged under the ContainerRequest. */
|
|
246
|
+
privileged?: boolean | undefined;
|
|
247
|
+
/** Reach out to the Namespace team to learn more about this capability. */
|
|
248
|
+
exportedUnixSockets?: StringMap | undefined;
|
|
249
|
+
/** Additional credentials that can be used to pull the image used to back this container. Prefer using `CreateInstanceRequest.additional_registries` to provide persistent pull credentials for the instance. */
|
|
250
|
+
imagePullCredentials?: ContainerRequestExperimentalFeaturesImagePullCredentials | undefined;
|
|
251
|
+
/** Store the contents of the run (and only the contents of the ephemeral disk) as a new container image. Can only push to `nscr.io`. */
|
|
252
|
+
pushEphemeralDiskAsImage?: ContainerRequestExperimentalFeaturesPushEphemeralDiskAsImage | undefined;
|
|
253
|
+
/** Set of capabilities to add to the container, e.g. NET_CAP. */
|
|
254
|
+
capAdd?: StringList | undefined;
|
|
255
|
+
/** Set of capabilities to drop. */
|
|
256
|
+
capDrop?: StringList | undefined;
|
|
257
|
+
/** Set of devices to expose to the container. */
|
|
258
|
+
devices?: StringList | undefined;
|
|
259
|
+
/** A set of volumes that get mounted into arbitrary paths within the container namespace. Always read only. */
|
|
260
|
+
sidecarVolumes?: ContainerRequestExperimentalFeaturesSidecarVolumeList | undefined;
|
|
261
|
+
/** Chat with support@namespace.so about this setting. */
|
|
262
|
+
incrementalLoading?: boolean | undefined;
|
|
263
|
+
/** Chat with support@namespace.so about this setting. */
|
|
264
|
+
sandboxLike?: boolean | undefined;
|
|
265
|
+
/** Add a process supervisor. */
|
|
266
|
+
useInit?: boolean | undefined;
|
|
267
|
+
}
|
|
268
|
+
export type VolumeRequestPersistencyKind = "PERSISTENCY_UNKNOWN" | "PERSISTENT" | "CACHE";
|
|
269
|
+
export interface VolumeRequest {
|
|
270
|
+
/** The absolute path where the volume is mounted inside the instance. */
|
|
271
|
+
mountPoint?: string | undefined;
|
|
272
|
+
/** A logical identifier for volume reuse across instances. For CACHE volumes, the platform attempts to mount a recently used volume with the same tag. For PERSISTENT volumes, the tag maps to a named durable volume. */
|
|
273
|
+
tag?: string | undefined;
|
|
274
|
+
/** The requested size of the volume in megabytes. */
|
|
275
|
+
sizeMb?: string | undefined;
|
|
276
|
+
/** The persistency kind of the volume. */
|
|
277
|
+
persistencyKind?: VolumeRequestPersistencyKind | (string & {}) | undefined;
|
|
278
|
+
/** If set, initializes the volume from the specified snapshot. Only supported for PERSISTENT volumes. If set on a CACHE volume, the request will fail. For persistent volumes, a new snapshot is created starting from the specified snapshot ID. */
|
|
279
|
+
fromSnapshotId?: string | undefined;
|
|
280
|
+
/** The filesystem to use for a CACHE volume. Supported values are "ext4" and "xfs" on Linux. If unset, the operating system default is used. XFS requires linux/amd64 and enrollment in the instance.cache_volumes.xfs experiment; requests for XFS are rejected when it is disabled. This field is not supported for PERSISTENT volumes. */
|
|
281
|
+
filesystem?: string | undefined;
|
|
282
|
+
}
|
|
283
|
+
export type VolumeRequestList = Array<VolumeRequest>;
|
|
284
|
+
export type ContainerRequestWorkloadType = "WORKLOAD_TYPE_UNKNOWN" | "JOB" | "SERVICE";
|
|
285
|
+
/** A volume that gets mounted into arbitrary paths within the container namespace. Always read only. */
|
|
286
|
+
export interface ContainerRequestSidecarVolume {
|
|
287
|
+
/** Optional name for the sidecar volume. */
|
|
288
|
+
name?: string | undefined;
|
|
289
|
+
/** Image reference for the container image that backs this sidecar volume. */
|
|
290
|
+
imageRef?: string | undefined;
|
|
291
|
+
/** Path within the container where this volume will be mounted. */
|
|
292
|
+
containerPath?: string | undefined;
|
|
293
|
+
}
|
|
294
|
+
export type ContainerRequestSidecarVolumeList = Array<ContainerRequestSidecarVolume>;
|
|
295
|
+
export interface ContainerRequest {
|
|
296
|
+
/** A name of the container being created. Must be unique within the instance. Must match the regular expression `[a-z0-9]([a-z0-9-]*[a-z0-9])?`. */
|
|
297
|
+
name?: string | undefined;
|
|
298
|
+
/** An image reference to the container image used to back this container. Ideally image references that are specified are fully resolved and "pinned", i.e. their digest is also specified. If no resolved image is provided, it is resolved during creation time, which may add latency to the creation request. Example: `ubuntu:22.04@sha256:dfd64a3b4296d8c9b62aa3309984f8620b98d87e47492599ee20739e8eb54fbf` */
|
|
299
|
+
imageRef?: string | undefined;
|
|
300
|
+
/** The ID of a Namespace-managed image. The ID is resolved to a pinned image reference during instance creation. Mutually exclusive with `image_ref`. Supported values: - `builtin:base` - `builtin:agents` */
|
|
301
|
+
knownImageId?: string | undefined;
|
|
302
|
+
/** The filesystem for the container's private writable root disk: "ext4" or "xfs" on Linux. If unset, existing container root behavior is preserved. Only supported when creating the instance, not by StartContainers. Reach out to Namespace to enable XFS support for your workspace. XFS is not currently supported by Linux on Apple Silicon (LiMa). */
|
|
303
|
+
rootFilesystem?: string | undefined;
|
|
304
|
+
/** A set of arguments to pass to the container's entrypoint. If `entrypoint` is not set, these are passed to the image's default ENTRYPOINT. Example: `["--foobar"]` */
|
|
305
|
+
args?: StringList | undefined;
|
|
306
|
+
/** If specified, overrides the image's entrypoint. */
|
|
307
|
+
entrypoint?: StringList | undefined;
|
|
308
|
+
/** A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API. */
|
|
309
|
+
environment?: StringMap | undefined;
|
|
310
|
+
/** A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets. By default, no secrets are injected. */
|
|
311
|
+
envVars?: EnvironmentVariableList | undefined;
|
|
312
|
+
/** If set, makes docker available to the container. Any containers that are started by the container via the Docker API are then run as containers alongside this container, not as children. Bind mounts work across containers by using container-aware bind mount resolution. Example: `/var/run/docker.sock` */
|
|
313
|
+
dockerSockPath?: string | undefined;
|
|
314
|
+
/** If set, injects Namespace metadata and credentials into the container at the specified path. This includes the workload token and instance metadata, and sets the following environment variables: - `NSC_INSTANCE_ID`: the ID of the parent instance. - `NSC_ENDPOINT`: the regional Compute API endpoint. - `NSC_TOKEN_FILE`: path to the injected token file. Can be used to allow the container to call Namespace APIs as the instance. Example: `/var/run/nsc` */
|
|
315
|
+
nscStatePath?: string | undefined;
|
|
316
|
+
/** If set, exposes guest-managed nsc binaries at the specified path. */
|
|
317
|
+
nscBinsPath?: string | undefined;
|
|
318
|
+
/** If set, mounts available secrets at the specified path. */
|
|
319
|
+
secretsPath?: string | undefined;
|
|
320
|
+
/** A set of container ports to make available through the public ingress. */
|
|
321
|
+
exportPorts?: ContainerPortList | undefined;
|
|
322
|
+
/** By default containers run in a bridge network, with NAT. This allows containers to listen on arbitrary ports without requiring coordination. The container can be run in the instance networking by specifying `HOST`. */
|
|
323
|
+
network?: ContainerRequestNetwork | (string & {}) | undefined;
|
|
324
|
+
/** A list of experimental features to enable in this container. */
|
|
325
|
+
experimental?: ContainerRequestExperimentalFeatures | undefined;
|
|
326
|
+
/** Run the container with all capabilities. */
|
|
327
|
+
privileged?: boolean | undefined;
|
|
328
|
+
/** A set of volumes to be attached to this container. */
|
|
329
|
+
volumes?: VolumeRequestList | undefined;
|
|
330
|
+
/** When a container terminates, the instance where it runs in will also terminate. If the workload type is set to `service`, the instance will always be marked as failed, regardless of the exit code of the container. */
|
|
331
|
+
workloadType?: ContainerRequestWorkloadType | (string & {}) | undefined;
|
|
332
|
+
/** A set of volumes that get mounted into the container at the specified paths. These volumes are always read-only. */
|
|
333
|
+
sidecarVolumes?: ContainerRequestSidecarVolumeList | undefined;
|
|
334
|
+
}
|
|
335
|
+
export type ContainerRequestList = Array<ContainerRequest>;
|
|
336
|
+
export type IngressMode = "MODE_UNKNOWN" | "HTTP" | "TCP" | "TLS_PASSTHROUGH";
|
|
337
|
+
/** Describes a platform-managed, Internet-facing endpoint that routes traffic to a service running inside an instance. Use CreateInstanceRequest.ingresses for ports exposed directly by the instance, including native applications on platforms such as macOS. Use ContainerRequest.export_ports for ports owned by containers. Traffic and TLS boundaries: ``` HTTP [client] --HTTPS------> [Namespace ingress] --HTTP--> [backend] TCP [client] --TLS/mTLS---> [Namespace ingress] --TCP---> [backend] TLS [client] --TLS (routed by SNI, not terminated)------> [backend] ``` Each generated server name routes only to its declared instance and port; no other instance ports are exposed by that ingress. In HTTP and TCP modes, TLS terminates at Namespace and the ingress-to-backend protocol is cleartext HTTP or TCP. TLS passthrough preserves end-to-end encryption: Namespace uses the SNI hostname for routing but does not terminate TLS. HTTP requests require a valid Namespace bearer token with access to the instance by default. HttpMatchRule can explicitly make matching requests unauthenticated. TCP defaults to requiring a Namespace-issued mTLS client certificate with access to the instance; NONE allows any TLS client to connect. In TLS passthrough mode the backend is responsible for server and client authentication. */
|
|
338
|
+
export interface Ingress {
|
|
339
|
+
/** The name used to generate the Internet-facing server name. */
|
|
340
|
+
name?: string | undefined;
|
|
341
|
+
/** The ingress behavior. Must be set. */
|
|
342
|
+
mode?: IngressMode | (string & {}) | undefined;
|
|
343
|
+
/** The port the instance is listening on. */
|
|
344
|
+
port?: number | undefined;
|
|
345
|
+
/** HTTP routing and authentication rules. Only supported in HTTP mode. */
|
|
346
|
+
httpMatchRule?: HttpMatchRuleList | undefined;
|
|
347
|
+
/** Routes all first-level subdomains of the instance wildcard domain to this ingress. Requires the instance wildcard domain to be enabled via experimental.enable_wildcard_domain. Only supported in HTTP mode and mutually exclusive with name. */
|
|
348
|
+
wildcard?: boolean | undefined;
|
|
349
|
+
/** Configures client authentication in TCP mode. MTLS is incompatible with TLS_PASSTHROUGH, where the backend terminates and authenticates TLS; NONE and UNSPECIFIED have equivalent behavior in passthrough mode. Must not be set in HTTP mode. TCP defaults to requiring mTLS. */
|
|
350
|
+
clientAuthentication?: IngressClientAuthentication | (string & {}) | undefined;
|
|
351
|
+
}
|
|
352
|
+
export type IngressList = Array<Ingress>;
|
|
353
|
+
export type ApplicationRequestWorkloadType = "WORKLOAD_TYPE_UNKNOWN" | "JOB";
|
|
354
|
+
export interface ApplicationRequestExperimentalFeatures {
|
|
355
|
+
/** Array of log file patterns to retain. Globbing is supported. */
|
|
356
|
+
includeLogs?: StringList | undefined;
|
|
357
|
+
}
|
|
358
|
+
/** Specifies an application to run on an instance without containerization. The application binary is distributed as a container image (OCI) pushed to the workspace's private registry (`nscr.io`). Only the image filesystem is used; ENTRYPOINT/CMD from the image config are not respected. **Example** (macOS): [macrun](https://github.com/namespacelabs/examples/tree/master/go/macrun). */
|
|
359
|
+
export interface ApplicationRequest {
|
|
360
|
+
/** A name of the application being created. Must be unique. */
|
|
361
|
+
name?: string | undefined;
|
|
362
|
+
/** Optional image with application distribution to be mounted on the instance. The image filesystem is extracted and made available to the `command` below. ENTRYPOINT/CMD specified in the image config are not respected. Example: `nscr.io/abc012abc012/foobar` */
|
|
363
|
+
imageRef?: string | undefined;
|
|
364
|
+
/** Command to execute. May be: * Absolute (refers to a pre-installed binary in the base image). Example: `/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild`. * Relative to the image specified above. Example: `./postgres`. * Resolved from $PATH (using the default $PATH of the base image) Example: `xcrun`. */
|
|
365
|
+
command?: string | undefined;
|
|
366
|
+
/** A set of arguments to pass to the application. Example: `["--foobar"]` */
|
|
367
|
+
args?: StringList | undefined;
|
|
368
|
+
/** A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API. */
|
|
369
|
+
environment?: StringMap | undefined;
|
|
370
|
+
/** A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets. */
|
|
371
|
+
envVars?: EnvironmentVariableList | undefined;
|
|
372
|
+
/** When a container terminates, the instance where it runs in will also terminate. If the workload type is set to `service`, the instance will always be marked as failed, regardless of the exit code of the container. */
|
|
373
|
+
workloadType?: ApplicationRequestWorkloadType | (string & {}) | undefined;
|
|
374
|
+
/** A list of experimental features to enable in this container. */
|
|
375
|
+
experimental?: ApplicationRequestExperimentalFeatures | undefined;
|
|
376
|
+
}
|
|
377
|
+
export type ApplicationRequestList = Array<ApplicationRequest>;
|
|
378
|
+
export interface CreateInstanceRequestExperimentalFeaturesDisk {
|
|
379
|
+
name?: string | undefined;
|
|
380
|
+
imageRef?: string | undefined;
|
|
381
|
+
}
|
|
382
|
+
export type CreateInstanceRequestExperimentalFeaturesDiskList = Array<CreateInstanceRequestExperimentalFeaturesDisk>;
|
|
383
|
+
export interface CreateInstanceRequestExperimentalFeaturesContainerdShim {
|
|
384
|
+
name?: string | undefined;
|
|
385
|
+
runtimeType?: string | undefined;
|
|
386
|
+
addToPath?: StringList | undefined;
|
|
387
|
+
binaryName?: string | undefined;
|
|
388
|
+
root?: string | undefined;
|
|
389
|
+
}
|
|
390
|
+
export type CreateInstanceRequestExperimentalFeaturesContainerdShimList = Array<CreateInstanceRequestExperimentalFeaturesContainerdShim>;
|
|
391
|
+
export interface CreateInstanceRequestExperimentalFeaturesTlsBackedPort {
|
|
392
|
+
name?: string | undefined;
|
|
393
|
+
port?: number | undefined;
|
|
394
|
+
/** If this is false, TLS is used in passthrough mode. */
|
|
395
|
+
terminateTls?: boolean | undefined;
|
|
396
|
+
/** Only applies when terminate_tls is true. Defaults to mTLS. */
|
|
397
|
+
clientAuthentication?: IngressClientAuthentication | (string & {}) | undefined;
|
|
398
|
+
}
|
|
399
|
+
export type CreateInstanceRequestExperimentalFeaturesTlsBackedPortList = Array<CreateInstanceRequestExperimentalFeaturesTlsBackedPort>;
|
|
400
|
+
export interface CreateInstanceRequestExperimentalFeaturesPrewarmContainerImage {
|
|
401
|
+
/** The target containerd that the image should be warmed up to. Use "default" for containers started by Namespace; "moby" for Docker containers and "k8s" for Kubernetes. */
|
|
402
|
+
containerdNamespace?: string | undefined;
|
|
403
|
+
/** A fully qualified image reference, including digest. Only fully specified images will be part of optimized profiles. Non-fully qualified references are silently dropped. */
|
|
404
|
+
imageRef?: string | undefined;
|
|
405
|
+
}
|
|
406
|
+
export type CreateInstanceRequestExperimentalFeaturesPrewarmContainerImageList = Array<CreateInstanceRequestExperimentalFeaturesPrewarmContainerImage>;
|
|
407
|
+
export interface CreateInstanceRequestExperimentalFeaturesDirectoryRequest {
|
|
408
|
+
absPath?: string | undefined;
|
|
409
|
+
mode?: number | undefined;
|
|
410
|
+
}
|
|
411
|
+
export type CreateInstanceRequestExperimentalFeaturesDirectoryRequestList = Array<CreateInstanceRequestExperimentalFeaturesDirectoryRequest>;
|
|
412
|
+
/** Deprecated: use the top-most message. */
|
|
413
|
+
export interface CreateInstanceRequestExperimentalFeaturesContainerCache {
|
|
414
|
+
/** Which cache volume to use to store container images. */
|
|
415
|
+
cacheVolumeTag?: string | undefined;
|
|
416
|
+
/** If this is a separate volume, the size of the volume is required. Must not be set if this is an existing tag. */
|
|
417
|
+
sizeMb?: string | undefined;
|
|
418
|
+
/** If this is an existing volume (i.e. for which a volume request exists), the relative path within that volume to use. Optional. */
|
|
419
|
+
relativePath?: string | undefined;
|
|
420
|
+
}
|
|
421
|
+
export interface CreateInstanceRequestExperimentalFeaturesHookCommand {
|
|
422
|
+
command?: string | undefined;
|
|
423
|
+
/** A set of arguments to pass to the command invocation. Example: `["--foobar"]` */
|
|
424
|
+
args?: StringList | undefined;
|
|
425
|
+
/** A set of environment values to be used as the command's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` */
|
|
426
|
+
environment?: StringMap | undefined;
|
|
427
|
+
}
|
|
428
|
+
export interface CreateInstanceRequestExperimentalFeaturesHook {
|
|
429
|
+
/** If set, execute this command during the hook. */
|
|
430
|
+
command?: CreateInstanceRequestExperimentalFeaturesHookCommand | undefined;
|
|
431
|
+
}
|
|
432
|
+
export type CreateInstanceRequestExperimentalFeaturesHookList = Array<CreateInstanceRequestExperimentalFeaturesHook>;
|
|
433
|
+
export interface CreateInstanceRequestExperimentalFeaturesPrometheusMetricsSink {
|
|
434
|
+
url?: string | undefined;
|
|
435
|
+
bearerTokenSecretRef?: string | undefined;
|
|
436
|
+
basicAuthUsername?: string | undefined;
|
|
437
|
+
basicAuthPasswordSecretRef?: string | Redacted.Redacted<string> | undefined;
|
|
438
|
+
}
|
|
439
|
+
export interface CreateInstanceRequestExperimentalFeatures {
|
|
440
|
+
/** A list of private features used to enable experimental behavior in a instance. For more details chat with the Namespace team. */
|
|
441
|
+
privateFeature?: StringList | undefined;
|
|
442
|
+
/** Attach the specified disks as additional read-only volumes to the new instance. Disks are specified as container image sources, which are converted into a flattened filesystem that is then made available as block storage that is attached to the VM that backs the instance. */
|
|
443
|
+
disks?: CreateInstanceRequestExperimentalFeaturesDiskList | undefined;
|
|
444
|
+
/** Configure `containerd` with an additional set of shims. */
|
|
445
|
+
containerdShims?: CreateInstanceRequestExperimentalFeaturesContainerdShimList | undefined;
|
|
446
|
+
/** Export a set of ports using a TLS frontend. Because TLS allows a proxy to perform SNI-based routing, different services can be backed by a single TLS ingress. */
|
|
447
|
+
tlsBackedPorts?: CreateInstanceRequestExperimentalFeaturesTlsBackedPortList | undefined;
|
|
448
|
+
/** Request that the following set of container images be prewarmed in `containerd`. This is strictly best-effort. */
|
|
449
|
+
prewarmContainerImages?: CreateInstanceRequestExperimentalFeaturesPrewarmContainerImageList | undefined;
|
|
450
|
+
/** Register a wildcard domain for ingress directed at this new instance. */
|
|
451
|
+
enableWildcardDomain?: boolean | undefined;
|
|
452
|
+
/** Reach out to the Namespace team to learn more about this capability. A union of these set of volumes and the volumes defined in CreateInstanceRequest are used. */
|
|
453
|
+
volumes?: VolumeRequestList | undefined;
|
|
454
|
+
/** Reach out to the Namespace team to learn more about this capability. */
|
|
455
|
+
ensureDirectory?: CreateInstanceRequestExperimentalFeaturesDirectoryRequestList | undefined;
|
|
456
|
+
/** Reach out to the Namespace team to learn more about this capability. */
|
|
457
|
+
uniqueTag?: string | undefined;
|
|
458
|
+
/** Reach out to the Namespace team to learn more about this capability. */
|
|
459
|
+
exportedUnixSockets?: StringMap | undefined;
|
|
460
|
+
/** Enable container caching. */
|
|
461
|
+
containerCache?: CreateInstanceRequestExperimentalFeaturesContainerCache | undefined;
|
|
462
|
+
/** Hooks to trigger before any programs (containers or applications) are started. */
|
|
463
|
+
preStartHook?: CreateInstanceRequestExperimentalFeaturesHookList | undefined;
|
|
464
|
+
/** Hooks to trigger before the instance shuts down. */
|
|
465
|
+
preShutdownHook?: CreateInstanceRequestExperimentalFeaturesHookList | undefined;
|
|
466
|
+
/** Public keys to enroll for SSH access to the created instance. */
|
|
467
|
+
authorizedSshKeys?: StringList | undefined;
|
|
468
|
+
/** Base image ID to use for a macOS instance. */
|
|
469
|
+
macosBaseImageId?: string | undefined;
|
|
470
|
+
/** Reach out to the Namespace team to learn more about this capability. */
|
|
471
|
+
internal?: StringMap | undefined;
|
|
472
|
+
/** Sets the instance and any containers up with required configuration to use Nested Virtualization (e.g. KVM) Only supported on Linux */
|
|
473
|
+
nestedVirtualization?: boolean | undefined;
|
|
474
|
+
/** Reach out to the Namespace team to learn more about this capability. */
|
|
475
|
+
prometheusMetricsSink?: CreateInstanceRequestExperimentalFeaturesPrometheusMetricsSink | undefined;
|
|
476
|
+
/** Select a named compute configuration from workspace policy. Its configured SKU and hypervisor override request settings, and its features are added to the request. Explicit request placement overrides configuration placement. Resource sizes are unchanged. Unknown names fail. */
|
|
477
|
+
withConfiguration?: string | undefined;
|
|
478
|
+
}
|
|
479
|
+
export type ContainerCache = CreateInstanceRequestExperimentalFeaturesContainerCache;
|
|
480
|
+
export interface ResolvableValue {
|
|
481
|
+
static?: string | undefined;
|
|
482
|
+
fromSecretId?: string | undefined;
|
|
483
|
+
}
|
|
484
|
+
export interface HttpHeader {
|
|
485
|
+
name?: string | undefined;
|
|
486
|
+
value?: string | undefined;
|
|
487
|
+
valueFrom?: ResolvableValue | undefined;
|
|
488
|
+
}
|
|
489
|
+
export type HttpHeaderList = Array<HttpHeader>;
|
|
490
|
+
export interface HttpCallbackEndpoint {
|
|
491
|
+
postUrl?: string | undefined;
|
|
492
|
+
headers?: HttpHeaderList | undefined;
|
|
493
|
+
/** If present, the body of the callback response will be signed and provided as an HMAC hash using the specified secret. The X-Namespace-Signature header will include a value of the form `ts=<timestamp>,sha256=<hmac>`, where <hmac> is a SHA256-signed message consisting of `<timestamp>,<response body>`. */
|
|
494
|
+
signWithSecretId?: string | undefined;
|
|
495
|
+
}
|
|
496
|
+
export interface AdditionalRegistryAuthenticatorBasic {
|
|
497
|
+
username?: string | undefined;
|
|
498
|
+
passwordSecretRef?: string | Redacted.Redacted<string> | undefined;
|
|
499
|
+
}
|
|
500
|
+
export interface AdditionalRegistryAuthenticatorOpenIDFederation {
|
|
501
|
+
/** Required. */
|
|
502
|
+
username?: string | undefined;
|
|
503
|
+
/** Optional. If not set, the audience will be the address of the target registry. */
|
|
504
|
+
audience?: string | undefined;
|
|
505
|
+
}
|
|
506
|
+
export interface AdditionalRegistryAuthenticatorAssumeRoleFromAwsFederation {
|
|
507
|
+
/** Amazon Resource Name of the IAM role to assume. The IAM role must be [set up for federated access from Namespace](https://namespace.so/docs/federation/aws#accessing-aws-resources-from-namespace) including an appropriate trust policy. */
|
|
508
|
+
roleArn?: string | undefined;
|
|
509
|
+
}
|
|
510
|
+
export interface AdditionalRegistryAuthenticatorGcpWorkloadIdentityFederation {
|
|
511
|
+
/** Required. Full resource name of the GCP Workload Identity Provider, used as the Security Token Service (STS) token-exchange audience. E.g. "//iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/providers/PROVIDER_ID". The provider must be configured to trust the issuer `https://federation.namespaceapis.com`. */
|
|
512
|
+
audience?: string | undefined;
|
|
513
|
+
/** Optional. Email of the service account to impersonate after federation (e.g. "name@project.iam.gserviceaccount.com"). If set, the federated identity must hold `roles/iam.workloadIdentityUser` on this service account, and the service account must hold `roles/artifactregistry.reader`. If empty, the federated identity accesses the registry directly and must itself hold `roles/artifactregistry.reader`. */
|
|
514
|
+
serviceAccountEmail?: string | undefined;
|
|
515
|
+
/** Optional. The username to use for the registry authentication. Defaults to "oauth2accesstoken". */
|
|
516
|
+
username?: string | undefined;
|
|
517
|
+
}
|
|
518
|
+
export interface AdditionalRegistryAuthenticator {
|
|
519
|
+
/** A pair of username and password to use when pulling images. */
|
|
520
|
+
basic?: AdditionalRegistryAuthenticatorBasic | undefined;
|
|
521
|
+
/** Instruct Namespace to generate an OIDC token to access the registry. The generated access token will be signed by the issuer `https://federation.namespaceapis.com`. */
|
|
522
|
+
openid?: AdditionalRegistryAuthenticatorOpenIDFederation | undefined;
|
|
523
|
+
/** Namespace will federate with AWS to obtain an [ECR authorization token](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetAuthorizationToken.html). Make sure to grant the required `ecr:*` permissions to the federated IAM role. */
|
|
524
|
+
ecrTokenFromAwsFederation?: AdditionalRegistryAuthenticatorAssumeRoleFromAwsFederation | undefined;
|
|
525
|
+
/** Namespace will federate with Google Cloud Workload Identity Federation to obtain a short-lived access token usable with Google Artifact Registry (or Container Registry). Namespace performs the STS token-exchange and, if requested, service account impersonation server-side. */
|
|
526
|
+
gcpWorkloadIdentityFederation?: AdditionalRegistryAuthenticatorGcpWorkloadIdentityFederation | undefined;
|
|
527
|
+
}
|
|
528
|
+
export interface AdditionalRegistry {
|
|
529
|
+
authentication?: AdditionalRegistryAuthenticator | undefined;
|
|
530
|
+
}
|
|
531
|
+
export type AdditionalRegistryMap = {
|
|
532
|
+
[key: string]: AdditionalRegistry | undefined;
|
|
533
|
+
};
|
|
534
|
+
/** Defines a permission grant on a resource. Permissions are used to restrict what a token is allowed to do. See https://namespace.so/docs/security/permissions for a list of available resource types and actions. */
|
|
535
|
+
export interface Permission {
|
|
536
|
+
/** The type of resource this permission applies to, e.g. "instance", "vault/object", "token/revokable". */
|
|
537
|
+
resourceType?: string | undefined;
|
|
538
|
+
/** The specific resource ID, or empty for all resources of this type. */
|
|
539
|
+
resourceId?: string | undefined;
|
|
540
|
+
/** The set of actions allowed on the resource, e.g. "create", "list", "describe". */
|
|
541
|
+
actions?: StringList | undefined;
|
|
542
|
+
}
|
|
543
|
+
export type PermissionList = Array<Permission>;
|
|
544
|
+
export type EgressPolicySpecMode = "MODE_UNKNOWN" | "DISABLED" | "ALLOW_ALL" | "ADVISORY" | "BLOCK";
|
|
545
|
+
export type EgressPolicySpecRuleRuleOp = "RULE_OP_UNKNOWN" | "ALLOW" | "PROXY" | "INJECT";
|
|
546
|
+
export interface EgressPolicySpecMatcher {
|
|
547
|
+
matchDomains?: StringList | undefined;
|
|
548
|
+
}
|
|
549
|
+
export interface EgressPolicySpecAllowOpts {
|
|
550
|
+
}
|
|
551
|
+
export interface EgressPolicySpecProxyOpts {
|
|
552
|
+
viaDomain?: string | undefined;
|
|
553
|
+
}
|
|
554
|
+
export interface EgressPolicySpecInjectOptsFromEndpoint {
|
|
555
|
+
url?: string | undefined;
|
|
556
|
+
headers?: HttpHeaderList | undefined;
|
|
557
|
+
}
|
|
558
|
+
export type EgressPolicySpecInjectOptsResolutionPolicy = "RESOLUTION_POLICY_UNKNOWN" | "RESOLUTION_POLICY_ONCE" | "RESOLUTION_POLICY_WHEN_STALE";
|
|
559
|
+
export interface EgressPolicySpecInjectOpts {
|
|
560
|
+
headerName?: string | undefined;
|
|
561
|
+
/** Exactly one value source must be set. */
|
|
562
|
+
fromSecretId?: string | undefined;
|
|
563
|
+
/** Plaintext value. */
|
|
564
|
+
value?: string | undefined;
|
|
565
|
+
/** Fetches the value to inject from an HTTP endpoint using GET. */
|
|
566
|
+
fromEndpoint?: EgressPolicySpecInjectOptsFromEndpoint | undefined;
|
|
567
|
+
resolutionPolicy?: EgressPolicySpecInjectOptsResolutionPolicy | (string & {}) | undefined;
|
|
568
|
+
}
|
|
569
|
+
export interface EgressPolicySpecRule {
|
|
570
|
+
op?: EgressPolicySpecRuleRuleOp | (string & {}) | undefined;
|
|
571
|
+
matcher?: EgressPolicySpecMatcher | undefined;
|
|
572
|
+
allow?: EgressPolicySpecAllowOpts | undefined;
|
|
573
|
+
proxy?: EgressPolicySpecProxyOpts | undefined;
|
|
574
|
+
inject?: EgressPolicySpecInjectOpts | undefined;
|
|
575
|
+
}
|
|
576
|
+
export type EgressPolicySpecRuleList = Array<EgressPolicySpecRule>;
|
|
577
|
+
export interface EgressPolicySpec {
|
|
578
|
+
mode?: EgressPolicySpecMode | (string & {}) | undefined;
|
|
579
|
+
/** Enables HTTP and HTTPS interception for PROXY and INJECT rules. */
|
|
580
|
+
deepPacketInspection?: boolean | undefined;
|
|
581
|
+
/** Rules applied in order to outbound connections. */
|
|
582
|
+
rules?: EgressPolicySpecRuleList | undefined;
|
|
583
|
+
/** Tags of Namespace-managed egress rulesets appended to rules. */
|
|
584
|
+
additionalRulesets?: StringList | undefined;
|
|
585
|
+
/** Deprecated. Only supported in inline egress policies during instance creation. Use `ALLOW` rules instead. */
|
|
586
|
+
allowedEgressDomains?: StringList | undefined;
|
|
587
|
+
}
|
|
588
|
+
export interface CreateInstanceRequestNetworkPolicy {
|
|
589
|
+
/** Inline egress policy configuration, defining behavior via mode and rules. */
|
|
590
|
+
egress?: EgressPolicySpec | undefined;
|
|
591
|
+
/** Tag of a pre-configured workspace egress policy to apply. Mutually exclusive with 'egress'. */
|
|
592
|
+
egressPolicyTag?: string | undefined;
|
|
593
|
+
}
|
|
594
|
+
export interface CreateInstanceRequest {
|
|
595
|
+
/** The shape of the instance to be created. */
|
|
596
|
+
shape?: InstanceShape | undefined;
|
|
597
|
+
/** A list of features that should be enabled in this instance. Deprecated: use feature_configuration below instead. */
|
|
598
|
+
features?: CreateInstanceRequestFeatureList | undefined;
|
|
599
|
+
/** A list of features that should be enabled in this instance. */
|
|
600
|
+
featureConfiguration?: CreateInstanceRequestFeatureConfiguration | undefined;
|
|
601
|
+
/** A human-facing description of the purpose of this instance. Used for debugging purposes. */
|
|
602
|
+
documentedPurpose?: string | undefined;
|
|
603
|
+
/** A set of labels that are attached to the new instance. Instances can be queried based on labels, see also ListInstancesRequest. */
|
|
604
|
+
labels?: LabelList | undefined;
|
|
605
|
+
/** Descriptive user metadata, separate from labels and attachments. Returned in instance metadata and searchable using ListInstances.annotation_filter. Uses the same name, value, and total-size limits as AnnotationOperation. */
|
|
606
|
+
annotations?: StringMap | undefined;
|
|
607
|
+
/** Timestamp of when this instance should be released (in UTC). Requested deadlines can be modified by policy. For example, if a workspace is configured with a maximum deadline of 24h, and a instance is created with a requested deadline of 48h, the resulting instance will have a deadline of 24h. When a instance hits its deadline, processes within will receive a `SIGTERM` and have a maximum time to shutdown gracefully before the instance is destroyed. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. */
|
|
608
|
+
deadline?: string | undefined;
|
|
609
|
+
/** Deprecated and ignored; it used to allow creation queueing. */
|
|
610
|
+
interactive?: boolean | undefined;
|
|
611
|
+
/** Requests that the new instance be created in the specified region. Typically a region is not set. In that case, the Namespace platform makes a placement a decision on behalf of users based on the type of workload, tenant policies and available global capacity. */
|
|
612
|
+
region?: string | undefined;
|
|
613
|
+
/** Ordered placement selectors. Each entry must be one of: - `cell:<cell-name>` (for example `cell:iad2-a`) - `site:<site-name>` (for example `site:iad2`) - `continent:<continent-name>` (for example `continent:us`) - `any` */
|
|
614
|
+
placement?: StringList | undefined;
|
|
615
|
+
/** Start the specified containers as part of instance creation. Containers are deployed to `containerd` directly. See ContainerRequest for more details. Only supported on Linux platform. */
|
|
616
|
+
containers?: ContainerRequestList | undefined;
|
|
617
|
+
/** Ingresses backed by ports exposed directly by the instance. Unlike container export ports, these can target any supported platform. */
|
|
618
|
+
ingresses?: IngressList | undefined;
|
|
619
|
+
/** Domain used to construct ingress hostnames for the instance. The workspace must be configured to allow the requested domain. */
|
|
620
|
+
ingressBaseDomain?: string | undefined;
|
|
621
|
+
/** Start the specified applications on the instance without using containerization. See ApplicationRequest for details. */
|
|
622
|
+
applications?: ApplicationRequestList | undefined;
|
|
623
|
+
/** A set of experimental features that should be attached to this instance. Experimental features may be removed or modified at any time by the Namespace team. */
|
|
624
|
+
experimental?: CreateInstanceRequestExperimentalFeatures | undefined;
|
|
625
|
+
/** Attach storage to the instance, notably, cache volumes. See https://namespace.so/docs/architecture/storage/cache-volumes for details. */
|
|
626
|
+
volumes?: VolumeRequestList | undefined;
|
|
627
|
+
/** Enable container caching. Container caching is only available on Linux. */
|
|
628
|
+
containerCache?: CreateInstanceRequestExperimentalFeaturesContainerCache | undefined;
|
|
629
|
+
/** We'll HTTP POST on this URL whenever the instance changes state. The body of the post will be application/json with a serialized InstanceEventMetadata. */
|
|
630
|
+
httpEventCallback?: HttpCallbackEndpoint | undefined;
|
|
631
|
+
/** Additional authenticated registries that can be targeted when pulling images. The map key is the registry address. */
|
|
632
|
+
additionalRegistries?: AdditionalRegistryMap | undefined;
|
|
633
|
+
/** The set of permissions to grant to the workload running in this instance. If not specified, inherits the tenant's default workload permissions. If the tenant token used to authenticate this request does not itself grant a requested permission, the request fails with `PermissionDenied`. See https://namespace.so/docs/security/permissions for available permissions. */
|
|
634
|
+
workloadPermissions?: PermissionList | undefined;
|
|
635
|
+
/** Network policy to apply to the instance. See https://namespace.so/docs/architecture/networking/security for details. */
|
|
636
|
+
networkPolicy?: CreateInstanceRequestNetworkPolicy | undefined;
|
|
637
|
+
}
|
|
638
|
+
export interface ReserveInstanceRequest {
|
|
639
|
+
/** All parameters for the underlying instance to be created */
|
|
640
|
+
createInstanceReq?: CreateInstanceRequest | undefined;
|
|
641
|
+
/** Deadline by which the instance should be created. If the reservation has not been fulfilled by this time, the server will no longer attempt to create the instance. */
|
|
642
|
+
reservationDeadline?: string | undefined;
|
|
643
|
+
/** Priority amongst all reservations. Higher value = higher priority. Negative values are allowed. */
|
|
644
|
+
priority?: string | undefined;
|
|
645
|
+
}
|
|
646
|
+
export interface ReserveInstanceResponse {
|
|
647
|
+
reservationId: string;
|
|
648
|
+
metadata?: ReserveInstanceResponseReservationMetadata | undefined;
|
|
649
|
+
}
|
|
650
|
+
export interface UpdateReservationDeadlineRequest {
|
|
651
|
+
reservationId?: string | undefined;
|
|
652
|
+
reservationDeadline?: string | undefined;
|
|
653
|
+
}
|
|
654
|
+
export interface UpdateReservationDeadlineResponse {
|
|
655
|
+
reservationDeadline?: string | undefined;
|
|
656
|
+
}
|
|
657
|
+
export type CancelReservationError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
658
|
+
/** Cancel a pending reservation. Has no effect if the reservation has expired; throws an error if it has already been fulfilled (i.e. if it has a corresponding running instance). Equivalent to UpdateReservationDeadline(now). */
|
|
659
|
+
export declare const cancelReservation: API.OperationMethod<CancelReservationRequest, CancelReservationResponse, CancelReservationError, NamespaceLabsOpContext>;
|
|
660
|
+
export type DescribeReservationError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
661
|
+
/** Returns the metadata about a previously created reservation. Includes the instance ID of the instance that fulfilled the reservation, if such an instance exists. */
|
|
662
|
+
export declare const describeReservation: API.OperationMethod<DescribeReservationRequest, DescribeReservationResponse, DescribeReservationError, NamespaceLabsOpContext>;
|
|
663
|
+
export type ListReservationsError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
664
|
+
/** List reservations that were active within a specified time range. */
|
|
665
|
+
export declare const listReservations: API.OperationMethod<ListReservationsRequest, ListReservationsResponse, ListReservationsError, NamespaceLabsOpContext>;
|
|
666
|
+
export type ReserveInstanceError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
667
|
+
/** Create a reservation for an instance. The server will immediately return a reservation ID and attempt to create the desired instance. In the event that the instance cannot be created instantaneously, the server will periodically retry until the provided reservation deadline. */
|
|
668
|
+
export declare const reserveInstance: API.OperationMethod<ReserveInstanceRequest, ReserveInstanceResponse, ReserveInstanceError, NamespaceLabsOpContext>;
|
|
669
|
+
export type UpdateReservationDeadlineError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
670
|
+
/** Update the deadline of a reservation. Fails if the new deadline is in the past or if the reservation has already been fulfilled. UpdateReservationDeadline(now) is equivalent to CancelReservation. */
|
|
671
|
+
export declare const updateReservationDeadline: API.OperationMethod<UpdateReservationDeadlineRequest, UpdateReservationDeadlineResponse, UpdateReservationDeadlineError, NamespaceLabsOpContext>;
|
|
672
|
+
//# sourceMappingURL=experimental_compute_reservation.d.ts.map
|