@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.
Files changed (219) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +130 -4
  3. package/lib/.lazy.json +1 -0
  4. package/lib/_bundle/lazy.js +4 -0
  5. package/lib/_bundle/sdk.js +2 -0
  6. package/lib/_bundle/sdk.js.map +1 -0
  7. package/lib/credentials.d.ts +73 -0
  8. package/lib/credentials.d.ts.map +1 -0
  9. package/lib/credentials.js +1 -0
  10. package/lib/errors.d.ts +59 -0
  11. package/lib/errors.d.ts.map +1 -0
  12. package/lib/errors.js +1 -0
  13. package/lib/index.d.ts +44 -0
  14. package/lib/index.d.ts.map +1 -0
  15. package/lib/index.js +6 -0
  16. package/lib/pagination.d.ts +2 -0
  17. package/lib/pagination.d.ts.map +1 -0
  18. package/lib/pagination.js +1 -0
  19. package/lib/protocol.d.ts +19 -0
  20. package/lib/protocol.d.ts.map +1 -0
  21. package/lib/protocol.js +1 -0
  22. package/lib/retry.d.ts +12 -0
  23. package/lib/retry.d.ts.map +1 -0
  24. package/lib/retry.js +1 -0
  25. package/lib/services/buildkite_jobs.d.ts +129 -0
  26. package/lib/services/buildkite_jobs.d.ts.map +1 -0
  27. package/lib/services/buildkite_jobs.js +2 -0
  28. package/lib/services/buildkite_jobs.js.map +1 -0
  29. package/lib/services/buildkite_queue.d.ts +186 -0
  30. package/lib/services/buildkite_queue.d.ts.map +1 -0
  31. package/lib/services/buildkite_queue.js +2 -0
  32. package/lib/services/buildkite_queue.js.map +1 -0
  33. package/lib/services/index.d.ts +3 -0
  34. package/lib/services/index.d.ts.map +1 -0
  35. package/lib/services/index.js +2 -0
  36. package/lib/services.lazy/buildkite_jobs.js +1 -0
  37. package/lib/services.lazy/buildkite_queue.js +1 -0
  38. package/lib/services.lazy/index.js +3 -0
  39. package/lib/traits.d.ts +3 -0
  40. package/lib/traits.d.ts.map +1 -0
  41. package/lib/traits.js +1 -0
  42. package/lib/unstable-services/artifacts.d.ts +268 -0
  43. package/lib/unstable-services/artifacts.d.ts.map +1 -0
  44. package/lib/unstable-services/artifacts.js +2 -0
  45. package/lib/unstable-services/artifacts.js.map +1 -0
  46. package/lib/unstable-services/audit.d.ts +157 -0
  47. package/lib/unstable-services/audit.d.ts.map +1 -0
  48. package/lib/unstable-services/audit.js +2 -0
  49. package/lib/unstable-services/audit.js.map +1 -0
  50. package/lib/unstable-services/bazel.d.ts +181 -0
  51. package/lib/unstable-services/bazel.d.ts.map +1 -0
  52. package/lib/unstable-services/bazel.js +2 -0
  53. package/lib/unstable-services/bazel.js.map +1 -0
  54. package/lib/unstable-services/bazel_cache.d.ts +126 -0
  55. package/lib/unstable-services/bazel_cache.d.ts.map +1 -0
  56. package/lib/unstable-services/bazel_cache.js +2 -0
  57. package/lib/unstable-services/bazel_cache.js.map +1 -0
  58. package/lib/unstable-services/builder.d.ts +242 -0
  59. package/lib/unstable-services/builder.d.ts.map +1 -0
  60. package/lib/unstable-services/builder.js +2 -0
  61. package/lib/unstable-services/builder.js.map +1 -0
  62. package/lib/unstable-services/compute.d.ts +1124 -0
  63. package/lib/unstable-services/compute.d.ts.map +1 -0
  64. package/lib/unstable-services/compute.js +47 -0
  65. package/lib/unstable-services/compute.js.map +1 -0
  66. package/lib/unstable-services/compute_command.d.ts +120 -0
  67. package/lib/unstable-services/compute_command.d.ts.map +1 -0
  68. package/lib/unstable-services/compute_command.js +2 -0
  69. package/lib/unstable-services/compute_command.js.map +1 -0
  70. package/lib/unstable-services/compute_observability.d.ts +165 -0
  71. package/lib/unstable-services/compute_observability.d.ts.map +1 -0
  72. package/lib/unstable-services/compute_observability.js +2 -0
  73. package/lib/unstable-services/compute_observability.js.map +1 -0
  74. package/lib/unstable-services/compute_storage.d.ts +379 -0
  75. package/lib/unstable-services/compute_storage.d.ts.map +1 -0
  76. package/lib/unstable-services/compute_storage.js +33 -0
  77. package/lib/unstable-services/compute_storage.js.map +1 -0
  78. package/lib/unstable-services/compute_usage.d.ts +283 -0
  79. package/lib/unstable-services/compute_usage.d.ts.map +1 -0
  80. package/lib/unstable-services/compute_usage.js +2 -0
  81. package/lib/unstable-services/compute_usage.js.map +1 -0
  82. package/lib/unstable-services/egress.d.ts +191 -0
  83. package/lib/unstable-services/egress.d.ts.map +1 -0
  84. package/lib/unstable-services/egress.js +2 -0
  85. package/lib/unstable-services/egress.js.map +1 -0
  86. package/lib/unstable-services/experimental_compute_reservation.d.ts +672 -0
  87. package/lib/unstable-services/experimental_compute_reservation.d.ts.map +1 -0
  88. package/lib/unstable-services/experimental_compute_reservation.js +23 -0
  89. package/lib/unstable-services/experimental_compute_reservation.js.map +1 -0
  90. package/lib/unstable-services/experimental_remote_results.d.ts +496 -0
  91. package/lib/unstable-services/experimental_remote_results.d.ts.map +1 -0
  92. package/lib/unstable-services/experimental_remote_results.js +2 -0
  93. package/lib/unstable-services/experimental_remote_results.js.map +1 -0
  94. package/lib/unstable-services/github_image.d.ts +162 -0
  95. package/lib/unstable-services/github_image.d.ts.map +1 -0
  96. package/lib/unstable-services/github_image.js +2 -0
  97. package/lib/unstable-services/github_image.js.map +1 -0
  98. package/lib/unstable-services/github_jobs.d.ts +183 -0
  99. package/lib/unstable-services/github_jobs.d.ts.map +1 -0
  100. package/lib/unstable-services/github_jobs.js +2 -0
  101. package/lib/unstable-services/github_jobs.js.map +1 -0
  102. package/lib/unstable-services/github_profile.d.ts +296 -0
  103. package/lib/unstable-services/github_profile.d.ts.map +1 -0
  104. package/lib/unstable-services/github_profile.js +2 -0
  105. package/lib/unstable-services/github_profile.js.map +1 -0
  106. package/lib/unstable-services/gradle_cache.d.ts +125 -0
  107. package/lib/unstable-services/gradle_cache.d.ts.map +1 -0
  108. package/lib/unstable-services/gradle_cache.js +2 -0
  109. package/lib/unstable-services/gradle_cache.js.map +1 -0
  110. package/lib/unstable-services/httpcache.d.ts +125 -0
  111. package/lib/unstable-services/httpcache.d.ts.map +1 -0
  112. package/lib/unstable-services/httpcache.js +2 -0
  113. package/lib/unstable-services/httpcache.js.map +1 -0
  114. package/lib/unstable-services/iam_tenant.d.ts +457 -0
  115. package/lib/unstable-services/iam_tenant.d.ts.map +1 -0
  116. package/lib/unstable-services/iam_tenant.js +45 -0
  117. package/lib/unstable-services/iam_tenant.js.map +1 -0
  118. package/lib/unstable-services/iam_tenant_membership.d.ts +114 -0
  119. package/lib/unstable-services/iam_tenant_membership.d.ts.map +1 -0
  120. package/lib/unstable-services/iam_tenant_membership.js +2 -0
  121. package/lib/unstable-services/iam_tenant_membership.js.map +1 -0
  122. package/lib/unstable-services/iam_token.d.ts +257 -0
  123. package/lib/unstable-services/iam_token.d.ts.map +1 -0
  124. package/lib/unstable-services/iam_token.js +2 -0
  125. package/lib/unstable-services/iam_token.js.map +1 -0
  126. package/lib/unstable-services/image.d.ts +222 -0
  127. package/lib/unstable-services/image.d.ts.map +1 -0
  128. package/lib/unstable-services/image.js +2 -0
  129. package/lib/unstable-services/image.js.map +1 -0
  130. package/lib/unstable-services/index.d.ts +28 -0
  131. package/lib/unstable-services/index.d.ts.map +1 -0
  132. package/lib/unstable-services/index.js +27 -0
  133. package/lib/unstable-services/private_devbox.d.ts +1180 -0
  134. package/lib/unstable-services/private_devbox.d.ts.map +1 -0
  135. package/lib/unstable-services/private_devbox.js +81 -0
  136. package/lib/unstable-services/private_devbox.js.map +1 -0
  137. package/lib/unstable-services/private_user_sessions.d.ts +145 -0
  138. package/lib/unstable-services/private_user_sessions.d.ts.map +1 -0
  139. package/lib/unstable-services/private_user_sessions.js +2 -0
  140. package/lib/unstable-services/private_user_sessions.js.map +1 -0
  141. package/lib/unstable-services/registry.d.ts +373 -0
  142. package/lib/unstable-services/registry.d.ts.map +1 -0
  143. package/lib/unstable-services/registry.js +34 -0
  144. package/lib/unstable-services/registry.js.map +1 -0
  145. package/lib/unstable-services/testing.d.ts +160 -0
  146. package/lib/unstable-services/testing.d.ts.map +1 -0
  147. package/lib/unstable-services/testing.js +2 -0
  148. package/lib/unstable-services/testing.js.map +1 -0
  149. package/lib/unstable-services/vault.d.ts +203 -0
  150. package/lib/unstable-services/vault.d.ts.map +1 -0
  151. package/lib/unstable-services/vault.js +2 -0
  152. package/lib/unstable-services/vault.js.map +1 -0
  153. package/lib/unstable-services.lazy/artifacts.js +1 -0
  154. package/lib/unstable-services.lazy/audit.js +1 -0
  155. package/lib/unstable-services.lazy/bazel.js +1 -0
  156. package/lib/unstable-services.lazy/bazel_cache.js +1 -0
  157. package/lib/unstable-services.lazy/builder.js +1 -0
  158. package/lib/unstable-services.lazy/compute.js +4 -0
  159. package/lib/unstable-services.lazy/compute_command.js +1 -0
  160. package/lib/unstable-services.lazy/compute_observability.js +1 -0
  161. package/lib/unstable-services.lazy/compute_storage.js +4 -0
  162. package/lib/unstable-services.lazy/compute_usage.js +1 -0
  163. package/lib/unstable-services.lazy/egress.js +1 -0
  164. package/lib/unstable-services.lazy/experimental_compute_reservation.js +4 -0
  165. package/lib/unstable-services.lazy/experimental_remote_results.js +1 -0
  166. package/lib/unstable-services.lazy/github_image.js +1 -0
  167. package/lib/unstable-services.lazy/github_jobs.js +1 -0
  168. package/lib/unstable-services.lazy/github_profile.js +1 -0
  169. package/lib/unstable-services.lazy/gradle_cache.js +1 -0
  170. package/lib/unstable-services.lazy/httpcache.js +1 -0
  171. package/lib/unstable-services.lazy/iam_tenant.js +4 -0
  172. package/lib/unstable-services.lazy/iam_tenant_membership.js +1 -0
  173. package/lib/unstable-services.lazy/iam_token.js +1 -0
  174. package/lib/unstable-services.lazy/image.js +1 -0
  175. package/lib/unstable-services.lazy/index.js +3 -0
  176. package/lib/unstable-services.lazy/private_devbox.js +4 -0
  177. package/lib/unstable-services.lazy/private_user_sessions.js +1 -0
  178. package/lib/unstable-services.lazy/registry.js +4 -0
  179. package/lib/unstable-services.lazy/testing.js +1 -0
  180. package/lib/unstable-services.lazy/vault.js +1 -0
  181. package/package.json +89 -2
  182. package/src/credentials.ts +208 -0
  183. package/src/errors.ts +71 -0
  184. package/src/index.ts +50 -0
  185. package/src/pagination.ts +1 -0
  186. package/src/protocol.ts +83 -0
  187. package/src/retry.ts +28 -0
  188. package/src/services/buildkite_jobs.ts +230 -0
  189. package/src/services/buildkite_queue.ts +453 -0
  190. package/src/services/index.ts +3 -0
  191. package/src/traits.ts +36 -0
  192. package/src/unstable-services/artifacts.ts +769 -0
  193. package/src/unstable-services/audit.ts +323 -0
  194. package/src/unstable-services/bazel.ts +423 -0
  195. package/src/unstable-services/bazel_cache.ts +219 -0
  196. package/src/unstable-services/builder.ts +576 -0
  197. package/src/unstable-services/compute.ts +2991 -0
  198. package/src/unstable-services/compute_command.ts +220 -0
  199. package/src/unstable-services/compute_observability.ts +436 -0
  200. package/src/unstable-services/compute_storage.ts +1167 -0
  201. package/src/unstable-services/compute_usage.ts +738 -0
  202. package/src/unstable-services/egress.ts +516 -0
  203. package/src/unstable-services/experimental_compute_reservation.ts +1499 -0
  204. package/src/unstable-services/experimental_remote_results.ts +1165 -0
  205. package/src/unstable-services/github_image.ts +301 -0
  206. package/src/unstable-services/github_jobs.ts +389 -0
  207. package/src/unstable-services/github_profile.ts +729 -0
  208. package/src/unstable-services/gradle_cache.ts +271 -0
  209. package/src/unstable-services/httpcache.ts +271 -0
  210. package/src/unstable-services/iam_tenant.ts +1720 -0
  211. package/src/unstable-services/iam_tenant_membership.ts +253 -0
  212. package/src/unstable-services/iam_token.ts +788 -0
  213. package/src/unstable-services/image.ts +602 -0
  214. package/src/unstable-services/index.ts +28 -0
  215. package/src/unstable-services/private_devbox.ts +4256 -0
  216. package/src/unstable-services/private_user_sessions.ts +410 -0
  217. package/src/unstable-services/registry.ts +1242 -0
  218. package/src/unstable-services/testing.ts +394 -0
  219. package/src/unstable-services/vault.ts +522 -0
