@distilled.cloud/namespacelabs 1.0.0-rc.20 → 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/README.md +19 -10
- package/lib/.lazy.json +1 -1
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +27 -9
- package/lib/credentials.d.ts.map +1 -1
- package/lib/errors.d.ts +26 -0
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/index.d.ts +10 -8
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +11 -7
- package/lib/protocol.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/buildkite_jobs.d.ts +8 -0
- package/lib/services/buildkite_jobs.d.ts.map +1 -1
- package/lib/services/buildkite_jobs.js +1 -1
- package/lib/services/buildkite_jobs.js.map +1 -1
- package/lib/services/buildkite_queue.d.ts +8 -0
- package/lib/services/buildkite_queue.d.ts.map +1 -1
- package/lib/services/buildkite_queue.js +1 -1
- package/lib/services/buildkite_queue.js.map +1 -1
- package/lib/services/index.d.ts +0 -27
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +0 -27
- package/lib/services.lazy/index.js +2 -2
- package/lib/traits.d.ts.map +1 -1
- package/lib/{services → unstable-services}/artifacts.d.ts +8 -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/{services → unstable-services}/audit.d.ts +8 -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/{services → unstable-services}/bazel.d.ts +8 -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/{services → unstable-services}/bazel_cache.d.ts +8 -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/{services → unstable-services}/builder.d.ts +8 -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/{services → unstable-services}/compute.d.ts +67 -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/{services → unstable-services}/compute_command.d.ts +8 -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/{services → unstable-services}/compute_observability.d.ts +8 -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/{services → unstable-services}/compute_storage.d.ts +8 -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/{services → unstable-services}/compute_usage.d.ts +8 -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/{services → unstable-services}/egress.d.ts +8 -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/{services → unstable-services}/experimental_compute_reservation.d.ts +11 -1
- 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/{services → unstable-services}/experimental_remote_results.d.ts +8 -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/{services → unstable-services}/github_image.d.ts +8 -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/{services → unstable-services}/github_jobs.d.ts +8 -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/{services → unstable-services}/github_profile.d.ts +8 -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/{services → unstable-services}/gradle_cache.d.ts +8 -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/{services → unstable-services}/httpcache.d.ts +8 -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/{services → unstable-services}/iam_tenant.d.ts +95 -11
- 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/{services → unstable-services}/iam_tenant_membership.d.ts +8 -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/{services → unstable-services}/iam_token.d.ts +8 -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/{services → unstable-services}/image.d.ts +8 -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/{services → unstable-services}/private_devbox.d.ts +24 -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/{services → unstable-services}/private_user_sessions.d.ts +8 -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/{services → unstable-services}/registry.d.ts +8 -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/{services → unstable-services}/testing.d.ts +8 -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/{services → unstable-services}/vault.d.ts +8 -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/{services.lazy → unstable-services.lazy}/compute_storage.js +1 -1
- package/lib/unstable-services.lazy/compute_usage.js +1 -0
- package/lib/unstable-services.lazy/egress.js +1 -0
- package/lib/{services.lazy → unstable-services.lazy}/experimental_compute_reservation.js +1 -1
- 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/{services.lazy → unstable-services.lazy}/private_devbox.js +1 -1
- package/lib/unstable-services.lazy/private_user_sessions.js +1 -0
- package/lib/{services.lazy → unstable-services.lazy}/registry.js +1 -1
- package/lib/unstable-services.lazy/testing.js +1 -0
- package/lib/unstable-services.lazy/vault.js +1 -0
- package/package.json +12 -5
- package/src/credentials.ts +84 -40
- package/src/errors.ts +24 -0
- package/src/index.ts +10 -8
- package/src/protocol.ts +27 -26
- package/src/services/buildkite_jobs.ts +10 -2
- package/src/services/buildkite_queue.ts +12 -4
- package/src/services/index.ts +0 -27
- package/src/{services → unstable-services}/artifacts.ts +16 -8
- package/src/{services → unstable-services}/audit.ts +10 -2
- package/src/{services → unstable-services}/bazel.ts +12 -4
- package/src/{services → unstable-services}/bazel_cache.ts +10 -2
- package/src/{services → unstable-services}/builder.ts +13 -5
- package/src/{services → unstable-services}/compute.ts +422 -225
- package/src/{services → unstable-services}/compute_command.ts +10 -2
- package/src/{services → unstable-services}/compute_observability.ts +12 -4
- package/src/{services → unstable-services}/compute_storage.ts +20 -12
- package/src/{services → unstable-services}/compute_usage.ts +14 -6
- package/src/{services → unstable-services}/egress.ts +13 -5
- package/src/{services → unstable-services}/experimental_compute_reservation.ts +44 -33
- package/src/{services → unstable-services}/experimental_remote_results.ts +15 -7
- package/src/{services → unstable-services}/github_image.ts +10 -2
- package/src/{services → unstable-services}/github_jobs.ts +11 -3
- package/src/{services → unstable-services}/github_profile.ts +14 -6
- package/src/{services → unstable-services}/gradle_cache.ts +11 -3
- package/src/{services → unstable-services}/httpcache.ts +11 -3
- package/src/{services → unstable-services}/iam_tenant.ts +524 -159
- package/src/{services → unstable-services}/iam_tenant_membership.ts +11 -3
- package/src/{services → unstable-services}/iam_token.ts +17 -9
- package/src/{services → unstable-services}/image.ts +14 -6
- package/src/unstable-services/index.ts +28 -0
- package/src/{services → unstable-services}/private_devbox.ts +82 -43
- package/src/{services → unstable-services}/private_user_sessions.ts +13 -5
- package/src/{services → unstable-services}/registry.ts +22 -14
- package/src/{services → unstable-services}/testing.ts +12 -4
- package/src/{services → unstable-services}/vault.ts +14 -6
- package/lib/index.lazy.js +0 -7
- package/lib/index.lazy.js.map +0 -1
- package/lib/services/artifacts.d.ts.map +0 -1
- package/lib/services/artifacts.js +0 -2
- package/lib/services/artifacts.js.map +0 -1
- package/lib/services/audit.d.ts.map +0 -1
- package/lib/services/audit.js +0 -2
- package/lib/services/audit.js.map +0 -1
- package/lib/services/bazel.d.ts.map +0 -1
- package/lib/services/bazel.js +0 -2
- package/lib/services/bazel.js.map +0 -1
- package/lib/services/bazel_cache.d.ts.map +0 -1
- package/lib/services/bazel_cache.js +0 -2
- package/lib/services/bazel_cache.js.map +0 -1
- package/lib/services/builder.d.ts.map +0 -1
- package/lib/services/builder.js +0 -2
- package/lib/services/builder.js.map +0 -1
- package/lib/services/compute.d.ts.map +0 -1
- package/lib/services/compute.js +0 -43
- package/lib/services/compute.js.map +0 -1
- package/lib/services/compute_command.d.ts.map +0 -1
- package/lib/services/compute_command.js +0 -2
- package/lib/services/compute_command.js.map +0 -1
- package/lib/services/compute_observability.d.ts.map +0 -1
- package/lib/services/compute_observability.js +0 -2
- package/lib/services/compute_observability.js.map +0 -1
- package/lib/services/compute_storage.d.ts.map +0 -1
- package/lib/services/compute_storage.js +0 -33
- package/lib/services/compute_storage.js.map +0 -1
- package/lib/services/compute_usage.d.ts.map +0 -1
- package/lib/services/compute_usage.js +0 -2
- package/lib/services/compute_usage.js.map +0 -1
- package/lib/services/egress.d.ts.map +0 -1
- package/lib/services/egress.js +0 -2
- package/lib/services/egress.js.map +0 -1
- package/lib/services/experimental_compute_reservation.d.ts.map +0 -1
- package/lib/services/experimental_compute_reservation.js +0 -23
- package/lib/services/experimental_compute_reservation.js.map +0 -1
- package/lib/services/experimental_remote_results.d.ts.map +0 -1
- package/lib/services/experimental_remote_results.js +0 -2
- package/lib/services/experimental_remote_results.js.map +0 -1
- package/lib/services/github_image.d.ts.map +0 -1
- package/lib/services/github_image.js +0 -2
- package/lib/services/github_image.js.map +0 -1
- package/lib/services/github_jobs.d.ts.map +0 -1
- package/lib/services/github_jobs.js +0 -2
- package/lib/services/github_jobs.js.map +0 -1
- package/lib/services/github_profile.d.ts.map +0 -1
- package/lib/services/github_profile.js +0 -2
- package/lib/services/github_profile.js.map +0 -1
- package/lib/services/gradle_cache.d.ts.map +0 -1
- package/lib/services/gradle_cache.js +0 -2
- package/lib/services/gradle_cache.js.map +0 -1
- package/lib/services/httpcache.d.ts.map +0 -1
- package/lib/services/httpcache.js +0 -2
- package/lib/services/httpcache.js.map +0 -1
- package/lib/services/iam_tenant.d.ts.map +0 -1
- package/lib/services/iam_tenant.js +0 -39
- package/lib/services/iam_tenant.js.map +0 -1
- package/lib/services/iam_tenant_membership.d.ts.map +0 -1
- package/lib/services/iam_tenant_membership.js +0 -2
- package/lib/services/iam_tenant_membership.js.map +0 -1
- package/lib/services/iam_token.d.ts.map +0 -1
- package/lib/services/iam_token.js +0 -2
- package/lib/services/iam_token.js.map +0 -1
- package/lib/services/image.d.ts.map +0 -1
- package/lib/services/image.js +0 -2
- package/lib/services/image.js.map +0 -1
- package/lib/services/private_devbox.d.ts.map +0 -1
- package/lib/services/private_devbox.js +0 -81
- package/lib/services/private_devbox.js.map +0 -1
- package/lib/services/private_user_sessions.d.ts.map +0 -1
- package/lib/services/private_user_sessions.js +0 -2
- package/lib/services/private_user_sessions.js.map +0 -1
- package/lib/services/registry.d.ts.map +0 -1
- package/lib/services/registry.js +0 -34
- package/lib/services/registry.js.map +0 -1
- package/lib/services/testing.d.ts.map +0 -1
- package/lib/services/testing.js +0 -2
- package/lib/services/testing.js.map +0 -1
- package/lib/services/vault.d.ts.map +0 -1
- package/lib/services/vault.js +0 -2
- package/lib/services/vault.js.map +0 -1
- package/lib/services.lazy/artifacts.js +0 -1
- package/lib/services.lazy/audit.js +0 -1
- package/lib/services.lazy/bazel.js +0 -1
- package/lib/services.lazy/bazel_cache.js +0 -1
- package/lib/services.lazy/builder.js +0 -1
- package/lib/services.lazy/compute.js +0 -4
- package/lib/services.lazy/compute_command.js +0 -1
- package/lib/services.lazy/compute_observability.js +0 -1
- package/lib/services.lazy/compute_usage.js +0 -1
- package/lib/services.lazy/egress.js +0 -1
- package/lib/services.lazy/experimental_remote_results.js +0 -1
- package/lib/services.lazy/github_image.js +0 -1
- package/lib/services.lazy/github_jobs.js +0 -1
- package/lib/services.lazy/github_profile.js +0 -1
- package/lib/services.lazy/gradle_cache.js +0 -1
- package/lib/services.lazy/httpcache.js +0 -1
- package/lib/services.lazy/iam_tenant.js +0 -4
- package/lib/services.lazy/iam_tenant_membership.js +0 -1
- package/lib/services.lazy/iam_token.js +0 -1
- package/lib/services.lazy/image.js +0 -1
- package/lib/services.lazy/private_user_sessions.js +0 -1
- package/lib/services.lazy/testing.js +0 -1
- package/lib/services.lazy/vault.js +0 -1
|
@@ -4,7 +4,7 @@ import * as C from "@distilled.cloud/core/category";
|
|
|
4
4
|
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
5
|
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
6
|
import type * as Redacted from "effect/Redacted";
|
|
7
|
-
import {
|
|
7
|
+
import { NamespaceLabsServiceErrors } from "../errors.ts";
|
|
8
8
|
import { paginateCursor } from "../pagination.ts";
|
|
9
9
|
import {
|
|
10
10
|
NamespaceLabsProtocol,
|
|
@@ -35,6 +35,7 @@ export class AlreadyExists
|
|
|
35
35
|
/*@__PURE__*/ S.TaggedError<AlreadyExists>()("AlreadyExists", {
|
|
36
36
|
message: S.String,
|
|
37
37
|
body: S.Unknown,
|
|
38
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
38
39
|
}).pipe(C.withConflictError),
|
|
39
40
|
[{ status: 409, body: { "/code": "already_exists" } }],
|
|
40
41
|
) {}
|
|
@@ -44,6 +45,7 @@ export class FailedPrecondition
|
|
|
44
45
|
/*@__PURE__*/ S.TaggedError<FailedPrecondition>()("FailedPrecondition", {
|
|
45
46
|
message: S.String,
|
|
46
47
|
body: S.Unknown,
|
|
48
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
47
49
|
}).pipe(C.withBadRequestError),
|
|
48
50
|
[{ status: 400, body: { "/code": "failed_precondition" } }],
|
|
49
51
|
) {}
|
|
@@ -53,6 +55,7 @@ export class InvalidArgument
|
|
|
53
55
|
/*@__PURE__*/ S.TaggedError<InvalidArgument>()("InvalidArgument", {
|
|
54
56
|
message: S.String,
|
|
55
57
|
body: S.Unknown,
|
|
58
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
56
59
|
}).pipe(C.withBadRequestError),
|
|
57
60
|
[{ status: 400, body: { "/code": "invalid_argument" } }],
|
|
58
61
|
) {}
|
|
@@ -62,6 +65,7 @@ export class NotFound
|
|
|
62
65
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
63
66
|
message: S.String,
|
|
64
67
|
body: S.Unknown,
|
|
68
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
65
69
|
}).pipe(C.withBadRequestError),
|
|
66
70
|
[{ status: 404 }],
|
|
67
71
|
) {}
|
|
@@ -71,6 +75,7 @@ export class PermissionDenied
|
|
|
71
75
|
/*@__PURE__*/ S.TaggedError<PermissionDenied>()("PermissionDenied", {
|
|
72
76
|
message: S.String,
|
|
73
77
|
body: S.Unknown,
|
|
78
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
74
79
|
}).pipe(C.withAuthError),
|
|
75
80
|
[{ status: 403 }],
|
|
76
81
|
) {}
|
|
@@ -80,6 +85,8 @@ export class ResourceExhausted
|
|
|
80
85
|
/*@__PURE__*/ S.TaggedError<ResourceExhausted>()("ResourceExhausted", {
|
|
81
86
|
message: S.String,
|
|
82
87
|
body: S.Unknown,
|
|
88
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
89
|
+
retryAfter: /*@__PURE__*/ S.optional(S.Duration),
|
|
83
90
|
}).pipe(C.withThrottlingError),
|
|
84
91
|
[{ status: 429 }],
|
|
85
92
|
) {}
|
|
@@ -89,6 +96,7 @@ export class Unauthenticated
|
|
|
89
96
|
/*@__PURE__*/ S.TaggedError<Unauthenticated>()("Unauthenticated", {
|
|
90
97
|
message: S.String,
|
|
91
98
|
body: S.Unknown,
|
|
99
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
92
100
|
}).pipe(C.withAuthError),
|
|
93
101
|
[{ status: 401 }],
|
|
94
102
|
) {}
|
|
@@ -608,6 +616,8 @@ export interface CreateInstanceRequest {
|
|
|
608
616
|
documentedPurpose?: string | undefined;
|
|
609
617
|
/** A set of labels that are attached to the new instance. Instances can be queried based on labels, see also ListInstancesRequest. */
|
|
610
618
|
labels?: LabelList | undefined;
|
|
619
|
+
/** 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. */
|
|
620
|
+
annotations?: StringMap | undefined;
|
|
611
621
|
/** 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. */
|
|
612
622
|
deadline?: string | undefined;
|
|
613
623
|
/** Deprecated and ignored; it used to allow creation queueing. */
|
|
@@ -693,6 +703,8 @@ export interface InstanceMetadata {
|
|
|
693
703
|
ingressDomain: string;
|
|
694
704
|
/** The user specified instance labels. */
|
|
695
705
|
labels: LabelList;
|
|
706
|
+
/** Descriptive user metadata, separate from labels and attachments. Not used for policy matching or workload identity claims. */
|
|
707
|
+
annotations: StringMap;
|
|
696
708
|
/** If the used authorization token has a `creator_id`, it is retained for debugging purposes. */
|
|
697
709
|
creatorId: string;
|
|
698
710
|
/** Maintain state of each of the exported system services in this instance. Examples of system services are `buildkit`, `kubernetes`, etc. */
|
|
@@ -775,6 +787,8 @@ export interface AllocatedContainer {
|
|
|
775
787
|
name: string;
|
|
776
788
|
/** The allocated exported ports, which include the allocated public ingress URLs. */
|
|
777
789
|
exportedPort: AllocatedContainerExportedContainerPortList;
|
|
790
|
+
/** The resolved image reference used to back this container. */
|
|
791
|
+
imageRef: string;
|
|
778
792
|
}
|
|
779
793
|
export type AllocatedContainerList = Array<AllocatedContainer>;
|
|
780
794
|
export interface DescribeInstanceResponseExperimentalFeatures {
|
|
@@ -941,6 +955,32 @@ export interface GetNetworkConfigurationResponseEgress {
|
|
|
941
955
|
export interface GetNetworkConfigurationResponse {
|
|
942
956
|
egress?: GetNetworkConfigurationResponseEgress | undefined;
|
|
943
957
|
}
|
|
958
|
+
export interface GetRemoteDesktopConfigRequest {
|
|
959
|
+
/** Required: which instance to provide remote desktop configuration for. */
|
|
960
|
+
instanceId?: string | undefined;
|
|
961
|
+
}
|
|
962
|
+
export interface GetRemoteDesktopConfigResponseVNCConfig {
|
|
963
|
+
/** The VNC endpoint exposed by the instance ingress. */
|
|
964
|
+
endpoint: string;
|
|
965
|
+
/** The username to use when authenticating to the VNC server, if required. */
|
|
966
|
+
username: string;
|
|
967
|
+
/** The password to use when authenticating to the VNC server, if required. */
|
|
968
|
+
password: string | Redacted.Redacted<string>;
|
|
969
|
+
}
|
|
970
|
+
export interface GetRemoteDesktopConfigResponseRDPConfig {
|
|
971
|
+
/** The RDP endpoint exposed by the instance ingress. */
|
|
972
|
+
endpoint: string;
|
|
973
|
+
/** The username to use when authenticating to the RDP server. */
|
|
974
|
+
username: string;
|
|
975
|
+
/** The password to use when authenticating to the RDP server. */
|
|
976
|
+
password: string | Redacted.Redacted<string>;
|
|
977
|
+
}
|
|
978
|
+
export interface GetRemoteDesktopConfigResponse {
|
|
979
|
+
/** The configuration to use when accessing the instance's remote display using VNC. If the instance does not expose a VNC service, this field is not set. */
|
|
980
|
+
vnc?: GetRemoteDesktopConfigResponseVNCConfig | undefined;
|
|
981
|
+
/** The configuration to use when accessing the instance's remote display using RDP. If the instance does not expose an RDP service, this field is not set. */
|
|
982
|
+
rdp?: GetRemoteDesktopConfigResponseRDPConfig | undefined;
|
|
983
|
+
}
|
|
944
984
|
export interface GetSSHConfigRequest {
|
|
945
985
|
/** Required: which instance to provide and SSH configuration for. */
|
|
946
986
|
instanceId?: string | undefined;
|
|
@@ -1019,6 +1059,8 @@ export interface ListInstancesRequest {
|
|
|
1019
1059
|
notOlderThan?: string | undefined;
|
|
1020
1060
|
/** Only return instances that match the specified filter. */
|
|
1021
1061
|
labelFilter?: LabelFilterEntryList | undefined;
|
|
1062
|
+
/** All annotation filters must match. Independent of label_filter, which must also match when specified. Only EQUAL, NOT_EQUAL, and EXIST are accepted. NOT_EQUAL also matches instances where the annotation is absent. */
|
|
1063
|
+
annotationFilter?: LabelFilterEntryList | undefined;
|
|
1022
1064
|
}
|
|
1023
1065
|
export type InstanceMetadataList = Array<InstanceMetadata>;
|
|
1024
1066
|
export interface ListInstancesResponse {
|
|
@@ -1047,6 +1089,25 @@ export interface StartContainersResponse {
|
|
|
1047
1089
|
/** The corresponding set of allocated containers. Containers are returned in the same order they are requested. */
|
|
1048
1090
|
containers: AllocatedContainerList;
|
|
1049
1091
|
}
|
|
1092
|
+
export type AnnotationOperationOperator = "UNKNOWN" | "UPSERT" | "REMOVE";
|
|
1093
|
+
export interface AnnotationOperation {
|
|
1094
|
+
/** Only UPSERT and REMOVE are accepted. */
|
|
1095
|
+
op?: AnnotationOperationOperator | (string & {}) | undefined;
|
|
1096
|
+
/** A DNS-subdomain name, at most 253 bytes. Required for both operations. */
|
|
1097
|
+
name?: string | undefined;
|
|
1098
|
+
/** At most 1024 bytes. The complete annotation set is limited to 2048 bytes across names and values. REMOVE requires an empty value; removing an absent annotation is a no-op. */
|
|
1099
|
+
value?: string | undefined;
|
|
1100
|
+
}
|
|
1101
|
+
export type AnnotationOperationList = Array<AnnotationOperation>;
|
|
1102
|
+
export interface UpdateInstanceAnnotationsRequest {
|
|
1103
|
+
instanceId?: string | undefined;
|
|
1104
|
+
/** Applied in order. Later operations may overwrite earlier operations on the same annotation. If any operation is invalid, no changes are persisted. */
|
|
1105
|
+
operations?: AnnotationOperationList | undefined;
|
|
1106
|
+
}
|
|
1107
|
+
export interface UpdateInstanceAnnotationsResponse {
|
|
1108
|
+
/** The complete set of annotations after the update. */
|
|
1109
|
+
annotations: StringMap;
|
|
1110
|
+
}
|
|
1050
1111
|
export interface WaitInstanceSyncRequest {
|
|
1051
1112
|
/** The ID of instance which this call targets. */
|
|
1052
1113
|
instanceId?: string | undefined;
|
|
@@ -1079,8 +1140,8 @@ export const createIngress: API.OperationMethod<
|
|
|
1079
1140
|
CreateIngressError,
|
|
1080
1141
|
NamespaceLabsOpContext
|
|
1081
1142
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1082
|
-
input: __S(
|
|
1083
|
-
output: __S(
|
|
1143
|
+
input: __S(579, __c18, 3) as any as S.Schema<CreateIngressRequest>,
|
|
1144
|
+
output: __S(610, __c19, 2) as any as S.Schema<CreateIngressResponse>,
|
|
1084
1145
|
errors: [
|
|
1085
1146
|
InvalidArgument,
|
|
1086
1147
|
FailedPrecondition,
|
|
@@ -1089,8 +1150,8 @@ export const createIngress: API.OperationMethod<
|
|
|
1089
1150
|
NotFound,
|
|
1090
1151
|
AlreadyExists,
|
|
1091
1152
|
ResourceExhausted,
|
|
1092
|
-
UnknownNamespaceLabsError,
|
|
1093
1153
|
],
|
|
1154
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1094
1155
|
protocol: NamespaceLabsProtocol,
|
|
1095
1156
|
retry: Retry.Retry,
|
|
1096
1157
|
telemetry: TELEMETRY,
|
|
@@ -1113,8 +1174,8 @@ export const createInstance: API.OperationMethod<
|
|
|
1113
1174
|
CreateInstanceError,
|
|
1114
1175
|
NamespaceLabsOpContext
|
|
1115
1176
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1116
|
-
input: __S(
|
|
1117
|
-
output: __S(
|
|
1177
|
+
input: __S(744, __c23, 8) as any as S.Schema<CreateInstanceRequest>,
|
|
1178
|
+
output: __S(782, __c24, 14) as any as S.Schema<CreateInstanceResponse>,
|
|
1118
1179
|
errors: [
|
|
1119
1180
|
InvalidArgument,
|
|
1120
1181
|
FailedPrecondition,
|
|
@@ -1123,8 +1184,8 @@ export const createInstance: API.OperationMethod<
|
|
|
1123
1184
|
NotFound,
|
|
1124
1185
|
AlreadyExists,
|
|
1125
1186
|
ResourceExhausted,
|
|
1126
|
-
UnknownNamespaceLabsError,
|
|
1127
1187
|
],
|
|
1188
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1128
1189
|
protocol: NamespaceLabsProtocol,
|
|
1129
1190
|
retry: Retry.Retry,
|
|
1130
1191
|
telemetry: TELEMETRY,
|
|
@@ -1147,8 +1208,8 @@ export const deleteIngress: API.OperationMethod<
|
|
|
1147
1208
|
DeleteIngressError,
|
|
1148
1209
|
NamespaceLabsOpContext
|
|
1149
1210
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1150
|
-
input: __S(
|
|
1151
|
-
output: __S(
|
|
1211
|
+
input: __S(1024, __c32, 0) as any as S.Schema<DeleteIngressRequest>,
|
|
1212
|
+
output: __S(992, __c31, 0) as any as S.Schema<DeleteIngressResponse>,
|
|
1152
1213
|
errors: [
|
|
1153
1214
|
InvalidArgument,
|
|
1154
1215
|
FailedPrecondition,
|
|
@@ -1157,8 +1218,8 @@ export const deleteIngress: API.OperationMethod<
|
|
|
1157
1218
|
NotFound,
|
|
1158
1219
|
AlreadyExists,
|
|
1159
1220
|
ResourceExhausted,
|
|
1160
|
-
UnknownNamespaceLabsError,
|
|
1161
1221
|
],
|
|
1222
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1162
1223
|
protocol: NamespaceLabsProtocol,
|
|
1163
1224
|
retry: Retry.Retry,
|
|
1164
1225
|
telemetry: TELEMETRY,
|
|
@@ -1182,7 +1243,7 @@ export const describeInstance: API.OperationMethod<
|
|
|
1182
1243
|
NamespaceLabsOpContext
|
|
1183
1244
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1184
1245
|
input: __S(0, __c0, 0) as any as S.Schema<DescribeInstanceRequest>,
|
|
1185
|
-
output: __S(
|
|
1246
|
+
output: __S(782, __c24, 14) as any as S.Schema<DescribeInstanceResponse>,
|
|
1186
1247
|
errors: [
|
|
1187
1248
|
InvalidArgument,
|
|
1188
1249
|
FailedPrecondition,
|
|
@@ -1191,8 +1252,8 @@ export const describeInstance: API.OperationMethod<
|
|
|
1191
1252
|
NotFound,
|
|
1192
1253
|
AlreadyExists,
|
|
1193
1254
|
ResourceExhausted,
|
|
1194
|
-
UnknownNamespaceLabsError,
|
|
1195
1255
|
],
|
|
1256
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1196
1257
|
protocol: NamespaceLabsProtocol,
|
|
1197
1258
|
retry: Retry.Retry,
|
|
1198
1259
|
telemetry: TELEMETRY,
|
|
@@ -1216,7 +1277,7 @@ export const destroyInstance: API.OperationMethod<
|
|
|
1216
1277
|
NamespaceLabsOpContext
|
|
1217
1278
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1218
1279
|
input: __S(32, __c1, 0) as any as S.Schema<DestroyInstanceRequest>,
|
|
1219
|
-
output: __S(
|
|
1280
|
+
output: __S(992, __c31, 0) as any as S.Schema<DestroyInstanceResponse>,
|
|
1220
1281
|
errors: [
|
|
1221
1282
|
InvalidArgument,
|
|
1222
1283
|
FailedPrecondition,
|
|
@@ -1225,8 +1286,8 @@ export const destroyInstance: API.OperationMethod<
|
|
|
1225
1286
|
NotFound,
|
|
1226
1287
|
AlreadyExists,
|
|
1227
1288
|
ResourceExhausted,
|
|
1228
|
-
UnknownNamespaceLabsError,
|
|
1229
1289
|
],
|
|
1290
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1230
1291
|
protocol: NamespaceLabsProtocol,
|
|
1231
1292
|
retry: Retry.Retry,
|
|
1232
1293
|
telemetry: TELEMETRY,
|
|
@@ -1259,8 +1320,8 @@ export const extendInstance: API.OperationMethod<
|
|
|
1259
1320
|
NotFound,
|
|
1260
1321
|
AlreadyExists,
|
|
1261
1322
|
ResourceExhausted,
|
|
1262
|
-
UnknownNamespaceLabsError,
|
|
1263
1323
|
],
|
|
1324
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1264
1325
|
protocol: NamespaceLabsProtocol,
|
|
1265
1326
|
retry: Retry.Retry,
|
|
1266
1327
|
telemetry: TELEMETRY,
|
|
@@ -1293,8 +1354,8 @@ export const getInstanceMetrics: API.OperationMethod<
|
|
|
1293
1354
|
NotFound,
|
|
1294
1355
|
AlreadyExists,
|
|
1295
1356
|
ResourceExhausted,
|
|
1296
|
-
UnknownNamespaceLabsError,
|
|
1297
1357
|
],
|
|
1358
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1298
1359
|
protocol: NamespaceLabsProtocol,
|
|
1299
1360
|
retry: Retry.Retry,
|
|
1300
1361
|
telemetry: TELEMETRY,
|
|
@@ -1327,8 +1388,8 @@ export const getKubernetesConfig: API.OperationMethod<
|
|
|
1327
1388
|
NotFound,
|
|
1328
1389
|
AlreadyExists,
|
|
1329
1390
|
ResourceExhausted,
|
|
1330
|
-
UnknownNamespaceLabsError,
|
|
1331
1391
|
],
|
|
1392
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1332
1393
|
protocol: NamespaceLabsProtocol,
|
|
1333
1394
|
retry: Retry.Retry,
|
|
1334
1395
|
telemetry: TELEMETRY,
|
|
@@ -1361,14 +1422,48 @@ export const getNetworkConfiguration: API.OperationMethod<
|
|
|
1361
1422
|
NotFound,
|
|
1362
1423
|
AlreadyExists,
|
|
1363
1424
|
ResourceExhausted,
|
|
1364
|
-
UnknownNamespaceLabsError,
|
|
1365
1425
|
],
|
|
1426
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1366
1427
|
protocol: NamespaceLabsProtocol,
|
|
1367
1428
|
retry: Retry.Retry,
|
|
1368
1429
|
telemetry: TELEMETRY,
|
|
1369
1430
|
span: "GetNetworkConfiguration",
|
|
1370
1431
|
}));
|
|
1371
1432
|
|
|
1433
|
+
export type GetRemoteDesktopConfigError =
|
|
1434
|
+
| InvalidArgument
|
|
1435
|
+
| FailedPrecondition
|
|
1436
|
+
| Unauthenticated
|
|
1437
|
+
| PermissionDenied
|
|
1438
|
+
| NotFound
|
|
1439
|
+
| AlreadyExists
|
|
1440
|
+
| ResourceExhausted
|
|
1441
|
+
| NamespaceLabsOpError;
|
|
1442
|
+
/** Returns configurations that can be used to access the instance's remote display using VNC or RDP. The caller's authentication token must also grant access to the instance ingress when connecting to the returned endpoints. ### Errors - If the instance does not exist, a `NotFound` status is returned. - If the instance does not expose a VNC or RDP service, a `FailedPrecondition` status is returned. */
|
|
1443
|
+
export const getRemoteDesktopConfig: API.OperationMethod<
|
|
1444
|
+
GetRemoteDesktopConfigRequest,
|
|
1445
|
+
GetRemoteDesktopConfigResponse,
|
|
1446
|
+
GetRemoteDesktopConfigError,
|
|
1447
|
+
NamespaceLabsOpContext
|
|
1448
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1449
|
+
input: __S(192, __c6, 0) as any as S.Schema<GetRemoteDesktopConfigRequest>,
|
|
1450
|
+
output: __S(193, __c6, 1) as any as S.Schema<GetRemoteDesktopConfigResponse>,
|
|
1451
|
+
errors: [
|
|
1452
|
+
InvalidArgument,
|
|
1453
|
+
FailedPrecondition,
|
|
1454
|
+
Unauthenticated,
|
|
1455
|
+
PermissionDenied,
|
|
1456
|
+
NotFound,
|
|
1457
|
+
AlreadyExists,
|
|
1458
|
+
ResourceExhausted,
|
|
1459
|
+
],
|
|
1460
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1461
|
+
protocol: NamespaceLabsProtocol,
|
|
1462
|
+
retry: Retry.Retry,
|
|
1463
|
+
telemetry: TELEMETRY,
|
|
1464
|
+
span: "GetRemoteDesktopConfig",
|
|
1465
|
+
}));
|
|
1466
|
+
|
|
1372
1467
|
export type GetSSHConfigError =
|
|
1373
1468
|
| InvalidArgument
|
|
1374
1469
|
| FailedPrecondition
|
|
@@ -1385,8 +1480,8 @@ export const getSSHConfig: API.OperationMethod<
|
|
|
1385
1480
|
GetSSHConfigError,
|
|
1386
1481
|
NamespaceLabsOpContext
|
|
1387
1482
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1388
|
-
input: __S(
|
|
1389
|
-
output: __S(
|
|
1483
|
+
input: __S(256, __c8, 0) as any as S.Schema<GetSSHConfigRequest>,
|
|
1484
|
+
output: __S(257, __c8, 1) as any as S.Schema<GetSSHConfigResponse>,
|
|
1390
1485
|
errors: [
|
|
1391
1486
|
InvalidArgument,
|
|
1392
1487
|
FailedPrecondition,
|
|
@@ -1395,8 +1490,8 @@ export const getSSHConfig: API.OperationMethod<
|
|
|
1395
1490
|
NotFound,
|
|
1396
1491
|
AlreadyExists,
|
|
1397
1492
|
ResourceExhausted,
|
|
1398
|
-
UnknownNamespaceLabsError,
|
|
1399
1493
|
],
|
|
1494
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1400
1495
|
protocol: NamespaceLabsProtocol,
|
|
1401
1496
|
retry: Retry.Retry,
|
|
1402
1497
|
telemetry: TELEMETRY,
|
|
@@ -1419,8 +1514,8 @@ export const getVNCConfig: API.OperationMethod<
|
|
|
1419
1514
|
GetVNCConfigError,
|
|
1420
1515
|
NamespaceLabsOpContext
|
|
1421
1516
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1422
|
-
input: __S(
|
|
1423
|
-
output: __S(
|
|
1517
|
+
input: __S(288, __c9, 0) as any as S.Schema<GetVNCConfigRequest>,
|
|
1518
|
+
output: __S(224, __c7, 0) as any as S.Schema<GetVNCConfigResponse>,
|
|
1424
1519
|
errors: [
|
|
1425
1520
|
InvalidArgument,
|
|
1426
1521
|
FailedPrecondition,
|
|
@@ -1429,8 +1524,8 @@ export const getVNCConfig: API.OperationMethod<
|
|
|
1429
1524
|
NotFound,
|
|
1430
1525
|
AlreadyExists,
|
|
1431
1526
|
ResourceExhausted,
|
|
1432
|
-
UnknownNamespaceLabsError,
|
|
1433
1527
|
],
|
|
1528
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1434
1529
|
protocol: NamespaceLabsProtocol,
|
|
1435
1530
|
retry: Retry.Retry,
|
|
1436
1531
|
telemetry: TELEMETRY,
|
|
@@ -1453,8 +1548,8 @@ export const listIngresses: API.OperationMethod<
|
|
|
1453
1548
|
ListIngressesError,
|
|
1454
1549
|
NamespaceLabsOpContext
|
|
1455
1550
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1456
|
-
input: __S(
|
|
1457
|
-
output: __S(
|
|
1551
|
+
input: __S(320, __c10, 0) as any as S.Schema<ListIngressesRequest>,
|
|
1552
|
+
output: __S(610, __c19, 2) as any as S.Schema<ListIngressesResponse>,
|
|
1458
1553
|
errors: [
|
|
1459
1554
|
InvalidArgument,
|
|
1460
1555
|
FailedPrecondition,
|
|
@@ -1463,8 +1558,8 @@ export const listIngresses: API.OperationMethod<
|
|
|
1463
1558
|
NotFound,
|
|
1464
1559
|
AlreadyExists,
|
|
1465
1560
|
ResourceExhausted,
|
|
1466
|
-
UnknownNamespaceLabsError,
|
|
1467
1561
|
],
|
|
1562
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1468
1563
|
protocol: NamespaceLabsProtocol,
|
|
1469
1564
|
retry: Retry.Retry,
|
|
1470
1565
|
telemetry: TELEMETRY,
|
|
@@ -1487,8 +1582,8 @@ export const listInstanceNotifications: API.OperationMethod<
|
|
|
1487
1582
|
ListInstanceNotificationsError,
|
|
1488
1583
|
NamespaceLabsOpContext
|
|
1489
1584
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1490
|
-
input: __S(
|
|
1491
|
-
output: __S(
|
|
1585
|
+
input: __S(352, __c11, 0) as any as S.Schema<ListInstanceNotificationsRequest>,
|
|
1586
|
+
output: __S(355, __c11, 3) as any as S.Schema<ListInstanceNotificationsResponse>,
|
|
1492
1587
|
errors: [
|
|
1493
1588
|
InvalidArgument,
|
|
1494
1589
|
FailedPrecondition,
|
|
@@ -1497,8 +1592,8 @@ export const listInstanceNotifications: API.OperationMethod<
|
|
|
1497
1592
|
NotFound,
|
|
1498
1593
|
AlreadyExists,
|
|
1499
1594
|
ResourceExhausted,
|
|
1500
|
-
UnknownNamespaceLabsError,
|
|
1501
1595
|
],
|
|
1596
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1502
1597
|
protocol: NamespaceLabsProtocol,
|
|
1503
1598
|
retry: Retry.Retry,
|
|
1504
1599
|
telemetry: TELEMETRY,
|
|
@@ -1523,8 +1618,8 @@ export const listInstances: API.PaginatedOperationMethod<
|
|
|
1523
1618
|
InstanceMetadata
|
|
1524
1619
|
> = /*@__PURE__*/ API.makePaginated(
|
|
1525
1620
|
() => ({
|
|
1526
|
-
input: __S(
|
|
1527
|
-
output: __S(
|
|
1621
|
+
input: __S(418, __c13, 2) as any as S.Schema<ListInstancesRequest>,
|
|
1622
|
+
output: __S(420, __c13, 4) as any as S.Schema<ListInstancesResponse>,
|
|
1528
1623
|
errors: [
|
|
1529
1624
|
InvalidArgument,
|
|
1530
1625
|
FailedPrecondition,
|
|
@@ -1533,8 +1628,8 @@ export const listInstances: API.PaginatedOperationMethod<
|
|
|
1533
1628
|
NotFound,
|
|
1534
1629
|
AlreadyExists,
|
|
1535
1630
|
ResourceExhausted,
|
|
1536
|
-
UnknownNamespaceLabsError,
|
|
1537
1631
|
],
|
|
1632
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1538
1633
|
protocol: NamespaceLabsProtocol,
|
|
1539
1634
|
retry: Retry.Retry,
|
|
1540
1635
|
telemetry: TELEMETRY,
|
|
@@ -1565,8 +1660,8 @@ export const releaseUniqueTag: API.OperationMethod<
|
|
|
1565
1660
|
ReleaseUniqueTagError,
|
|
1566
1661
|
NamespaceLabsOpContext
|
|
1567
1662
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1568
|
-
input: __S(
|
|
1569
|
-
output: __S(
|
|
1663
|
+
input: __S(448, __c14, 0) as any as S.Schema<ReleaseUniqueTagRequest>,
|
|
1664
|
+
output: __S(449, __c14, 1) as any as S.Schema<ReleaseUniqueTagResponse>,
|
|
1570
1665
|
errors: [
|
|
1571
1666
|
InvalidArgument,
|
|
1572
1667
|
FailedPrecondition,
|
|
@@ -1575,8 +1670,8 @@ export const releaseUniqueTag: API.OperationMethod<
|
|
|
1575
1670
|
NotFound,
|
|
1576
1671
|
AlreadyExists,
|
|
1577
1672
|
ResourceExhausted,
|
|
1578
|
-
UnknownNamespaceLabsError,
|
|
1579
1673
|
],
|
|
1674
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1580
1675
|
protocol: NamespaceLabsProtocol,
|
|
1581
1676
|
retry: Retry.Retry,
|
|
1582
1677
|
telemetry: TELEMETRY,
|
|
@@ -1599,8 +1694,8 @@ export const startContainers: API.OperationMethod<
|
|
|
1599
1694
|
StartContainersError,
|
|
1600
1695
|
NamespaceLabsOpContext
|
|
1601
1696
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1602
|
-
input: __S(
|
|
1603
|
-
output: __S(
|
|
1697
|
+
input: __S(480, __c15, 0) as any as S.Schema<StartContainersRequest>,
|
|
1698
|
+
output: __S(481, __c15, 1) as any as S.Schema<StartContainersResponse>,
|
|
1604
1699
|
errors: [
|
|
1605
1700
|
InvalidArgument,
|
|
1606
1701
|
FailedPrecondition,
|
|
@@ -1609,14 +1704,48 @@ export const startContainers: API.OperationMethod<
|
|
|
1609
1704
|
NotFound,
|
|
1610
1705
|
AlreadyExists,
|
|
1611
1706
|
ResourceExhausted,
|
|
1612
|
-
UnknownNamespaceLabsError,
|
|
1613
1707
|
],
|
|
1708
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1614
1709
|
protocol: NamespaceLabsProtocol,
|
|
1615
1710
|
retry: Retry.Retry,
|
|
1616
1711
|
telemetry: TELEMETRY,
|
|
1617
1712
|
span: "StartContainers",
|
|
1618
1713
|
}));
|
|
1619
1714
|
|
|
1715
|
+
export type UpdateInstanceAnnotationsError =
|
|
1716
|
+
| InvalidArgument
|
|
1717
|
+
| FailedPrecondition
|
|
1718
|
+
| Unauthenticated
|
|
1719
|
+
| PermissionDenied
|
|
1720
|
+
| NotFound
|
|
1721
|
+
| AlreadyExists
|
|
1722
|
+
| ResourceExhausted
|
|
1723
|
+
| NamespaceLabsOpError;
|
|
1724
|
+
/** Atomically applies user annotation operations in order without restarting the instance. Annotations are descriptive metadata, separate from labels and attachments; they are not used for policy matching or workload identity claims. Updates are rejected once the instance is shutting down, being destroyed, terminated, or has failed. Existing annotations remain readable after termination. Updated annotations are returned by DescribeInstance and ListInstances and can be queried using ListInstances.annotation_filter, including after termination. Requires the instance/update_annotations permission for this instance. Returns NotFound if the instance does not exist, or InvalidArgument for invalid annotations, operation types, or operation payloads. Returns FailedPrecondition if the instance is terminating or has terminated. */
|
|
1725
|
+
export const updateInstanceAnnotations: API.OperationMethod<
|
|
1726
|
+
UpdateInstanceAnnotationsRequest,
|
|
1727
|
+
UpdateInstanceAnnotationsResponse,
|
|
1728
|
+
UpdateInstanceAnnotationsError,
|
|
1729
|
+
NamespaceLabsOpContext
|
|
1730
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1731
|
+
input: __S(514, __c16, 2) as any as S.Schema<UpdateInstanceAnnotationsRequest>,
|
|
1732
|
+
output: __S(515, __c16, 3) as any as S.Schema<UpdateInstanceAnnotationsResponse>,
|
|
1733
|
+
errors: [
|
|
1734
|
+
InvalidArgument,
|
|
1735
|
+
FailedPrecondition,
|
|
1736
|
+
Unauthenticated,
|
|
1737
|
+
PermissionDenied,
|
|
1738
|
+
NotFound,
|
|
1739
|
+
AlreadyExists,
|
|
1740
|
+
ResourceExhausted,
|
|
1741
|
+
],
|
|
1742
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1743
|
+
protocol: NamespaceLabsProtocol,
|
|
1744
|
+
retry: Retry.Retry,
|
|
1745
|
+
telemetry: TELEMETRY,
|
|
1746
|
+
span: "UpdateInstanceAnnotations",
|
|
1747
|
+
}));
|
|
1748
|
+
|
|
1620
1749
|
export type WaitInstanceSyncError =
|
|
1621
1750
|
| InvalidArgument
|
|
1622
1751
|
| FailedPrecondition
|
|
@@ -1633,8 +1762,8 @@ export const waitInstanceSync: API.OperationMethod<
|
|
|
1633
1762
|
WaitInstanceSyncError,
|
|
1634
1763
|
NamespaceLabsOpContext
|
|
1635
1764
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1636
|
-
input: __S(
|
|
1637
|
-
output: __S(
|
|
1765
|
+
input: __S(544, __c17, 0) as any as S.Schema<WaitInstanceSyncRequest>,
|
|
1766
|
+
output: __S(545, __c17, 1) as any as S.Schema<WaitInstanceSyncResponse>,
|
|
1638
1767
|
errors: [
|
|
1639
1768
|
InvalidArgument,
|
|
1640
1769
|
FailedPrecondition,
|
|
@@ -1643,8 +1772,8 @@ export const waitInstanceSync: API.OperationMethod<
|
|
|
1643
1772
|
NotFound,
|
|
1644
1773
|
AlreadyExists,
|
|
1645
1774
|
ResourceExhausted,
|
|
1646
|
-
UnknownNamespaceLabsError,
|
|
1647
1775
|
],
|
|
1776
|
+
serviceErrors: NamespaceLabsServiceErrors,
|
|
1648
1777
|
protocol: NamespaceLabsProtocol,
|
|
1649
1778
|
retry: Retry.Retry,
|
|
1650
1779
|
telemetry: TELEMETRY,
|
|
@@ -1718,7 +1847,7 @@ function __c3(j: number): any {
|
|
|
1718
1847
|
instanceId: S.optional(S.String),
|
|
1719
1848
|
startTimestamp: S.optional(S.String),
|
|
1720
1849
|
endTimestamp: S.optional(S.String),
|
|
1721
|
-
metricResource: S.optional(__S(
|
|
1850
|
+
metricResource: S.optional(__S(928, __c29, 0)),
|
|
1722
1851
|
}).pipe(
|
|
1723
1852
|
T.Http({
|
|
1724
1853
|
method: "POST",
|
|
@@ -1740,7 +1869,7 @@ function __c3(j: number): any {
|
|
|
1740
1869
|
case 4:
|
|
1741
1870
|
return S.suspend(() =>
|
|
1742
1871
|
S.Struct({
|
|
1743
|
-
values: __S(
|
|
1872
|
+
values: __S(640, __c20, 0),
|
|
1744
1873
|
}),
|
|
1745
1874
|
).annotate({ identifier: "TimeSeriesIntegers" });
|
|
1746
1875
|
case 5:
|
|
@@ -1748,7 +1877,7 @@ function __c3(j: number): any {
|
|
|
1748
1877
|
case 6:
|
|
1749
1878
|
return S.suspend(() =>
|
|
1750
1879
|
S.Struct({
|
|
1751
|
-
timestamps: __S(
|
|
1880
|
+
timestamps: __S(640, __c20, 0),
|
|
1752
1881
|
doubles: __S(99, __c3, 3),
|
|
1753
1882
|
integers: __S(101, __c3, 5),
|
|
1754
1883
|
strings: __S(101, __c3, 5),
|
|
@@ -1823,6 +1952,41 @@ function __c5(j: number): any {
|
|
|
1823
1952
|
}
|
|
1824
1953
|
}
|
|
1825
1954
|
function __c6(j: number): any {
|
|
1955
|
+
switch (j) {
|
|
1956
|
+
case 0:
|
|
1957
|
+
return S.suspend(() =>
|
|
1958
|
+
S.Struct({
|
|
1959
|
+
instanceId: S.optional(S.String),
|
|
1960
|
+
}).pipe(
|
|
1961
|
+
T.Http({
|
|
1962
|
+
method: "POST",
|
|
1963
|
+
uri: "/namespace.cloud.compute.v1beta.ComputeService/GetRemoteDesktopConfig",
|
|
1964
|
+
code: 200,
|
|
1965
|
+
}),
|
|
1966
|
+
),
|
|
1967
|
+
).annotate({ identifier: "GetRemoteDesktopConfigRequest" });
|
|
1968
|
+
case 1:
|
|
1969
|
+
return S.suspend(() =>
|
|
1970
|
+
S.Struct({
|
|
1971
|
+
vnc: S.optional(__S(224, __c7, 0)),
|
|
1972
|
+
rdp: S.optional(__S(224, __c7, 0)),
|
|
1973
|
+
}),
|
|
1974
|
+
).annotate({ identifier: "GetRemoteDesktopConfigResponse" });
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
function __c7(j: number): any {
|
|
1978
|
+
switch (j) {
|
|
1979
|
+
case 0:
|
|
1980
|
+
return S.suspend(() =>
|
|
1981
|
+
S.Struct({
|
|
1982
|
+
endpoint: S.String,
|
|
1983
|
+
username: S.String,
|
|
1984
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
1985
|
+
}),
|
|
1986
|
+
).annotate({ identifier: "GetRemoteDesktopConfigResponseVNCConfig" });
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
function __c8(j: number): any {
|
|
1826
1990
|
switch (j) {
|
|
1827
1991
|
case 0:
|
|
1828
1992
|
return S.suspend(() =>
|
|
@@ -1843,12 +2007,12 @@ function __c6(j: number): any {
|
|
|
1843
2007
|
sshPrivateKey: S.String.pipe(T.SensitiveValue({})),
|
|
1844
2008
|
username: S.String,
|
|
1845
2009
|
endpoint: S.String,
|
|
1846
|
-
sshHostKeys: __S(
|
|
2010
|
+
sshHostKeys: __S(640, __c20, 0),
|
|
1847
2011
|
}),
|
|
1848
2012
|
).annotate({ identifier: "GetSSHConfigResponse" });
|
|
1849
2013
|
}
|
|
1850
2014
|
}
|
|
1851
|
-
function
|
|
2015
|
+
function __c9(j: number): any {
|
|
1852
2016
|
switch (j) {
|
|
1853
2017
|
case 0:
|
|
1854
2018
|
return S.suspend(() =>
|
|
@@ -1862,17 +2026,9 @@ function __c7(j: number): any {
|
|
|
1862
2026
|
}),
|
|
1863
2027
|
),
|
|
1864
2028
|
).annotate({ identifier: "GetVNCConfigRequest" });
|
|
1865
|
-
case 1:
|
|
1866
|
-
return S.suspend(() =>
|
|
1867
|
-
S.Struct({
|
|
1868
|
-
endpoint: S.String,
|
|
1869
|
-
username: S.String,
|
|
1870
|
-
password: S.String.pipe(T.SensitiveValue({})),
|
|
1871
|
-
}),
|
|
1872
|
-
).annotate({ identifier: "GetVNCConfigResponse" });
|
|
1873
2029
|
}
|
|
1874
2030
|
}
|
|
1875
|
-
function
|
|
2031
|
+
function __c10(j: number): any {
|
|
1876
2032
|
switch (j) {
|
|
1877
2033
|
case 0:
|
|
1878
2034
|
return S.suspend(() =>
|
|
@@ -1888,12 +2044,12 @@ function __c8(j: number): any {
|
|
|
1888
2044
|
).annotate({ identifier: "ListIngressesRequest" });
|
|
1889
2045
|
}
|
|
1890
2046
|
}
|
|
1891
|
-
function
|
|
2047
|
+
function __c11(j: number): any {
|
|
1892
2048
|
switch (j) {
|
|
1893
2049
|
case 0:
|
|
1894
2050
|
return S.suspend(() =>
|
|
1895
2051
|
S.Struct({
|
|
1896
|
-
instanceIds: S.optional(__S(
|
|
2052
|
+
instanceIds: S.optional(__S(384, __c12, 0)),
|
|
1897
2053
|
limit: S.optional(S.String),
|
|
1898
2054
|
onlyPendingEvents: S.optional(S.Boolean),
|
|
1899
2055
|
}).pipe(
|
|
@@ -1911,31 +2067,31 @@ function __c9(j: number): any {
|
|
|
1911
2067
|
tenantId: S.String,
|
|
1912
2068
|
instanceId: S.String,
|
|
1913
2069
|
status: S.String,
|
|
1914
|
-
labels: __S(
|
|
2070
|
+
labels: __S(801, __c25, 1),
|
|
1915
2071
|
}),
|
|
1916
2072
|
).annotate({ identifier: "InstanceEventMetadata" });
|
|
1917
2073
|
case 2:
|
|
1918
|
-
return S.Array(__S(
|
|
2074
|
+
return S.Array(__S(353, __c11, 1));
|
|
1919
2075
|
case 3:
|
|
1920
2076
|
return S.suspend(() =>
|
|
1921
2077
|
S.Struct({
|
|
1922
|
-
events: __S(
|
|
2078
|
+
events: __S(354, __c11, 2),
|
|
1923
2079
|
}),
|
|
1924
2080
|
).annotate({ identifier: "ListInstanceNotificationsResponse" });
|
|
1925
2081
|
}
|
|
1926
2082
|
}
|
|
1927
|
-
function
|
|
2083
|
+
function __c12(j: number): any {
|
|
1928
2084
|
switch (j) {
|
|
1929
2085
|
case 0:
|
|
1930
2086
|
return S.suspend(() =>
|
|
1931
2087
|
S.Struct({
|
|
1932
|
-
values: S.optional(__S(
|
|
2088
|
+
values: S.optional(__S(640, __c20, 0)),
|
|
1933
2089
|
op: S.optional(S.String),
|
|
1934
2090
|
}),
|
|
1935
2091
|
).annotate({ identifier: "StringMatcher" });
|
|
1936
2092
|
}
|
|
1937
2093
|
}
|
|
1938
|
-
function
|
|
2094
|
+
function __c13(j: number): any {
|
|
1939
2095
|
switch (j) {
|
|
1940
2096
|
case 0:
|
|
1941
2097
|
return S.suspend(() =>
|
|
@@ -1946,7 +2102,7 @@ function __c11(j: number): any {
|
|
|
1946
2102
|
}),
|
|
1947
2103
|
).annotate({ identifier: "LabelFilterEntry" });
|
|
1948
2104
|
case 1:
|
|
1949
|
-
return S.Array(__S(
|
|
2105
|
+
return S.Array(__S(416, __c13, 0));
|
|
1950
2106
|
case 2:
|
|
1951
2107
|
return S.suspend(() =>
|
|
1952
2108
|
S.Struct({
|
|
@@ -1954,7 +2110,8 @@ function __c11(j: number): any {
|
|
|
1954
2110
|
maxEntries: S.optional(S.String),
|
|
1955
2111
|
includeCompleteRuns: S.optional(S.Boolean),
|
|
1956
2112
|
notOlderThan: S.optional(S.String),
|
|
1957
|
-
labelFilter: S.optional(__S(
|
|
2113
|
+
labelFilter: S.optional(__S(417, __c13, 1)),
|
|
2114
|
+
annotationFilter: S.optional(__S(417, __c13, 1)),
|
|
1958
2115
|
}).pipe(
|
|
1959
2116
|
T.Http({
|
|
1960
2117
|
method: "POST",
|
|
@@ -1964,23 +2121,23 @@ function __c11(j: number): any {
|
|
|
1964
2121
|
),
|
|
1965
2122
|
).annotate({ identifier: "ListInstancesRequest" });
|
|
1966
2123
|
case 3:
|
|
1967
|
-
return S.Array(__S(
|
|
2124
|
+
return S.Array(__S(868, __c27, 4));
|
|
1968
2125
|
case 4:
|
|
1969
2126
|
return S.suspend(() =>
|
|
1970
2127
|
S.Struct({
|
|
1971
|
-
instances: __S(
|
|
2128
|
+
instances: __S(419, __c13, 3),
|
|
1972
2129
|
paginationCursor: S.String,
|
|
1973
2130
|
}),
|
|
1974
2131
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
1975
2132
|
}
|
|
1976
2133
|
}
|
|
1977
|
-
function
|
|
2134
|
+
function __c14(j: number): any {
|
|
1978
2135
|
switch (j) {
|
|
1979
2136
|
case 0:
|
|
1980
2137
|
return S.suspend(() =>
|
|
1981
2138
|
S.Struct({
|
|
1982
2139
|
uniqueTag: S.optional(S.String),
|
|
1983
|
-
ifInstanceId: S.optional(__S(
|
|
2140
|
+
ifInstanceId: S.optional(__S(384, __c12, 0)),
|
|
1984
2141
|
}).pipe(
|
|
1985
2142
|
T.Http({
|
|
1986
2143
|
method: "POST",
|
|
@@ -1997,13 +2154,13 @@ function __c12(j: number): any {
|
|
|
1997
2154
|
).annotate({ identifier: "ReleaseUniqueTagResponse" });
|
|
1998
2155
|
}
|
|
1999
2156
|
}
|
|
2000
|
-
function
|
|
2157
|
+
function __c15(j: number): any {
|
|
2001
2158
|
switch (j) {
|
|
2002
2159
|
case 0:
|
|
2003
2160
|
return S.suspend(() =>
|
|
2004
2161
|
S.Struct({
|
|
2005
2162
|
instanceId: S.optional(S.String),
|
|
2006
|
-
containers: S.optional(__S(
|
|
2163
|
+
containers: S.optional(__S(975, __c30, 15)),
|
|
2007
2164
|
}).pipe(
|
|
2008
2165
|
T.Http({
|
|
2009
2166
|
method: "POST",
|
|
@@ -2015,12 +2172,45 @@ function __c13(j: number): any {
|
|
|
2015
2172
|
case 1:
|
|
2016
2173
|
return S.suspend(() =>
|
|
2017
2174
|
S.Struct({
|
|
2018
|
-
containers: __S(
|
|
2175
|
+
containers: __S(899, __c28, 3),
|
|
2019
2176
|
}),
|
|
2020
2177
|
).annotate({ identifier: "StartContainersResponse" });
|
|
2021
2178
|
}
|
|
2022
2179
|
}
|
|
2023
|
-
function
|
|
2180
|
+
function __c16(j: number): any {
|
|
2181
|
+
switch (j) {
|
|
2182
|
+
case 0:
|
|
2183
|
+
return S.suspend(() =>
|
|
2184
|
+
S.Struct({
|
|
2185
|
+
op: S.optional(S.String),
|
|
2186
|
+
name: S.optional(S.String),
|
|
2187
|
+
value: S.optional(S.String),
|
|
2188
|
+
}),
|
|
2189
|
+
).annotate({ identifier: "AnnotationOperation" });
|
|
2190
|
+
case 1:
|
|
2191
|
+
return S.Array(__S(512, __c16, 0));
|
|
2192
|
+
case 2:
|
|
2193
|
+
return S.suspend(() =>
|
|
2194
|
+
S.Struct({
|
|
2195
|
+
instanceId: S.optional(S.String),
|
|
2196
|
+
operations: S.optional(__S(513, __c16, 1)),
|
|
2197
|
+
}).pipe(
|
|
2198
|
+
T.Http({
|
|
2199
|
+
method: "POST",
|
|
2200
|
+
uri: "/namespace.cloud.compute.v1beta.ComputeService/UpdateInstanceAnnotations",
|
|
2201
|
+
code: 200,
|
|
2202
|
+
}),
|
|
2203
|
+
),
|
|
2204
|
+
).annotate({ identifier: "UpdateInstanceAnnotationsRequest" });
|
|
2205
|
+
case 3:
|
|
2206
|
+
return S.suspend(() =>
|
|
2207
|
+
S.Struct({
|
|
2208
|
+
annotations: __S(832, __c26, 0),
|
|
2209
|
+
}),
|
|
2210
|
+
).annotate({ identifier: "UpdateInstanceAnnotationsResponse" });
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
function __c17(j: number): any {
|
|
2024
2214
|
switch (j) {
|
|
2025
2215
|
case 0:
|
|
2026
2216
|
return S.suspend(() =>
|
|
@@ -2040,13 +2230,13 @@ function __c14(j: number): any {
|
|
|
2040
2230
|
case 1:
|
|
2041
2231
|
return S.suspend(() =>
|
|
2042
2232
|
S.Struct({
|
|
2043
|
-
metadata: S.optional(__S(
|
|
2233
|
+
metadata: S.optional(__S(868, __c27, 4)),
|
|
2044
2234
|
containerStatus: S.String,
|
|
2045
2235
|
}),
|
|
2046
2236
|
).annotate({ identifier: "WaitInstanceSyncResponse" });
|
|
2047
2237
|
}
|
|
2048
2238
|
}
|
|
2049
|
-
function
|
|
2239
|
+
function __c18(j: number): any {
|
|
2050
2240
|
switch (j) {
|
|
2051
2241
|
case 0:
|
|
2052
2242
|
return S.suspend(() =>
|
|
@@ -2059,18 +2249,18 @@ function __c15(j: number): any {
|
|
|
2059
2249
|
return S.suspend(() =>
|
|
2060
2250
|
S.Struct({
|
|
2061
2251
|
name: S.optional(S.String),
|
|
2062
|
-
httpMatchRule: S.optional(__S(
|
|
2063
|
-
exportedPortBackend: S.optional(__S(
|
|
2252
|
+
httpMatchRule: S.optional(__S(674, __c21, 2)),
|
|
2253
|
+
exportedPortBackend: S.optional(__S(576, __c18, 0)),
|
|
2064
2254
|
wildcard: S.optional(S.Boolean),
|
|
2065
2255
|
}),
|
|
2066
2256
|
).annotate({ identifier: "IngressRequest" });
|
|
2067
2257
|
case 2:
|
|
2068
|
-
return S.Array(__S(
|
|
2258
|
+
return S.Array(__S(577, __c18, 1));
|
|
2069
2259
|
case 3:
|
|
2070
2260
|
return S.suspend(() =>
|
|
2071
2261
|
S.Struct({
|
|
2072
2262
|
instanceId: S.optional(S.String),
|
|
2073
|
-
ingresses: S.optional(__S(
|
|
2263
|
+
ingresses: S.optional(__S(578, __c18, 2)),
|
|
2074
2264
|
}).pipe(
|
|
2075
2265
|
T.Http({
|
|
2076
2266
|
method: "POST",
|
|
@@ -2081,7 +2271,7 @@ function __c15(j: number): any {
|
|
|
2081
2271
|
).annotate({ identifier: "CreateIngressRequest" });
|
|
2082
2272
|
}
|
|
2083
2273
|
}
|
|
2084
|
-
function
|
|
2274
|
+
function __c19(j: number): any {
|
|
2085
2275
|
switch (j) {
|
|
2086
2276
|
case 0:
|
|
2087
2277
|
return S.suspend(() =>
|
|
@@ -2093,42 +2283,42 @@ function __c16(j: number): any {
|
|
|
2093
2283
|
}),
|
|
2094
2284
|
).annotate({ identifier: "AllocatedIngress" });
|
|
2095
2285
|
case 1:
|
|
2096
|
-
return S.Array(__S(
|
|
2286
|
+
return S.Array(__S(608, __c19, 0));
|
|
2097
2287
|
case 2:
|
|
2098
2288
|
return S.suspend(() =>
|
|
2099
2289
|
S.Struct({
|
|
2100
|
-
allocatedIngresses: __S(
|
|
2290
|
+
allocatedIngresses: __S(609, __c19, 1),
|
|
2101
2291
|
}),
|
|
2102
2292
|
).annotate({ identifier: "CreateIngressResponse" });
|
|
2103
2293
|
}
|
|
2104
2294
|
}
|
|
2105
|
-
function
|
|
2295
|
+
function __c20(j: number): any {
|
|
2106
2296
|
switch (j) {
|
|
2107
2297
|
case 0:
|
|
2108
2298
|
return S.Array(S.String);
|
|
2109
2299
|
}
|
|
2110
2300
|
}
|
|
2111
|
-
function
|
|
2301
|
+
function __c21(j: number): any {
|
|
2112
2302
|
switch (j) {
|
|
2113
2303
|
case 0:
|
|
2114
2304
|
return S.suspend(() =>
|
|
2115
2305
|
S.Struct({
|
|
2116
|
-
method: S.optional(__S(
|
|
2306
|
+
method: S.optional(__S(640, __c20, 0)),
|
|
2117
2307
|
path: S.optional(S.String),
|
|
2118
2308
|
}),
|
|
2119
2309
|
).annotate({ identifier: "HttpMatchRuleHttpMatch" });
|
|
2120
2310
|
case 1:
|
|
2121
2311
|
return S.suspend(() =>
|
|
2122
2312
|
S.Struct({
|
|
2123
|
-
match: S.optional(__S(
|
|
2313
|
+
match: S.optional(__S(672, __c21, 0)),
|
|
2124
2314
|
doesNotRequireAuth: S.optional(S.Boolean),
|
|
2125
2315
|
}),
|
|
2126
2316
|
).annotate({ identifier: "HttpMatchRule" });
|
|
2127
2317
|
case 2:
|
|
2128
|
-
return S.Array(__S(
|
|
2318
|
+
return S.Array(__S(673, __c21, 1));
|
|
2129
2319
|
}
|
|
2130
2320
|
}
|
|
2131
|
-
function
|
|
2321
|
+
function __c22(j: number): any {
|
|
2132
2322
|
switch (j) {
|
|
2133
2323
|
case 0:
|
|
2134
2324
|
return S.suspend(() =>
|
|
@@ -2144,17 +2334,17 @@ function __c19(j: number): any {
|
|
|
2144
2334
|
name: S.optional(S.String),
|
|
2145
2335
|
mode: S.optional(S.String),
|
|
2146
2336
|
port: S.optional(S.Number),
|
|
2147
|
-
httpMatchRule: S.optional(__S(
|
|
2337
|
+
httpMatchRule: S.optional(__S(674, __c21, 2)),
|
|
2148
2338
|
wildcard: S.optional(S.Boolean),
|
|
2149
2339
|
clientAuthentication: S.optional(S.String),
|
|
2150
2340
|
}),
|
|
2151
2341
|
).annotate({ identifier: "Ingress" });
|
|
2152
2342
|
case 2:
|
|
2153
|
-
return S.Array(__S(
|
|
2343
|
+
return S.Array(__S(705, __c22, 1));
|
|
2154
2344
|
case 3:
|
|
2155
2345
|
return S.suspend(() =>
|
|
2156
2346
|
S.Struct({
|
|
2157
|
-
includeLogs: S.optional(__S(
|
|
2347
|
+
includeLogs: S.optional(__S(640, __c20, 0)),
|
|
2158
2348
|
}),
|
|
2159
2349
|
).annotate({ identifier: "ApplicationRequestExperimentalFeatures" });
|
|
2160
2350
|
case 4:
|
|
@@ -2163,15 +2353,15 @@ function __c19(j: number): any {
|
|
|
2163
2353
|
name: S.optional(S.String),
|
|
2164
2354
|
imageRef: S.optional(S.String),
|
|
2165
2355
|
command: S.optional(S.String),
|
|
2166
|
-
args: S.optional(__S(
|
|
2356
|
+
args: S.optional(__S(640, __c20, 0)),
|
|
2167
2357
|
environment: S.optional(__S(832, __c26, 0)),
|
|
2168
|
-
envVars: S.optional(__S(
|
|
2358
|
+
envVars: S.optional(__S(961, __c30, 1)),
|
|
2169
2359
|
workloadType: S.optional(S.String),
|
|
2170
|
-
experimental: S.optional(__S(
|
|
2360
|
+
experimental: S.optional(__S(707, __c22, 3)),
|
|
2171
2361
|
}),
|
|
2172
2362
|
).annotate({ identifier: "ApplicationRequest" });
|
|
2173
2363
|
case 5:
|
|
2174
|
-
return S.Array(__S(
|
|
2364
|
+
return S.Array(__S(708, __c22, 4));
|
|
2175
2365
|
case 6:
|
|
2176
2366
|
return S.suspend(() =>
|
|
2177
2367
|
S.Struct({
|
|
@@ -2180,19 +2370,19 @@ function __c19(j: number): any {
|
|
|
2180
2370
|
}),
|
|
2181
2371
|
).annotate({ identifier: "CreateInstanceRequestExperimentalFeaturesDisk" });
|
|
2182
2372
|
case 7:
|
|
2183
|
-
return S.Array(__S(
|
|
2373
|
+
return S.Array(__S(710, __c22, 6));
|
|
2184
2374
|
case 8:
|
|
2185
2375
|
return S.suspend(() =>
|
|
2186
2376
|
S.Struct({
|
|
2187
2377
|
name: S.optional(S.String),
|
|
2188
2378
|
runtimeType: S.optional(S.String),
|
|
2189
|
-
addToPath: S.optional(__S(
|
|
2379
|
+
addToPath: S.optional(__S(640, __c20, 0)),
|
|
2190
2380
|
binaryName: S.optional(S.String),
|
|
2191
2381
|
root: S.optional(S.String),
|
|
2192
2382
|
}),
|
|
2193
2383
|
).annotate({ identifier: "CreateInstanceRequestExperimentalFeaturesContainerdShim" });
|
|
2194
2384
|
case 9:
|
|
2195
|
-
return S.Array(__S(
|
|
2385
|
+
return S.Array(__S(712, __c22, 8));
|
|
2196
2386
|
case 10:
|
|
2197
2387
|
return S.suspend(() =>
|
|
2198
2388
|
S.Struct({
|
|
@@ -2203,7 +2393,7 @@ function __c19(j: number): any {
|
|
|
2203
2393
|
}),
|
|
2204
2394
|
).annotate({ identifier: "CreateInstanceRequestExperimentalFeaturesTlsBackedPort" });
|
|
2205
2395
|
case 11:
|
|
2206
|
-
return S.Array(__S(
|
|
2396
|
+
return S.Array(__S(714, __c22, 10));
|
|
2207
2397
|
case 12:
|
|
2208
2398
|
return S.suspend(() =>
|
|
2209
2399
|
S.Struct({
|
|
@@ -2212,7 +2402,7 @@ function __c19(j: number): any {
|
|
|
2212
2402
|
}),
|
|
2213
2403
|
).annotate({ identifier: "CreateInstanceRequestExperimentalFeaturesPrewarmContainerImage" });
|
|
2214
2404
|
case 13:
|
|
2215
|
-
return S.Array(__S(
|
|
2405
|
+
return S.Array(__S(716, __c22, 12));
|
|
2216
2406
|
case 14:
|
|
2217
2407
|
return S.suspend(() =>
|
|
2218
2408
|
S.Struct({
|
|
@@ -2221,23 +2411,23 @@ function __c19(j: number): any {
|
|
|
2221
2411
|
}),
|
|
2222
2412
|
).annotate({ identifier: "CreateInstanceRequestExperimentalFeaturesDirectoryRequest" });
|
|
2223
2413
|
case 15:
|
|
2224
|
-
return S.Array(__S(
|
|
2414
|
+
return S.Array(__S(718, __c22, 14));
|
|
2225
2415
|
case 16:
|
|
2226
2416
|
return S.suspend(() =>
|
|
2227
2417
|
S.Struct({
|
|
2228
2418
|
command: S.optional(S.String),
|
|
2229
|
-
args: S.optional(__S(
|
|
2419
|
+
args: S.optional(__S(640, __c20, 0)),
|
|
2230
2420
|
environment: S.optional(__S(832, __c26, 0)),
|
|
2231
2421
|
}),
|
|
2232
2422
|
).annotate({ identifier: "CreateInstanceRequestExperimentalFeaturesHookCommand" });
|
|
2233
2423
|
case 17:
|
|
2234
2424
|
return S.suspend(() =>
|
|
2235
2425
|
S.Struct({
|
|
2236
|
-
command: S.optional(__S(
|
|
2426
|
+
command: S.optional(__S(720, __c22, 16)),
|
|
2237
2427
|
}),
|
|
2238
2428
|
).annotate({ identifier: "CreateInstanceRequestExperimentalFeaturesHook" });
|
|
2239
2429
|
case 18:
|
|
2240
|
-
return S.Array(__S(
|
|
2430
|
+
return S.Array(__S(721, __c22, 17));
|
|
2241
2431
|
case 19:
|
|
2242
2432
|
return S.suspend(() =>
|
|
2243
2433
|
S.Struct({
|
|
@@ -2250,24 +2440,24 @@ function __c19(j: number): any {
|
|
|
2250
2440
|
case 20:
|
|
2251
2441
|
return S.suspend(() =>
|
|
2252
2442
|
S.Struct({
|
|
2253
|
-
privateFeature: S.optional(__S(
|
|
2254
|
-
disks: S.optional(__S(
|
|
2255
|
-
containerdShims: S.optional(__S(
|
|
2256
|
-
tlsBackedPorts: S.optional(__S(
|
|
2257
|
-
prewarmContainerImages: S.optional(__S(
|
|
2443
|
+
privateFeature: S.optional(__S(640, __c20, 0)),
|
|
2444
|
+
disks: S.optional(__S(711, __c22, 7)),
|
|
2445
|
+
containerdShims: S.optional(__S(713, __c22, 9)),
|
|
2446
|
+
tlsBackedPorts: S.optional(__S(715, __c22, 11)),
|
|
2447
|
+
prewarmContainerImages: S.optional(__S(717, __c22, 13)),
|
|
2258
2448
|
enableWildcardDomain: S.optional(S.Boolean),
|
|
2259
|
-
volumes: S.optional(__S(
|
|
2260
|
-
ensureDirectory: S.optional(__S(
|
|
2449
|
+
volumes: S.optional(__S(973, __c30, 13)),
|
|
2450
|
+
ensureDirectory: S.optional(__S(719, __c22, 15)),
|
|
2261
2451
|
uniqueTag: S.optional(S.String),
|
|
2262
2452
|
exportedUnixSockets: S.optional(__S(832, __c26, 0)),
|
|
2263
|
-
containerCache: S.optional(__S(
|
|
2264
|
-
preStartHook: S.optional(__S(
|
|
2265
|
-
preShutdownHook: S.optional(__S(
|
|
2266
|
-
authorizedSshKeys: S.optional(__S(
|
|
2453
|
+
containerCache: S.optional(__S(768, __c24, 0)),
|
|
2454
|
+
preStartHook: S.optional(__S(722, __c22, 18)),
|
|
2455
|
+
preShutdownHook: S.optional(__S(722, __c22, 18)),
|
|
2456
|
+
authorizedSshKeys: S.optional(__S(640, __c20, 0)),
|
|
2267
2457
|
macosBaseImageId: S.optional(S.String),
|
|
2268
2458
|
internal: S.optional(__S(832, __c26, 0)),
|
|
2269
2459
|
nestedVirtualization: S.optional(S.Boolean),
|
|
2270
|
-
prometheusMetricsSink: S.optional(__S(
|
|
2460
|
+
prometheusMetricsSink: S.optional(__S(723, __c22, 19)),
|
|
2271
2461
|
withConfiguration: S.optional(S.String),
|
|
2272
2462
|
}),
|
|
2273
2463
|
).annotate({ identifier: "CreateInstanceRequestExperimentalFeatures" });
|
|
@@ -2283,16 +2473,16 @@ function __c19(j: number): any {
|
|
|
2283
2473
|
S.Struct({
|
|
2284
2474
|
name: S.optional(S.String),
|
|
2285
2475
|
value: S.optional(S.String),
|
|
2286
|
-
valueFrom: S.optional(__S(
|
|
2476
|
+
valueFrom: S.optional(__S(725, __c22, 21)),
|
|
2287
2477
|
}),
|
|
2288
2478
|
).annotate({ identifier: "HttpHeader" });
|
|
2289
2479
|
case 23:
|
|
2290
|
-
return S.Array(__S(
|
|
2480
|
+
return S.Array(__S(726, __c22, 22));
|
|
2291
2481
|
case 24:
|
|
2292
2482
|
return S.suspend(() =>
|
|
2293
2483
|
S.Struct({
|
|
2294
2484
|
postUrl: S.optional(S.String),
|
|
2295
|
-
headers: S.optional(__S(
|
|
2485
|
+
headers: S.optional(__S(727, __c22, 23)),
|
|
2296
2486
|
signWithSecretId: S.optional(S.String),
|
|
2297
2487
|
}),
|
|
2298
2488
|
).annotate({ identifier: "HttpCallbackEndpoint" });
|
|
@@ -2327,28 +2517,28 @@ function __c19(j: number): any {
|
|
|
2327
2517
|
case 29:
|
|
2328
2518
|
return S.suspend(() =>
|
|
2329
2519
|
S.Struct({
|
|
2330
|
-
basic: S.optional(__S(
|
|
2331
|
-
openid: S.optional(__S(
|
|
2332
|
-
ecrTokenFromAwsFederation: S.optional(__S(
|
|
2333
|
-
gcpWorkloadIdentityFederation: S.optional(__S(
|
|
2520
|
+
basic: S.optional(__S(729, __c22, 25)),
|
|
2521
|
+
openid: S.optional(__S(730, __c22, 26)),
|
|
2522
|
+
ecrTokenFromAwsFederation: S.optional(__S(731, __c22, 27)),
|
|
2523
|
+
gcpWorkloadIdentityFederation: S.optional(__S(732, __c22, 28)),
|
|
2334
2524
|
}),
|
|
2335
2525
|
).annotate({ identifier: "AdditionalRegistryAuthenticator" });
|
|
2336
2526
|
case 30:
|
|
2337
2527
|
return S.suspend(() =>
|
|
2338
2528
|
S.Struct({
|
|
2339
|
-
authentication: S.optional(__S(
|
|
2529
|
+
authentication: S.optional(__S(733, __c22, 29)),
|
|
2340
2530
|
}),
|
|
2341
2531
|
).annotate({ identifier: "AdditionalRegistry" });
|
|
2342
2532
|
case 31:
|
|
2343
|
-
return S.Record(S.String, __S(
|
|
2533
|
+
return S.Record(S.String, __S(734, __c22, 30));
|
|
2344
2534
|
}
|
|
2345
2535
|
}
|
|
2346
|
-
function
|
|
2536
|
+
function __c23(j: number): any {
|
|
2347
2537
|
switch (j) {
|
|
2348
2538
|
case 0:
|
|
2349
2539
|
return S.suspend(() =>
|
|
2350
2540
|
S.Struct({
|
|
2351
|
-
matchDomains: S.optional(__S(
|
|
2541
|
+
matchDomains: S.optional(__S(640, __c20, 0)),
|
|
2352
2542
|
}),
|
|
2353
2543
|
).annotate({ identifier: "EgressPolicySpecMatcher" });
|
|
2354
2544
|
case 1:
|
|
@@ -2361,7 +2551,7 @@ function __c20(j: number): any {
|
|
|
2361
2551
|
return S.suspend(() =>
|
|
2362
2552
|
S.Struct({
|
|
2363
2553
|
url: S.optional(S.String),
|
|
2364
|
-
headers: S.optional(__S(
|
|
2554
|
+
headers: S.optional(__S(727, __c22, 23)),
|
|
2365
2555
|
}),
|
|
2366
2556
|
).annotate({ identifier: "EgressPolicySpecInjectOptsFromEndpoint" });
|
|
2367
2557
|
case 3:
|
|
@@ -2370,7 +2560,7 @@ function __c20(j: number): any {
|
|
|
2370
2560
|
headerName: S.optional(S.String),
|
|
2371
2561
|
fromSecretId: S.optional(S.String),
|
|
2372
2562
|
value: S.optional(S.String),
|
|
2373
|
-
fromEndpoint: S.optional(__S(
|
|
2563
|
+
fromEndpoint: S.optional(__S(738, __c23, 2)),
|
|
2374
2564
|
resolutionPolicy: S.optional(S.String),
|
|
2375
2565
|
}),
|
|
2376
2566
|
).annotate({ identifier: "EgressPolicySpecInjectOpts" });
|
|
@@ -2378,54 +2568,55 @@ function __c20(j: number): any {
|
|
|
2378
2568
|
return S.suspend(() =>
|
|
2379
2569
|
S.Struct({
|
|
2380
2570
|
op: S.optional(S.String),
|
|
2381
|
-
matcher: S.optional(__S(
|
|
2382
|
-
allow: S.optional(__S(
|
|
2383
|
-
proxy: S.optional(__S(
|
|
2384
|
-
inject: S.optional(__S(
|
|
2571
|
+
matcher: S.optional(__S(736, __c23, 0)),
|
|
2572
|
+
allow: S.optional(__S(992, __c31, 0)),
|
|
2573
|
+
proxy: S.optional(__S(737, __c23, 1)),
|
|
2574
|
+
inject: S.optional(__S(739, __c23, 3)),
|
|
2385
2575
|
}),
|
|
2386
2576
|
).annotate({ identifier: "EgressPolicySpecRule" });
|
|
2387
2577
|
case 5:
|
|
2388
|
-
return S.Array(__S(
|
|
2578
|
+
return S.Array(__S(740, __c23, 4));
|
|
2389
2579
|
case 6:
|
|
2390
2580
|
return S.suspend(() =>
|
|
2391
2581
|
S.Struct({
|
|
2392
2582
|
mode: S.optional(S.String),
|
|
2393
2583
|
deepPacketInspection: S.optional(S.Boolean),
|
|
2394
|
-
rules: S.optional(__S(
|
|
2395
|
-
additionalRulesets: S.optional(__S(
|
|
2396
|
-
allowedEgressDomains: S.optional(__S(
|
|
2584
|
+
rules: S.optional(__S(741, __c23, 5)),
|
|
2585
|
+
additionalRulesets: S.optional(__S(640, __c20, 0)),
|
|
2586
|
+
allowedEgressDomains: S.optional(__S(640, __c20, 0)),
|
|
2397
2587
|
}),
|
|
2398
2588
|
).annotate({ identifier: "EgressPolicySpec" });
|
|
2399
2589
|
case 7:
|
|
2400
2590
|
return S.suspend(() =>
|
|
2401
2591
|
S.Struct({
|
|
2402
|
-
egress: S.optional(__S(
|
|
2592
|
+
egress: S.optional(__S(742, __c23, 6)),
|
|
2403
2593
|
egressPolicyTag: S.optional(S.String),
|
|
2404
2594
|
}),
|
|
2405
2595
|
).annotate({ identifier: "CreateInstanceRequestNetworkPolicy" });
|
|
2406
2596
|
case 8:
|
|
2407
2597
|
return S.suspend(() =>
|
|
2408
2598
|
S.Struct({
|
|
2409
|
-
shape: S.optional(__S(
|
|
2410
|
-
features: S.optional(__S(
|
|
2411
|
-
featureConfiguration: S.optional(__S(
|
|
2599
|
+
shape: S.optional(__S(864, __c27, 0)),
|
|
2600
|
+
features: S.optional(__S(928, __c29, 0)),
|
|
2601
|
+
featureConfiguration: S.optional(__S(704, __c22, 0)),
|
|
2412
2602
|
documentedPurpose: S.optional(S.String),
|
|
2413
|
-
labels: S.optional(__S(
|
|
2603
|
+
labels: S.optional(__S(801, __c25, 1)),
|
|
2604
|
+
annotations: S.optional(__S(832, __c26, 0)),
|
|
2414
2605
|
deadline: S.optional(S.String),
|
|
2415
2606
|
interactive: S.optional(S.Boolean),
|
|
2416
2607
|
region: S.optional(S.String),
|
|
2417
|
-
placement: S.optional(__S(
|
|
2418
|
-
containers: S.optional(__S(
|
|
2419
|
-
ingresses: S.optional(__S(
|
|
2608
|
+
placement: S.optional(__S(640, __c20, 0)),
|
|
2609
|
+
containers: S.optional(__S(975, __c30, 15)),
|
|
2610
|
+
ingresses: S.optional(__S(706, __c22, 2)),
|
|
2420
2611
|
ingressBaseDomain: S.optional(S.String),
|
|
2421
|
-
applications: S.optional(__S(
|
|
2422
|
-
experimental: S.optional(__S(
|
|
2423
|
-
volumes: S.optional(__S(
|
|
2424
|
-
containerCache: S.optional(__S(
|
|
2425
|
-
httpEventCallback: S.optional(__S(
|
|
2426
|
-
additionalRegistries: S.optional(__S(
|
|
2427
|
-
workloadPermissions: S.optional(__S(
|
|
2428
|
-
networkPolicy: S.optional(__S(
|
|
2612
|
+
applications: S.optional(__S(709, __c22, 5)),
|
|
2613
|
+
experimental: S.optional(__S(724, __c22, 20)),
|
|
2614
|
+
volumes: S.optional(__S(973, __c30, 13)),
|
|
2615
|
+
containerCache: S.optional(__S(768, __c24, 0)),
|
|
2616
|
+
httpEventCallback: S.optional(__S(728, __c22, 24)),
|
|
2617
|
+
additionalRegistries: S.optional(__S(735, __c22, 31)),
|
|
2618
|
+
workloadPermissions: S.optional(__S(770, __c24, 2)),
|
|
2619
|
+
networkPolicy: S.optional(__S(743, __c23, 7)),
|
|
2429
2620
|
}).pipe(
|
|
2430
2621
|
T.Http({
|
|
2431
2622
|
method: "POST",
|
|
@@ -2436,7 +2627,7 @@ function __c20(j: number): any {
|
|
|
2436
2627
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
2437
2628
|
}
|
|
2438
2629
|
}
|
|
2439
|
-
function
|
|
2630
|
+
function __c24(j: number): any {
|
|
2440
2631
|
switch (j) {
|
|
2441
2632
|
case 0:
|
|
2442
2633
|
return S.suspend(() =>
|
|
@@ -2451,11 +2642,11 @@ function __c21(j: number): any {
|
|
|
2451
2642
|
S.Struct({
|
|
2452
2643
|
resourceType: S.optional(S.String),
|
|
2453
2644
|
resourceId: S.optional(S.String),
|
|
2454
|
-
actions: S.optional(__S(
|
|
2645
|
+
actions: S.optional(__S(640, __c20, 0)),
|
|
2455
2646
|
}),
|
|
2456
2647
|
).annotate({ identifier: "Permission" });
|
|
2457
2648
|
case 2:
|
|
2458
|
-
return S.Array(__S(
|
|
2649
|
+
return S.Array(__S(769, __c24, 1));
|
|
2459
2650
|
case 3:
|
|
2460
2651
|
return S.suspend(() =>
|
|
2461
2652
|
S.Struct({
|
|
@@ -2484,13 +2675,13 @@ function __c21(j: number): any {
|
|
|
2484
2675
|
}),
|
|
2485
2676
|
).annotate({ identifier: "InstanceExtendedMetadataAllocatedTlsBackedPort" });
|
|
2486
2677
|
case 6:
|
|
2487
|
-
return S.Array(__S(
|
|
2678
|
+
return S.Array(__S(773, __c24, 5));
|
|
2488
2679
|
case 7:
|
|
2489
2680
|
return S.suspend(() =>
|
|
2490
2681
|
S.Struct({
|
|
2491
|
-
sshMetadata: S.optional(__S(
|
|
2492
|
-
kubernetesMetadata: S.optional(__S(
|
|
2493
|
-
tlsBackedPort: __S(
|
|
2682
|
+
sshMetadata: S.optional(__S(771, __c24, 3)),
|
|
2683
|
+
kubernetesMetadata: S.optional(__S(772, __c24, 4)),
|
|
2684
|
+
tlsBackedPort: __S(774, __c24, 6),
|
|
2494
2685
|
commandServiceEndpoint: S.String,
|
|
2495
2686
|
}),
|
|
2496
2687
|
).annotate({ identifier: "InstanceExtendedMetadata" });
|
|
@@ -2515,7 +2706,7 @@ function __c21(j: number): any {
|
|
|
2515
2706
|
}),
|
|
2516
2707
|
).annotate({ identifier: "Attachment" });
|
|
2517
2708
|
case 11:
|
|
2518
|
-
return S.Array(__S(
|
|
2709
|
+
return S.Array(__S(778, __c24, 10));
|
|
2519
2710
|
case 12:
|
|
2520
2711
|
return S.suspend(() =>
|
|
2521
2712
|
S.Struct({
|
|
@@ -2527,25 +2718,25 @@ function __c21(j: number): any {
|
|
|
2527
2718
|
}),
|
|
2528
2719
|
).annotate({ identifier: "DescribeInstanceResponseShutdownReason" });
|
|
2529
2720
|
case 13:
|
|
2530
|
-
return S.Array(__S(
|
|
2721
|
+
return S.Array(__S(780, __c24, 12));
|
|
2531
2722
|
case 14:
|
|
2532
2723
|
return S.suspend(() =>
|
|
2533
2724
|
S.Struct({
|
|
2534
2725
|
instanceUrl: S.String,
|
|
2535
|
-
metadata: S.optional(__S(
|
|
2536
|
-
extendedMetadata: S.optional(__S(
|
|
2537
|
-
registry: S.optional(__S(
|
|
2538
|
-
containers: __S(
|
|
2539
|
-
experimental: S.optional(__S(
|
|
2540
|
-
attachments: __S(
|
|
2541
|
-
containerCache: S.optional(__S(
|
|
2542
|
-
shutdownReasons: __S(
|
|
2543
|
-
workloadPermissions: __S(
|
|
2726
|
+
metadata: S.optional(__S(868, __c27, 4)),
|
|
2727
|
+
extendedMetadata: S.optional(__S(775, __c24, 7)),
|
|
2728
|
+
registry: S.optional(__S(776, __c24, 8)),
|
|
2729
|
+
containers: __S(899, __c28, 3),
|
|
2730
|
+
experimental: S.optional(__S(777, __c24, 9)),
|
|
2731
|
+
attachments: __S(779, __c24, 11),
|
|
2732
|
+
containerCache: S.optional(__S(768, __c24, 0)),
|
|
2733
|
+
shutdownReasons: __S(781, __c24, 13),
|
|
2734
|
+
workloadPermissions: __S(770, __c24, 2),
|
|
2544
2735
|
}),
|
|
2545
2736
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
2546
2737
|
}
|
|
2547
2738
|
}
|
|
2548
|
-
function
|
|
2739
|
+
function __c25(j: number): any {
|
|
2549
2740
|
switch (j) {
|
|
2550
2741
|
case 0:
|
|
2551
2742
|
return S.suspend(() =>
|
|
@@ -2555,10 +2746,16 @@ function __c22(j: number): any {
|
|
|
2555
2746
|
}),
|
|
2556
2747
|
).annotate({ identifier: "Label" });
|
|
2557
2748
|
case 1:
|
|
2558
|
-
return S.Array(__S(
|
|
2749
|
+
return S.Array(__S(800, __c25, 0));
|
|
2559
2750
|
}
|
|
2560
2751
|
}
|
|
2561
|
-
function
|
|
2752
|
+
function __c26(j: number): any {
|
|
2753
|
+
switch (j) {
|
|
2754
|
+
case 0:
|
|
2755
|
+
return S.Record(S.String, S.String);
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
function __c27(j: number): any {
|
|
2562
2759
|
switch (j) {
|
|
2563
2760
|
case 0:
|
|
2564
2761
|
return S.suspend(() =>
|
|
@@ -2567,7 +2764,7 @@ function __c23(j: number): any {
|
|
|
2567
2764
|
memoryMegabytes: S.optional(S.Number),
|
|
2568
2765
|
machineArch: S.optional(S.String),
|
|
2569
2766
|
os: S.optional(S.String),
|
|
2570
|
-
selectors: S.optional(__S(
|
|
2767
|
+
selectors: S.optional(__S(801, __c25, 1)),
|
|
2571
2768
|
}),
|
|
2572
2769
|
).annotate({ identifier: "InstanceShape" });
|
|
2573
2770
|
case 1:
|
|
@@ -2580,7 +2777,7 @@ function __c23(j: number): any {
|
|
|
2580
2777
|
}),
|
|
2581
2778
|
).annotate({ identifier: "InstanceMetadataService" });
|
|
2582
2779
|
case 2:
|
|
2583
|
-
return S.Array(__S(
|
|
2780
|
+
return S.Array(__S(865, __c27, 1));
|
|
2584
2781
|
case 3:
|
|
2585
2782
|
return S.suspend(() =>
|
|
2586
2783
|
S.Struct({
|
|
@@ -2597,25 +2794,26 @@ function __c23(j: number): any {
|
|
|
2597
2794
|
destroyedAt: S.optional(S.String),
|
|
2598
2795
|
deadline: S.optional(S.String),
|
|
2599
2796
|
documentedPurpose: S.String,
|
|
2600
|
-
shape: S.optional(__S(
|
|
2797
|
+
shape: S.optional(__S(864, __c27, 0)),
|
|
2601
2798
|
status: S.String,
|
|
2602
2799
|
ingressDomain: S.String,
|
|
2603
|
-
labels: __S(
|
|
2800
|
+
labels: __S(801, __c25, 1),
|
|
2801
|
+
annotations: __S(832, __c26, 0),
|
|
2604
2802
|
creatorId: S.String,
|
|
2605
|
-
services: __S(
|
|
2606
|
-
hwDeployment: S.optional(__S(
|
|
2803
|
+
services: __S(866, __c27, 2),
|
|
2804
|
+
hwDeployment: S.optional(__S(867, __c27, 3)),
|
|
2607
2805
|
}),
|
|
2608
2806
|
).annotate({ identifier: "InstanceMetadata" });
|
|
2609
2807
|
}
|
|
2610
2808
|
}
|
|
2611
|
-
function
|
|
2809
|
+
function __c28(j: number): any {
|
|
2612
2810
|
switch (j) {
|
|
2613
2811
|
case 0:
|
|
2614
2812
|
return S.suspend(() =>
|
|
2615
2813
|
S.Struct({
|
|
2616
2814
|
proto: S.String,
|
|
2617
2815
|
containerPort: S.Number,
|
|
2618
|
-
httpMatchRule: __S(
|
|
2816
|
+
httpMatchRule: __S(674, __c21, 2),
|
|
2619
2817
|
exportedPort: S.Number,
|
|
2620
2818
|
fqdn: S.String,
|
|
2621
2819
|
endpoint: S.String,
|
|
@@ -2623,30 +2821,29 @@ function __c24(j: number): any {
|
|
|
2623
2821
|
}),
|
|
2624
2822
|
).annotate({ identifier: "AllocatedContainerExportedContainerPort" });
|
|
2625
2823
|
case 1:
|
|
2626
|
-
return S.Array(__S(
|
|
2824
|
+
return S.Array(__S(896, __c28, 0));
|
|
2627
2825
|
case 2:
|
|
2628
2826
|
return S.suspend(() =>
|
|
2629
2827
|
S.Struct({
|
|
2630
2828
|
id: S.String,
|
|
2631
2829
|
name: S.String,
|
|
2632
|
-
exportedPort: __S(
|
|
2830
|
+
exportedPort: __S(897, __c28, 1),
|
|
2831
|
+
imageRef: S.String,
|
|
2633
2832
|
}),
|
|
2634
2833
|
).annotate({ identifier: "AllocatedContainer" });
|
|
2635
2834
|
case 3:
|
|
2636
|
-
return S.Array(__S(
|
|
2835
|
+
return S.Array(__S(898, __c28, 2));
|
|
2637
2836
|
}
|
|
2638
2837
|
}
|
|
2639
|
-
function
|
|
2838
|
+
function __c29(j: number): any {
|
|
2640
2839
|
switch (j) {
|
|
2641
2840
|
case 0:
|
|
2642
2841
|
return S.Array(S.String);
|
|
2643
2842
|
}
|
|
2644
2843
|
}
|
|
2645
|
-
function
|
|
2844
|
+
function __c30(j: number): any {
|
|
2646
2845
|
switch (j) {
|
|
2647
2846
|
case 0:
|
|
2648
|
-
return S.Record(S.String, S.String);
|
|
2649
|
-
case 1:
|
|
2650
2847
|
return S.suspend(() =>
|
|
2651
2848
|
S.Struct({
|
|
2652
2849
|
name: S.optional(S.String),
|
|
@@ -2654,21 +2851,21 @@ function __c26(j: number): any {
|
|
|
2654
2851
|
fromSecretId: S.optional(S.String),
|
|
2655
2852
|
}),
|
|
2656
2853
|
).annotate({ identifier: "EnvironmentVariable" });
|
|
2854
|
+
case 1:
|
|
2855
|
+
return S.Array(__S(960, __c30, 0));
|
|
2657
2856
|
case 2:
|
|
2658
|
-
return S.Array(__S(833, __c26, 1));
|
|
2659
|
-
case 3:
|
|
2660
2857
|
return S.suspend(() =>
|
|
2661
2858
|
S.Struct({
|
|
2662
2859
|
proto: S.optional(S.String),
|
|
2663
2860
|
containerPort: S.optional(S.Number),
|
|
2664
2861
|
name: S.optional(S.String),
|
|
2665
|
-
httpMatchRule: S.optional(__S(
|
|
2862
|
+
httpMatchRule: S.optional(__S(674, __c21, 2)),
|
|
2666
2863
|
clientAuthentication: S.optional(S.String),
|
|
2667
2864
|
}),
|
|
2668
2865
|
).annotate({ identifier: "ContainerPort" });
|
|
2866
|
+
case 3:
|
|
2867
|
+
return S.Array(__S(962, __c30, 2));
|
|
2669
2868
|
case 4:
|
|
2670
|
-
return S.Array(__S(835, __c26, 3));
|
|
2671
|
-
case 5:
|
|
2672
2869
|
return S.suspend(() =>
|
|
2673
2870
|
S.Struct({
|
|
2674
2871
|
hostPath: S.optional(S.String),
|
|
@@ -2676,27 +2873,27 @@ function __c26(j: number): any {
|
|
|
2676
2873
|
readonly: S.optional(S.Boolean),
|
|
2677
2874
|
}),
|
|
2678
2875
|
).annotate({ identifier: "ContainerRequestExperimentalFeaturesHostMount" });
|
|
2876
|
+
case 5:
|
|
2877
|
+
return S.Array(__S(964, __c30, 4));
|
|
2679
2878
|
case 6:
|
|
2680
|
-
return S.Array(__S(837, __c26, 5));
|
|
2681
|
-
case 7:
|
|
2682
2879
|
return S.suspend(() =>
|
|
2683
2880
|
S.Struct({
|
|
2684
2881
|
assumeRoleArn: S.optional(S.String),
|
|
2685
2882
|
}),
|
|
2686
2883
|
).annotate({ identifier: "AWSCredentials" });
|
|
2687
|
-
case
|
|
2884
|
+
case 7:
|
|
2688
2885
|
return S.suspend(() =>
|
|
2689
2886
|
S.Struct({
|
|
2690
|
-
awsEcr: S.optional(__S(
|
|
2887
|
+
awsEcr: S.optional(__S(966, __c30, 6)),
|
|
2691
2888
|
}),
|
|
2692
2889
|
).annotate({ identifier: "ContainerRequestExperimentalFeaturesImagePullCredentials" });
|
|
2693
|
-
case
|
|
2890
|
+
case 8:
|
|
2694
2891
|
return S.suspend(() =>
|
|
2695
2892
|
S.Struct({
|
|
2696
2893
|
targetImageRef: S.optional(S.String),
|
|
2697
2894
|
}),
|
|
2698
2895
|
).annotate({ identifier: "ContainerRequestExperimentalFeaturesPushEphemeralDiskAsImage" });
|
|
2699
|
-
case
|
|
2896
|
+
case 9:
|
|
2700
2897
|
return S.suspend(() =>
|
|
2701
2898
|
S.Struct({
|
|
2702
2899
|
name: S.optional(S.String),
|
|
@@ -2704,27 +2901,27 @@ function __c26(j: number): any {
|
|
|
2704
2901
|
containerPath: S.optional(S.String),
|
|
2705
2902
|
}),
|
|
2706
2903
|
).annotate({ identifier: "ContainerRequestExperimentalFeaturesSidecarVolume" });
|
|
2904
|
+
case 10:
|
|
2905
|
+
return S.Array(__S(969, __c30, 9));
|
|
2707
2906
|
case 11:
|
|
2708
|
-
return S.Array(__S(842, __c26, 10));
|
|
2709
|
-
case 12:
|
|
2710
2907
|
return S.suspend(() =>
|
|
2711
2908
|
S.Struct({
|
|
2712
|
-
includeLogs: S.optional(__S(
|
|
2713
|
-
hostMount: S.optional(__S(
|
|
2909
|
+
includeLogs: S.optional(__S(640, __c20, 0)),
|
|
2910
|
+
hostMount: S.optional(__S(965, __c30, 5)),
|
|
2714
2911
|
privileged: S.optional(S.Boolean),
|
|
2715
2912
|
exportedUnixSockets: S.optional(__S(832, __c26, 0)),
|
|
2716
|
-
imagePullCredentials: S.optional(__S(
|
|
2717
|
-
pushEphemeralDiskAsImage: S.optional(__S(
|
|
2718
|
-
capAdd: S.optional(__S(
|
|
2719
|
-
capDrop: S.optional(__S(
|
|
2720
|
-
devices: S.optional(__S(
|
|
2721
|
-
sidecarVolumes: S.optional(__S(
|
|
2913
|
+
imagePullCredentials: S.optional(__S(967, __c30, 7)),
|
|
2914
|
+
pushEphemeralDiskAsImage: S.optional(__S(968, __c30, 8)),
|
|
2915
|
+
capAdd: S.optional(__S(640, __c20, 0)),
|
|
2916
|
+
capDrop: S.optional(__S(640, __c20, 0)),
|
|
2917
|
+
devices: S.optional(__S(640, __c20, 0)),
|
|
2918
|
+
sidecarVolumes: S.optional(__S(970, __c30, 10)),
|
|
2722
2919
|
incrementalLoading: S.optional(S.Boolean),
|
|
2723
2920
|
sandboxLike: S.optional(S.Boolean),
|
|
2724
2921
|
useInit: S.optional(S.Boolean),
|
|
2725
2922
|
}),
|
|
2726
2923
|
).annotate({ identifier: "ContainerRequestExperimentalFeatures" });
|
|
2727
|
-
case
|
|
2924
|
+
case 12:
|
|
2728
2925
|
return S.suspend(() =>
|
|
2729
2926
|
S.Struct({
|
|
2730
2927
|
mountPoint: S.optional(S.String),
|
|
@@ -2735,43 +2932,43 @@ function __c26(j: number): any {
|
|
|
2735
2932
|
filesystem: S.optional(S.String),
|
|
2736
2933
|
}),
|
|
2737
2934
|
).annotate({ identifier: "VolumeRequest" });
|
|
2935
|
+
case 13:
|
|
2936
|
+
return S.Array(__S(972, __c30, 12));
|
|
2738
2937
|
case 14:
|
|
2739
|
-
return S.Array(__S(845, __c26, 13));
|
|
2740
|
-
case 15:
|
|
2741
2938
|
return S.suspend(() =>
|
|
2742
2939
|
S.Struct({
|
|
2743
2940
|
name: S.optional(S.String),
|
|
2744
2941
|
imageRef: S.optional(S.String),
|
|
2745
2942
|
knownImageId: S.optional(S.String),
|
|
2746
2943
|
rootFilesystem: S.optional(S.String),
|
|
2747
|
-
args: S.optional(__S(
|
|
2748
|
-
entrypoint: S.optional(__S(
|
|
2944
|
+
args: S.optional(__S(640, __c20, 0)),
|
|
2945
|
+
entrypoint: S.optional(__S(640, __c20, 0)),
|
|
2749
2946
|
environment: S.optional(__S(832, __c26, 0)),
|
|
2750
|
-
envVars: S.optional(__S(
|
|
2947
|
+
envVars: S.optional(__S(961, __c30, 1)),
|
|
2751
2948
|
dockerSockPath: S.optional(S.String),
|
|
2752
2949
|
nscStatePath: S.optional(S.String),
|
|
2753
2950
|
nscBinsPath: S.optional(S.String),
|
|
2754
2951
|
secretsPath: S.optional(S.String),
|
|
2755
|
-
exportPorts: S.optional(__S(
|
|
2952
|
+
exportPorts: S.optional(__S(963, __c30, 3)),
|
|
2756
2953
|
network: S.optional(S.String),
|
|
2757
|
-
experimental: S.optional(__S(
|
|
2954
|
+
experimental: S.optional(__S(971, __c30, 11)),
|
|
2758
2955
|
privileged: S.optional(S.Boolean),
|
|
2759
|
-
volumes: S.optional(__S(
|
|
2956
|
+
volumes: S.optional(__S(973, __c30, 13)),
|
|
2760
2957
|
workloadType: S.optional(S.String),
|
|
2761
|
-
sidecarVolumes: S.optional(__S(
|
|
2958
|
+
sidecarVolumes: S.optional(__S(970, __c30, 10)),
|
|
2762
2959
|
}),
|
|
2763
2960
|
).annotate({ identifier: "ContainerRequest" });
|
|
2764
|
-
case
|
|
2765
|
-
return S.Array(__S(
|
|
2961
|
+
case 15:
|
|
2962
|
+
return S.Array(__S(974, __c30, 14));
|
|
2766
2963
|
}
|
|
2767
2964
|
}
|
|
2768
|
-
function
|
|
2965
|
+
function __c31(j: number): any {
|
|
2769
2966
|
switch (j) {
|
|
2770
2967
|
case 0:
|
|
2771
2968
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "EgressPolicySpecAllowOpts" });
|
|
2772
2969
|
}
|
|
2773
2970
|
}
|
|
2774
|
-
function
|
|
2971
|
+
function __c32(j: number): any {
|
|
2775
2972
|
switch (j) {
|
|
2776
2973
|
case 0:
|
|
2777
2974
|
return S.suspend(() =>
|