@@ -0,0 +1,379 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import * as S from "@distilled.cloud/core/schema-lite";
3
+ import { type NamespaceLabsOpError, type NamespaceLabsOpContext } from "../protocol.ts";
4
+ export type { NamespaceLabsOpError, NamespaceLabsOpContext };
5
+ declare const AlreadyExists_base: S.TaggedErrorClass<"AlreadyExists", {
6
+ readonly message: any;
7
+ readonly body: any;
8
+ readonly headers: any;
9
+ }> & (new (...args: any[]) => {
10
+ "@distilled.cloud/error/categories": {
11
+ ConflictError: true;
12
+ };
13
+ });
14
+ export declare class AlreadyExists extends /*@__PURE__*/ AlreadyExists_base {
15
+ }
16
+ declare const FailedPrecondition_base: S.TaggedErrorClass<"FailedPrecondition", {
17
+ readonly message: any;
18
+ readonly body: any;
19
+ readonly headers: any;
20
+ }> & (new (...args: any[]) => {
21
+ "@distilled.cloud/error/categories": {
22
+ BadRequestError: true;
23
+ };
24
+ });
25
+ export declare class FailedPrecondition extends /*@__PURE__*/ FailedPrecondition_base {
26
+ }
27
+ declare const InvalidArgument_base: S.TaggedErrorClass<"InvalidArgument", {
28
+ readonly message: any;
29
+ readonly body: any;
30
+ readonly headers: any;
31
+ }> & (new (...args: any[]) => {
32
+ "@distilled.cloud/error/categories": {
33
+ BadRequestError: true;
34
+ };
35
+ });
36
+ export declare class InvalidArgument extends /*@__PURE__*/ InvalidArgument_base {
37
+ }
38
+ declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
39
+ readonly message: any;
40
+ readonly body: any;
41
+ readonly headers: any;
42
+ }> & (new (...args: any[]) => {
43
+ "@distilled.cloud/error/categories": {
44
+ BadRequestError: true;
45
+ };
46
+ });
47
+ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
48
+ }
49
+ declare const PermissionDenied_base: S.TaggedErrorClass<"PermissionDenied", {
50
+ readonly message: any;
51
+ readonly body: any;
52
+ readonly headers: any;
53
+ }> & (new (...args: any[]) => {
54
+ "@distilled.cloud/error/categories": {
55
+ AuthError: true;
56
+ };
57
+ });
58
+ export declare class PermissionDenied extends /*@__PURE__*/ PermissionDenied_base {
59
+ }
60
+ declare const ResourceExhausted_base: S.TaggedErrorClass<"ResourceExhausted", {
61
+ readonly message: any;
62
+ readonly body: any;
63
+ readonly headers: any;
64
+ readonly retryAfter: any;
65
+ }> & (new (...args: any[]) => {
66
+ "@distilled.cloud/error/categories": {
67
+ ThrottlingError: true;
68
+ };
69
+ });
70
+ export declare class ResourceExhausted extends /*@__PURE__*/ ResourceExhausted_base {
71
+ }
72
+ declare const Unauthenticated_base: S.TaggedErrorClass<"Unauthenticated", {
73
+ readonly message: any;
74
+ readonly body: any;
75
+ readonly headers: any;
76
+ }> & (new (...args: any[]) => {
77
+ "@distilled.cloud/error/categories": {
78
+ AuthError: true;
79
+ };
80
+ });
81
+ export declare class Unauthenticated extends /*@__PURE__*/ Unauthenticated_base {
82
+ }
83
+ export interface DescribePersistentVolumeRequest {
84
+ /** The unique identifier of the persistent volume. */
85
+ id?: string | undefined;
86
+ /** The tag of the persistent volume. */
87
+ tag?: string | undefined;
88
+ /** Optional: The site/region where the volume is located. If provided, only that region is queried. */
89
+ site?: string | undefined;
90
+ }
91
+ export interface PersistentVolume {
92
+ /** The unique identifier of this persistent volume instance. */
93
+ id: string;
94
+ /** Which volume tag does this volume belong to? */
95
+ tag: string;
96
+ /** The timestamp of when the volume was created (in UTC). */
97
+ createdAt?: string | undefined;
98
+ /** The timestamp of when the volume was destroyed (in UTC). Not set if the volume is still active. */
99
+ destroyedAt?: string | undefined;
100
+ /** The requested size of the volume in megabytes. */
101
+ sizeMb: number;
102
+ /** The ID of the compute instance that this volume is attached to. Empty if the volume is not currently attached. */
103
+ attachedTo: string;
104
+ /** The timestamp of when the volume was released/detached (in UTC). Not set if the volume is still attached. */
105
+ releasedAt?: string | undefined;
106
+ /** The reason why the volume was released. */
107
+ releasedReason: string;
108
+ /** The site/region where this volume is located (e.g. "zrh", "ord", "iad"). */
109
+ site: string;
110
+ }
111
+ export interface DescribePersistentVolumeResponse {
112
+ volume?: PersistentVolume | undefined;
113
+ }
114
+ export interface DescribePersistentVolumeSnapshotRequest {
115
+ /** Required: snapshot ID returned by ListPersistentVolumeSnapshots, not a metadata blob ID. */
116
+ id?: string | undefined;
117
+ /** Required: the persistent volume tag the snapshot belongs to. */
118
+ tag?: string | undefined;
119
+ /** Optional: restrict the lookup to this site/region. */
120
+ site?: string | undefined;
121
+ }
122
+ export interface PersistentVolumeSnapshot {
123
+ /** The unique identifier of this snapshot. */
124
+ id: string;
125
+ /** The timestamp of when the snapshot was created (in UTC). */
126
+ createdAt?: string | undefined;
127
+ /** The total size of the snapshot in bytes (sum of all pages). */
128
+ usedBytes: string;
129
+ /** The ID of the snapshot this snapshot was created from. Empty if this is the first snapshot. */
130
+ snapshotFrom: string;
131
+ /** The completed snapshot ID. Empty if the snapshot is still in progress. */
132
+ completedSnapshot: string;
133
+ /** The net new bytes added by this snapshot compared to its parent. */
134
+ netNewUsedBytes: string;
135
+ /** The instance ID that this snapshot is attached to. Empty if not attached. */
136
+ attachedInstanceId: string;
137
+ /** The timestamp of when the snapshot was released (detached from the instance). */
138
+ releasedAt?: string | undefined;
139
+ /** The reason why the snapshot was released. */
140
+ releasedReason: string;
141
+ /** The timestamp of when the snapshot was abandoned (in UTC). Abandoned snapshots are excluded when selecting a base snapshot for new volumes. */
142
+ abandonedAt?: string | undefined;
143
+ /** The metadata version of the snapshot (e.g., "v1", "v2"). */
144
+ metadataVersion: string;
145
+ }
146
+ /** Disk-page usage of an immutable snapshot, not guest filesystem usage or billing usage. Excludes metadata, companion files, base images, and storage replication. */
147
+ export interface PersistentVolumeSnapshotUsage {
148
+ snapshotBlobId: string;
149
+ /** Distinct page blobs retained by the snapshot. */
150
+ pageCount: string;
151
+ /** Sum of those blobs' lengths, including overwritten space within each page. Does not subtract sharing with other snapshots. */
152
+ pageBytes: string;
153
+ /** Logical blocks mapped to pages. Holes and blocks supplied by a base image are excluded. */
154
+ allocatedBlockCount: string;
155
+ blockSizeBytes: string;
156
+ /** allocated_block_count * block_size_bytes: effective allocated disk bytes. */
157
+ allocatedBytes: string;
158
+ }
159
+ export interface DescribePersistentVolumeSnapshotResponse {
160
+ snapshot?: PersistentVolumeSnapshot | undefined;
161
+ /** Computed from this snapshot's completed metadata, never live writes. */
162
+ usage?: PersistentVolumeSnapshotUsage | undefined;
163
+ }
164
+ export interface DestroyCacheVolumeRequest {
165
+ /** Required input. */
166
+ tag?: string | undefined;
167
+ }
168
+ export interface DestroyCacheVolumeResponse {
169
+ }
170
+ export type StringList = Array<string>;
171
+ export type StringMatcherOperator = "OPERATOR_UNKNOWN" | "IS_ANY_OF" | "IS_NOT";
172
+ export interface StringMatcher {
173
+ values?: StringList | undefined;
174
+ op?: StringMatcherOperator | (string & {}) | undefined;
175
+ }
176
+ export interface DestroyPersistentVolumesRequest {
177
+ /** Matcher for volume ID. At least one of id or tag must be specified. */
178
+ id?: StringMatcher | undefined;
179
+ /** Matcher for volume tag. At least one of id or tag must be specified. */
180
+ tag?: StringMatcher | undefined;
181
+ }
182
+ export type PersistentVolumeList = Array<PersistentVolume>;
183
+ export interface DestroyPersistentVolumesResponse {
184
+ /** Metadata of the volumes that were destroyed. */
185
+ destroyedVolumes: PersistentVolumeList;
186
+ }
187
+ export interface DestroyPersistentVolumeSnapshotRequest {
188
+ /** The unique identifier of the snapshot (volume ID). */
189
+ id?: string | undefined;
190
+ /** The tag of the persistent volume. */
191
+ tag?: string | undefined;
192
+ /** Optional: The site/region where the volume is located. If provided, only that region is queried. */
193
+ site?: string | undefined;
194
+ }
195
+ export interface DestroyPersistentVolumeSnapshotResponse {
196
+ /** The snapshot that was abandoned. */
197
+ snapshot?: PersistentVolumeSnapshot | undefined;
198
+ }
199
+ export interface GetCacheVolumeRequest {
200
+ /** The unique identifier of this cache volume instance. Within a single cache volume tag, multiple cache volume generations may exist, and each one is uniquely identified by this id. */
201
+ id?: string | undefined;
202
+ }
203
+ export type VolumeMetadataState = "STATE_UNKNOWN" | "STATE_IN_USE" | "STATE_AT_REST" | "STATE_EXPIRED" | "STATE_ABANDONED";
204
+ export type VolumeMetadataGenerationReason = "GENERATION_REASON_UNSPECIFIED" | "RESERVATION_NOT_MET" | "OTHER";
205
+ export interface VolumeMetadata {
206
+ /** The timestamp of when the volume was created (in UTC). */
207
+ createdAt?: string | undefined;
208
+ /** The timestamp of when the volume was destroyed (in UTC). Not set if the volume is still alive. */
209
+ destroyedAt?: string | undefined;
210
+ /** The requested size of the volume in megabytes. */
211
+ sizeMb: number;
212
+ /** Which state is this volume in right now? */
213
+ state: VolumeMetadataState;
214
+ /** Why this cache volume generation was started. */
215
+ generationReason: VolumeMetadataGenerationReason;
216
+ }
217
+ export interface CachedImage {
218
+ /** The fully qualified image reference (e.g., "docker.io/library/ubuntu:latest"). */
219
+ imageRef: string;
220
+ /** The namespace that the image belongs to. */
221
+ namespace: string;
222
+ /** The timestamp of when the image was first cached (in UTC). */
223
+ createdAt?: string | undefined;
224
+ /** The timestamp of when the cached image was last updated (in UTC). */
225
+ updatedAt?: string | undefined;
226
+ /** The size of the image in bytes (unpacked, on-disk size). */
227
+ sizeBytes: string;
228
+ }
229
+ export type CachedImageList = Array<CachedImage>;
230
+ export interface ContainerImageCache {
231
+ /** Whether container image caching is enabled for this volume. */
232
+ enabled: boolean;
233
+ /** The list of container images currently cached in this volume. */
234
+ cachedImages: CachedImageList;
235
+ /** The list of container images that were garbage collected from this volume. */
236
+ garbageCollectedImages: CachedImageList;
237
+ }
238
+ export interface PathUtilization {
239
+ /** What framework/purpose is this cache path used for? */
240
+ cacheFramework: string;
241
+ /** A series of bind mounts that have been applied to this cache path. */
242
+ mountTarget: StringList;
243
+ /** Name of the system that configured this cache path usage. */
244
+ source: string;
245
+ /** The utilization of this path in the Cache Volume in megabytes. */
246
+ utilizationMb: string;
247
+ /** When was this usage recorded. */
248
+ createdAt?: string | undefined;
249
+ }
250
+ export type PathUtilizationMap = {
251
+ [key: string]: PathUtilization | undefined;
252
+ };
253
+ export interface VolumeAttachment {
254
+ /** The ID of the compute instance that this volume is attached to. A volume can be attached to at most one instance at a time. Empty, if the volume is not attached to any compute instance. */
255
+ attachedTo: string;
256
+ /** Deprecated, use `attached_at` instead. */
257
+ lastAttachedAt?: string | undefined;
258
+ /** Deprecated, use `detached_at` instead. */
259
+ lastDetachedAt?: string | undefined;
260
+ /** The timestamp of when the volume was attached to the compute instance (in UTC). */
261
+ attachedAt?: string | undefined;
262
+ /** The amount of data already stored on the volume when attaching it in megabytes. */
263
+ usedMbWhenAttached: number;
264
+ /** The timestamp of when the volume was detached from the compute instance (in UTC). If the volume is still attached to the instance, this field will not be set. */
265
+ detachedAt?: string | undefined;
266
+ /** The amount of data stored on the volume when detaching it in megabytes. If the volume is still attached to the instance, this field will not be set. */
267
+ usedMbWhenDetached: number;
268
+ /** If unset, Container Image caching is not enabled. */
269
+ containerImageCache?: ContainerImageCache | undefined;
270
+ /** Utilization metadata per path in the cache volume. This data is only populated after the volume is detached. To enable path utilization tracking, provide `CacheMetadata` to Namespace by producing a JSON file inside the Cache Volume at the path `.ns/cache-metadata.json`. */
271
+ pathUtilization: PathUtilizationMap;
272
+ }
273
+ export interface CacheVolume {
274
+ /** The unique identifier of this cache volume instance. Within a single cache volume tag, multiple cache volume generations may exist, and each one is uniquely identified by this id. */
275
+ id: string;
276
+ /** Which volume tag does this volume belong to? */
277
+ tag: string;
278
+ /** Metadata includes the lifecycle timestamps of the volume, as well as any other values provided at creation time, e.g. the volume size. */
279
+ metadata?: VolumeMetadata | undefined;
280
+ /** Volumes are attached once to instances. Attachment captures the lifecycle of that relationship, including which compute instance the volume was attached to, when it was attached, and detached. */
281
+ attachment?: VolumeAttachment | undefined;
282
+ }
283
+ export interface GetCacheVolumeResponse {
284
+ cacheVolume?: CacheVolume | undefined;
285
+ }
286
+ export interface GetVolumeTagSummaryRequest {
287
+ /** The name of the tag. */
288
+ tag?: string | undefined;
289
+ }
290
+ export type CacheVolumeList = Array<CacheVolume>;
291
+ export interface TagSummary {
292
+ /** The name of the tag. */
293
+ tag: string;
294
+ /** The requested size of the volume tag in megabytes. */
295
+ sizeMb: number;
296
+ /** A series of all active generations at rest that belong to this tag. These generations are candidates to clone new Cache Volumes from. The list is sorted chronologically, starting with the oldest available generation. Deprecated, use `generations` instead. */
297
+ atRest: CacheVolumeList;
298
+ /** A series of all generations in use that belong to this tag. Once detached, these generations get stored at rest and become candidates to clone new Cache Volumes from. The list is sorted chronologically, starting with the oldest available generation. Deprecated, use `generations` instead. */
299
+ inUse: CacheVolumeList;
300
+ /** A series of generations that belong to this tag. This list contains - all active generations at rest - all generations in use - the latest expired/abandoned generations (potentially incomplete) The list is sorted chronologically, starting with the oldest available generation. */
301
+ generations: CacheVolumeList;
302
+ /** The timestamp of the first generation (in UTC). Reset when released. Note: this field is not populated yet. */
303
+ createdAt?: string | undefined;
304
+ }
305
+ export interface GetVolumeTagSummaryResponse {
306
+ summary?: TagSummary | undefined;
307
+ }
308
+ export interface ListCacheVolumesRequest {
309
+ }
310
+ export interface ListCacheVolumesResponse {
311
+ cacheVolume: CacheVolumeList;
312
+ }
313
+ export interface ListPersistentVolumesRequest {
314
+ /** Filter by tag. If not provided, all persistent volumes are returned. */
315
+ tag?: string | undefined;
316
+ /** If a previous response returned a `pagination_cursor`, it can be specified to continue reading results with the same arguments as the original call. */
317
+ paginationCursor?: string | undefined;
318
+ /** The maximum number of entries to return as part of this ListPersistentVolumes request. A maximum number of entries may also be specified when `pagination_cursor` is set. We won't return more than `max_entries`, but may return fewer. */
319
+ maxEntries?: string | undefined;
320
+ /** Filter by site/region. If not provided, all sites are queried. */
321
+ site?: StringMatcher | undefined;
322
+ }
323
+ export interface ListPersistentVolumesResponse {
324
+ volumes: PersistentVolumeList;
325
+ /** If set, there are additional results. Pass the same cursor to a subsequent ListPersistentVolumes call to continue fetching results. */
326
+ paginationCursor: string;
327
+ }
328
+ export interface ListPersistentVolumeSnapshotsRequest {
329
+ /** The unique identifier of the persistent volume. */
330
+ id?: string | undefined;
331
+ /** The tag of the persistent volume. */
332
+ tag?: string | undefined;
333
+ /** Optional: The site/region where the volume is located. If provided, only that region is queried. */
334
+ site?: string | undefined;
335
+ }
336
+ export type PersistentVolumeSnapshotList = Array<PersistentVolumeSnapshot>;
337
+ export interface ListPersistentVolumeSnapshotsResponse {
338
+ snapshots: PersistentVolumeSnapshotList;
339
+ }
340
+ export interface ListVolumeTagSummariesRequest {
341
+ }
342
+ export type TagSummaryList = Array<TagSummary>;
343
+ export interface ListVolumeTagSummariesResponse {
344
+ summaries: TagSummaryList;
345
+ }
346
+ export type DescribePersistentVolumeError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
347
+ /** Returns details of a Persistent Volume. ### Errors - If the volume does not exist, a `NotFound` status is returned. */
348
+ export declare const describePersistentVolume: API.OperationMethod<DescribePersistentVolumeRequest, DescribePersistentVolumeResponse, DescribePersistentVolumeError, NamespaceLabsOpContext>;
349
+ export type DescribePersistentVolumeSnapshotError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
350
+ /** Returns details and computed disk-page usage of a specific completed snapshot. Returns NotFound if the snapshot does not belong to this tenant and tag, or FailedPrecondition if the snapshot has not completed. */
351
+ export declare const describePersistentVolumeSnapshot: API.OperationMethod<DescribePersistentVolumeSnapshotRequest, DescribePersistentVolumeSnapshotResponse, DescribePersistentVolumeSnapshotError, NamespaceLabsOpContext>;
352
+ export type DestroyCacheVolumeError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
353
+ /** Release all Cache Volumes belonging to a selected `tag`. This operation cannot be undone. ### Errors - If no volume tag is provided, a `InvalidArgument` status is returned. - If the provided volume tag does not match any known volume tag, a `NotFound` status is returned. */
354
+ export declare const destroyCacheVolume: API.OperationMethod<DestroyCacheVolumeRequest, DestroyCacheVolumeResponse, DestroyCacheVolumeError, NamespaceLabsOpContext>;
355
+ export type DestroyPersistentVolumesError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
356
+ /** Destroys Persistent Volumes matching the given criteria. Returns the metadata of destroyed volumes. At least one matcher (id or tag) must be specified. For safety, the IS_NOT operator is denied. ### Errors - If no matcher is provided, a `InvalidArgument` status is returned. - If IS_NOT operator is used, a `InvalidArgument` status is returned. - If no volumes are found matching criteria, a `NotFound` status is returned. */
357
+ export declare const destroyPersistentVolumes: API.OperationMethod<DestroyPersistentVolumesRequest, DestroyPersistentVolumesResponse, DestroyPersistentVolumesError, NamespaceLabsOpContext>;
358
+ export type DestroyPersistentVolumeSnapshotError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
359
+ /** Marks a persistent volume snapshot as abandoned. Abandoned snapshots are excluded when selecting a base snapshot for new volumes. This is useful for marking corrupted or unwanted snapshots without destroying the volume itself. ### Errors - If the snapshot does not exist, a `NotFound` status is returned. - If the snapshot is still attached to an instance, a `FailedPrecondition` status is returned. */
360
+ export declare const destroyPersistentVolumeSnapshot: API.OperationMethod<DestroyPersistentVolumeSnapshotRequest, DestroyPersistentVolumeSnapshotResponse, DestroyPersistentVolumeSnapshotError, NamespaceLabsOpContext>;
361
+ export type GetCacheVolumeError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
362
+ /** Returns a Cache Volume. */
363
+ export declare const getCacheVolume: API.OperationMethod<GetCacheVolumeRequest, GetCacheVolumeResponse, GetCacheVolumeError, NamespaceLabsOpContext>;
364
+ export type GetVolumeTagSummaryError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
365
+ /** Produces a summary for a Cache Volume tag used by this tenant. */
366
+ export declare const getVolumeTagSummary: API.OperationMethod<GetVolumeTagSummaryRequest, GetVolumeTagSummaryResponse, GetVolumeTagSummaryError, NamespaceLabsOpContext>;
367
+ export type ListCacheVolumesError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
368
+ /** Returns a list of all Cache Volumes used by this tenant. */
369
+ export declare const listCacheVolumes: API.OperationMethod<ListCacheVolumesRequest, ListCacheVolumesResponse, ListCacheVolumesError, NamespaceLabsOpContext>;
370
+ export type ListPersistentVolumesError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
371
+ /** Returns a list of all Persistent Volumes for a given tag. */
372
+ export declare const listPersistentVolumes: API.PaginatedOperationMethod<ListPersistentVolumesRequest, ListPersistentVolumesResponse, ListPersistentVolumesError, NamespaceLabsOpContext, PersistentVolume>;
373
+ export type ListPersistentVolumeSnapshotsError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
374
+ /** Returns all snapshots of a Persistent Volume. */
375
+ export declare const listPersistentVolumeSnapshots: API.OperationMethod<ListPersistentVolumeSnapshotsRequest, ListPersistentVolumeSnapshotsResponse, ListPersistentVolumeSnapshotsError, NamespaceLabsOpContext>;
376
+ export type ListVolumeTagSummariesError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
377
+ /** Produces a summary for each Cache Volume tag used by this tenant. */
378
+ export declare const listVolumeTagSummaries: API.OperationMethod<ListVolumeTagSummariesRequest, ListVolumeTagSummariesResponse, ListVolumeTagSummariesError, NamespaceLabsOpContext>;
379
+ //# sourceMappingURL=compute_storage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compute_storage.d.ts","sources":["../../src/unstable-services/compute_storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,KAAK,CAAC,MAAM,mCAAmC,CAAC;AAIvD,OAAO,EAEL,KAA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b,iBAAiB,GACjB,oBAAoB,CAAC;AACzB,gEAAgE;AAChE,eAAO,MAAM,qBAAqB,EAAE,GAAG,CAAC,wBAAwB,CAC9D,4BAA4B,EAC5B,6BAA6B,EAC7B,0BAA0B,EAC1B,sBAAsB,EACtB,gBAAgB,CA2BV,CAAC;AAET,MAAM,MAAM,kCAAkC,GAC1C,eAAe,GACf,kBAAkB,GAClB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,iBAAiB,GACjB,oBAAoB,CAAC;AACzB,oDAAoD;AACpD,eAAO,MAAM,6BAA6B,EAAE,GAAG,CAAC,eAAe,CAC7D,oCAAoC,EACpC,qCAAqC,EACrC,kCAAkC,EAClC,sBAAsB,CAkBrB,CAAC;AAEJ,MAAM,MAAM,2BAA2B,GACnC,eAAe,GACf,kBAAkB,GAClB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,iBAAiB,GACjB,oBAAoB,CAAC;AACzB,wEAAwE;AACxE,eAAO,MAAM,sBAAsB,EAAE,GAAG,CAAC,eAAe,CACtD,6BAA6B,EAC7B,8BAA8B,EAC9B,2BAA2B,EAC3B,sBAAsB,CAkBrB,CAAC"}
@@ -0,0 +1,33 @@
1
+ import{Ca as e,Ma as t,Xc as n,Yc as r,_c as i,a,b as o,errors$NamespaceLabsServiceErrors as s,f as c,gd as l,hd as u,jd as d,kd as f,l as p,m,md as h,n as g,o as _,pagination$paginateCursor as v,pd as y,protocol$NamespaceLabsProtocol as b,rd as x,retry$Retry as S,traits$Http as C,traits$applyErrorMatchers as w,wd as T,xd as E,ya as D,za as O}from"../_bundle/sdk.js";const k={system:`namespacelabs-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Namespacelabs`,service:`StorageService`,propagate:`w3c`};const A=/*@__PURE__*/ c(function AlreadyExists(t){return m(t,new.target,[`$7($6()("AlreadyExists",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:409,body:{"/code":"already_exists"}}])`,[x,e,d,y,u,T,h,w]])});const j=/*@__PURE__*/ c(function FailedPrecondition(e){return m(e,new.target,[`$7($6()("FailedPrecondition",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:400,body:{"/code":"failed_precondition"}}])`,[x,O,d,y,u,T,h,w]])});const M=/*@__PURE__*/ c(function InvalidArgument(e){return m(e,new.target,[`$7($6()("InvalidArgument",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:400,body:{"/code":"invalid_argument"}}])`,[x,O,d,y,u,T,h,w]])});const N=/*@__PURE__*/ c(function NotFound(e){return m(e,new.target,[`$7($6()("NotFound",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:404}])`,[x,O,d,y,u,T,h,w]])});const P=/*@__PURE__*/ c(function PermissionDenied(e){return m(e,new.target,[`$7($6()("PermissionDenied",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:403}])`,[x,D,d,y,u,T,h,w]])});const F=/*@__PURE__*/ c(function ResourceExhausted(e){return m(e,new.target,[`$8($7()("ResourceExhausted",{message:$2,body:$3,headers:$5($4($2,$2)),retryAfter:$5($6)}).pipe($1),[{status:429}])`,[x,t,d,y,u,T,i,h,w]])});const I=/*@__PURE__*/ c(function Unauthenticated(e){return m(e,new.target,[`$7($6()("Unauthenticated",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:401}])`,[x,D,d,y,u,T,h,w]])});const L=/*@__PURE__*/ g(e=>e===a?p(`DescribePersistentVolume`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({id:$3($2),tag:$3($2),site:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.compute.v1beta.StorageService/%",code:200}));$4({volume:$3(#6:0)})`,[x,C,d,T,f,E,__d5,M,j,I,P,N,A,F,s,b,S,k]):o(L,e));const R=/*@__PURE__*/ g(e=>e===a?p(`DescribePersistentVolumeSnapshot`,`{input:#1,output:#3,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>4)@"%Request";$5(>5)@"PersistentVolumeSnapshotUsage";$5(>6)@"%Response";$4({id:$3($2),tag:$3($2),site:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.compute.v1beta.StorageService/%",code:200}));$4({snapshotBlobId:$2,pageCount:$2,pageBytes:$2,allocatedBlockCount:$2,blockSizeBytes:$2,allocatedBytes:$2});$4({snapshot:$3(#6:0),usage:$3(#2)})`,[x,C,d,T,f,E,__d6,M,j,I,P,N,A,F,s,b,S,k]):o(R,e));const z=/*@__PURE__*/ g(e=>e===a?p(`DestroyCacheVolume`,`{input:#1,output:#2,errors:[$6,$7,$8,$9,$10,$11,$12],serviceErrors:$13,protocol:$14,retry:$15,telemetry:$16,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({tag:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.compute.v1beta.StorageService/%",code:200}));$4({})`,[x,C,d,T,f,E,M,j,I,P,N,A,F,s,b,S,k]):o(z,e));const B=/*@__PURE__*/ g(e=>e===a?p(`DestroyPersistentVolumes`,`{input:#1,output:#2,errors:[$6,$7,$8,$9,$10,$11,$12],serviceErrors:$13,protocol:$14,retry:$15,telemetry:$16,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({id:$3(#2:0),tag:$3(#2:0)}).pipe($1({method:"POST",uri:"/namespace.cloud.compute.v1beta.StorageService/%",code:200}));$4({destroyedVolumes:#2:1})`,[x,C,__d1,T,f,E,M,j,I,P,N,A,F,s,b,S,k]):o(B,e));const V=/*@__PURE__*/ g(e=>e===a?p(`DestroyPersistentVolumeSnapshot`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({id:$3($2),tag:$3($2),site:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.compute.v1beta.StorageService/%",code:200}));$4({snapshot:$3(#6:0)})`,[x,C,d,T,f,E,__d6,M,j,I,P,N,A,F,s,b,S,k]):o(V,e));const H=/*@__PURE__*/ g(e=>e===a?p(`GetCacheVolume`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({id:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.compute.v1beta.StorageService/%",code:200}));$4({cacheVolume:$3(#6:7)})`,[x,C,d,T,f,E,__d2,M,j,I,P,N,A,F,s,b,S,k]):o(H,e));const U=/*@__PURE__*/ g(e=>e===a?p(`GetVolumeTagSummary`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({tag:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.compute.v1beta.StorageService/%",code:200}));$4({summary:$3(#6:0)})`,[x,C,d,T,f,E,__d4,M,j,I,P,N,A,F,s,b,S,k]):o(U,e));const W=/*@__PURE__*/ g(e=>e===a?p(`ListCacheVolumes`,`{input:#1,output:#2,errors:[$5,$6,$7,$8,$9,$10,$11],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%"};$3(>3)@"%Request";$3(>4)@"%Response";$2({}).pipe($1({method:"POST",uri:"/namespace.cloud.compute.v1beta.StorageService/%",code:200}));$2({cacheVolume:#4:0})`,[x,C,f,E,__d3,M,j,I,P,N,A,F,s,b,S,k]):o(W,e));const G=/*@__PURE__*/ _(e=>e===a?p(`ListPersistentVolumes`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%",pagination:{mode:"cursor",inputToken:"paginationCursor",outputToken:"paginationCursor",items:"volumes"},strategy:$18};$6(>3)@"%Request";$6(>4)@"%Response";$5({tag:$3($2),paginationCursor:$3($2),maxEntries:$3($2),site:$3(#4:0)}).pipe($1({method:"POST",uri:"/namespace.cloud.compute.v1beta.StorageService/%",code:200}));$5({volumes:#4:1,paginationCursor:$2})`,[x,C,d,T,__d1,f,E,M,j,I,P,N,A,F,s,b,S,k,v]):o(G,e));const K=/*@__PURE__*/ g(e=>e===a?p(`ListPersistentVolumeSnapshots`,`{input:#1,output:#3,errors:[$8,$9,$10,$11,$12,$13,$14],serviceErrors:$15,protocol:$16,retry:$17,telemetry:$18,span:"%"};$5(>4)@"%Request";$7(#6:0);$5(>5)@"%Response";$4({id:$3($2),tag:$3($2),site:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.compute.v1beta.StorageService/%",code:200}));$4({snapshots:#2})`,[x,C,d,T,f,E,__d6,n,M,j,I,P,N,A,F,s,b,S,k]):o(K,e));const q=/*@__PURE__*/ g(e=>e===a?p(`ListVolumeTagSummaries`,`{input:#1,output:#3,errors:[$6,$7,$8,$9,$10,$11,$12],serviceErrors:$13,protocol:$14,retry:$15,telemetry:$16,span:"%"};$3(>4)@"%Request";$5(#4:0);$3(>5)@"%Response";$2({}).pipe($1({method:"POST",uri:"/namespace.cloud.compute.v1beta.StorageService/%",code:200}));$2({summaries:#2})`,[x,C,f,E,__d4,n,M,j,I,P,N,A,F,s,b,S,k]):o(q,e));function __d0(){return[`$2($1)`,[x,d,n]]}function __d1(){return[`$5(>2)@"StringMatcher";$7(#6:0);$4({values:$2(#1:0),op:$2($3)})`,[x,__d0,T,d,f,E,__d5,n]]}function __d2(){return[`$5(>8)@"VolumeMetadata";$5(>9)@"CachedImage";$6(#1);$5(>10)@"ContainerImageCache";$5(>11)@"PathUtilization";$9($1,#4);$5(>12)@"VolumeAttachment";$5(>13)@"CacheVolume";$4({createdAt:$2($1),destroyedAt:$2($1),sizeMb:$3,state:$1,generationReason:$1});$4({imageRef:$1,namespace:$1,createdAt:$2($1),updatedAt:$2($1),sizeBytes:$1});$4({enabled:$7,cachedImages:#2,garbageCollectedImages:#2});$4({cacheFramework:$1,mountTarget:#8:0,source:$1,utilizationMb:$1,createdAt:$2($1)});$4({attachedTo:$1,lastAttachedAt:$2($1),lastDetachedAt:$2($1),attachedAt:$2($1),usedMbWhenAttached:$3,detachedAt:$2($1),usedMbWhenDetached:$3,containerImageCache:$2(#3),pathUtilization:#5});$4({id:$1,tag:$1,metadata:$2(#0),attachment:$2(#6)})`,[x,d,T,l,f,E,n,r,__d0,u]]}function __d3(){return[`$2(#1:7)`,[x,__d2,n]]}function __d4(){return[`$6(>1)@"TagSummary";$5({tag:$1,sizeMb:$2,atRest:#3:0,inUse:#3:0,generations:#3:0,createdAt:$4($1)})`,[x,d,l,__d3,T,f,E]]}function __d5(){return[`$5(>1)@"PersistentVolume";$4({id:$1,tag:$1,createdAt:$2($1),destroyedAt:$2($1),sizeMb:$3,attachedTo:$1,releasedAt:$2($1),releasedReason:$1,site:$1})`,[x,d,T,l,f,E]]}function __d6(){return[`$4(>1)@"PersistentVolumeSnapshot";$3({id:$1,createdAt:$2($1),usedBytes:$1,snapshotFrom:$1,completedSnapshot:$1,netNewUsedBytes:$1,attachedInstanceId:$1,releasedAt:$2($1),releasedReason:$1,abandonedAt:$2($1),metadataVersion:$1})`,[x,d,T,f,E]]}export{A as AlreadyExists,j as FailedPrecondition,M as InvalidArgument,N as NotFound,P as PermissionDenied,F as ResourceExhausted,I as Unauthenticated,L as describePersistentVolume,R as describePersistentVolumeSnapshot,z as destroyCacheVolume,V as destroyPersistentVolumeSnapshot,B as destroyPersistentVolumes,H as getCacheVolume,U as getVolumeTagSummary,W as listCacheVolumes,K as listPersistentVolumeSnapshots,G as listPersistentVolumes,q as listVolumeTagSummaries};
2
+ /*
3
+ 29 26
4
+ e:0:Ca t:0:Ma n:0:Xc r:0:Yc i:0:_c a:0:a o:0:b s:0:errors$NamespaceLabsServiceErrors c:0:f l:0:gd u:0:hd d:0:jd f:0:kd p:0:l m:0:m h:0:md g:0:n _:0:o v:0:pagination$paginateCursor y:0:pd b:0:protocol$NamespaceLabsProtocol x:0:rd S:0:retry$Retry C:0:traits$Http w:0:traits$applyErrorMatchers T:0:wd E:0:xd D:0:ya O:0:za
5
+ 000000002j0005a0007k000a1000cr000f0000he000jl000m3000ot000r8000s6000t4000u4000v6000w8000xc000ye000yq000zl0010s001220012y001420015300162
6
+ 2 1nn 1ym L|=DescribePersistentVolume;1oq 1x8;l,n,b,p,c,q,1h,16,15,1a,18,17,14,19,7,k,m,1b
7
+ 2 1zc 2f2 R|=DescribePersistentVolumeSnapshot;20n 2do;l,n,b,p,c,q,1i,16,15,1a,18,17,14,19,7,k,m,1b
8
+ 2 2fs 2pe z|=DestroyCacheVolume;2gp 2o5;l,n,b,p,c,q,16,15,1a,18,17,14,19,7,k,m,1b
9
+ 2 2q4 30y B|=DestroyPersistentVolumes;2r7 2zm;l,n,1d,p,c,q,16,15,1a,18,17,14,19,7,k,m,1b
10
+ 2 31o 3cw V|=DestroyPersistentVolumeSnapshot;32y 3bi;l,n,b,p,c,q,1i,16,15,1a,18,17,14,19,7,k,m,1b
11
+ 2 3dm 3nt H|=GetCacheVolume;3ef 3mf;l,n,b,p,c,q,1e,16,15,1a,18,17,14,19,7,k,m,1b
12
+ 2 3oj 3ys U|=GetVolumeTagSummary;3ph 3xe;l,n,b,p,c,q,1g,16,15,1a,18,17,14,19,7,k,m,1b
13
+ 2 3zi 498 W|=ListCacheVolumes;40d 47y;l,n,c,q,1f,16,15,1a,18,17,14,19,7,k,m,1b
14
+ 2 49y 4pk G|=ListPersistentVolumes;4ay 4o4;l,n,b,p,1d,c,q,16,15,1a,18,17,14,19,7,k,m,1b,i
15
+ 2 4qa 51n K|=ListPersistentVolumeSnapshots;4ri 507;l,n,b,p,c,q,1i,2,16,15,1a,18,17,14,19,7,k,m,1b
16
+ 2 52d 5ch q|=ListVolumeTagSummaries;53e 5b5;l,n,c,q,1g,2,16,15,1a,18,17,14,19,7,k,m,1b
17
+ 3 io o4 A|=;k2 ni;l,0,b,j,a,p,f,o
18
+ 3 ou up j|=;qd u3;l,s,b,j,a,p,f,o
19
+ 3 vf 111 M|=;wv 10f;l,s,b,j,a,p,f,o
20
+ 3 11r 161 N|=;130 15f;l,s,b,j,a,p,f,o
21
+ 3 16r 1bh P|=;188 1av;l,r,b,j,a,p,f,o
22
+ 3 1c7 1hj F|=;1dp 1gv;l,1,b,j,a,p,4,f,o
23
+ 3 1i9 1mx I|=;1jp 1mb;l,r,b,j,a,p,f,o
24
+ 0 ah hz k||
25
+ 1 5cj 5do __d0|=;5d7 5dd;l,b,2
26
+ 1 5do 5gu __d1|=;5ec 5g3;l,1c,p,b,c,q,1h,2
27
+ 1 5gu 622 __d2|=;5hi 61a;l,b,p,9,c,q,2,3,1c,a
28
+ 1 622 63c __d3|=;62q 62y;l,1e,2
29
+ 1 63c 67d __d4|=;640 66r;l,b,9,1f,p,c,q
30
+ 1 67d 6cm __d5|=;681 6c5;l,b,p,9,c,q
31
+ 1 6cm 6k0 __d6|=;6da 6jl;l,b,p,c,q
32
+ */
33
+ //# sourceMappingURL=compute_storage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compute_storage.js","names":["API.newError","__L.at","C.withConflictError","S.String","S.Unknown","S.Record","S.optional","S.TaggedError","T.applyErrorMatchers","C.withBadRequestError","C.withAuthError","C.withThrottlingError","S.Duration","API.D","API.named","T.Http","S.Struct","S.suspend","Retry.Retry","API.call","S.Array","S.Number","S.Boolean","withConflictError","withThrottlingError","Array","Boolean","Duration","call","NamespaceLabsServiceErrors","error","Number","Record","String","Struct","named","TaggedError","op","opPaginated","paginateCursor","Unknown","NamespaceLabsProtocol","at","Retry","Http","applyErrorMatchers","optional","suspend","withAuthError","withBadRequestError","TELEMETRY","AlreadyExists","newError","i","FailedPrecondition","InvalidArgument","NotFound","PermissionDenied","ResourceExhausted","Unauthenticated","describePersistentVolume","D","describePersistentVolumeSnapshot","destroyCacheVolume","destroyPersistentVolumes","destroyPersistentVolumeSnapshot","getCacheVolume","getVolumeTagSummary","listCacheVolumes","listPersistentVolumes","listPersistentVolumeSnapshots","listVolumeTagSummaries"],"sources":["../../src/unstable-services/compute_storage.ts"],"mappings":"iXAkBA,MAAMkD,EAAY,CAChB,OAAQ,oBACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ,gBACR,QAAS,iBACT,UAAW,KACb,EAEA,MAAaC,EAAmC,gBAAU,SAAS,cAAc,EAAa,CAC5F,OAAOnD,EAAaqD,EAAG,WAAY,CAAC,+HAAgI,CAACpD,EAAQC,EAAqBC,EAAUC,EAAWC,EAAUC,EAAYC,EAAeC,CAAoB,CAAC,CAAC,CACpR,CAAC,EAED,MAAa8C,EAAwC,gBAAU,SAAS,mBAAmB,EAAa,CACtG,OAAOtD,EAAaqD,EAAG,WAAY,CAAC,yIAA0I,CAACpD,EAAQQ,EAAuBN,EAAUC,EAAWC,EAAUC,EAAYC,EAAeC,CAAoB,CAAC,CAAC,CAChS,CAAC,EAED,MAAa+C,EAAqC,gBAAU,SAAS,gBAAgB,EAAa,CAChG,OAAOvD,EAAaqD,EAAG,WAAY,CAAC,mIAAoI,CAACpD,EAAQQ,EAAuBN,EAAUC,EAAWC,EAAUC,EAAYC,EAAeC,CAAoB,CAAC,CAAC,CAC1R,CAAC,EAED,MAAagD,EAA8B,gBAAU,SAAS,SAAS,EAAa,CAClF,OAAOxD,EAAaqD,EAAG,WAAY,CAAC,0FAA2F,CAACpD,EAAQQ,EAAuBN,EAAUC,EAAWC,EAAUC,EAAYC,EAAeC,CAAoB,CAAC,CAAC,CACjP,CAAC,EAED,MAAaiD,EAAsC,gBAAU,SAAS,iBA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