daytona_api_client 0.217.0 → 0.218.0
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 431cf5b1c229e12259051c68f9c04c617e30b0848a40e0bd71e1f2216aae6956
|
|
4
|
+
data.tar.gz: d704dd658ad2971375f88e8de946fd943b2374d295db7a83d78281d28d1f022d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d399f588f33295b250d941ecaede3d2be3cba5611d9359a0d2dc52eee9e34fa2b6a4e6be656e1ed494aed9370bf3f2b39e6d8d25d4d97eb4733405d20e19939
|
|
7
|
+
data.tar.gz: b196167d138f850c2c1cfc6117f90102bc5d1c6f76dc366ca99e1e7f71fba784f01135dfa0dbc672f7ec37c7ece2e431506eed6bca371138b072f8d15eefc4f3
|
|
@@ -96,6 +96,9 @@ module DaytonaApiClient
|
|
|
96
96
|
# Secrets to mount in this sandbox. Each entry maps an env var name to a vault secret name.
|
|
97
97
|
attr_accessor :secrets
|
|
98
98
|
|
|
99
|
+
# Expose KVM (/dev/kvm) inside the sandbox via nested virtualization. linux-vm snapshots only. Requires the sandbox_kvm feature for the organization.
|
|
100
|
+
attr_accessor :kvm
|
|
101
|
+
|
|
99
102
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
100
103
|
def self.attribute_map
|
|
101
104
|
{
|
|
@@ -125,7 +128,8 @@ module DaytonaApiClient
|
|
|
125
128
|
:'volumes' => :'volumes',
|
|
126
129
|
:'build_info' => :'buildInfo',
|
|
127
130
|
:'linked_sandbox' => :'linkedSandbox',
|
|
128
|
-
:'secrets' => :'secrets'
|
|
131
|
+
:'secrets' => :'secrets',
|
|
132
|
+
:'kvm' => :'kvm'
|
|
129
133
|
}
|
|
130
134
|
end
|
|
131
135
|
|
|
@@ -168,7 +172,8 @@ module DaytonaApiClient
|
|
|
168
172
|
:'volumes' => :'Array<SandboxVolume>',
|
|
169
173
|
:'build_info' => :'CreateBuildInfo',
|
|
170
174
|
:'linked_sandbox' => :'String',
|
|
171
|
-
:'secrets' => :'Array<Hash<String, String>>'
|
|
175
|
+
:'secrets' => :'Array<Hash<String, String>>',
|
|
176
|
+
:'kvm' => :'Boolean'
|
|
172
177
|
}
|
|
173
178
|
end
|
|
174
179
|
|
|
@@ -313,6 +318,12 @@ module DaytonaApiClient
|
|
|
313
318
|
self.secrets = value
|
|
314
319
|
end
|
|
315
320
|
end
|
|
321
|
+
|
|
322
|
+
if attributes.key?(:'kvm')
|
|
323
|
+
self.kvm = attributes[:'kvm']
|
|
324
|
+
else
|
|
325
|
+
self.kvm = false
|
|
326
|
+
end
|
|
316
327
|
end
|
|
317
328
|
|
|
318
329
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -361,7 +372,8 @@ module DaytonaApiClient
|
|
|
361
372
|
volumes == o.volumes &&
|
|
362
373
|
build_info == o.build_info &&
|
|
363
374
|
linked_sandbox == o.linked_sandbox &&
|
|
364
|
-
secrets == o.secrets
|
|
375
|
+
secrets == o.secrets &&
|
|
376
|
+
kvm == o.kvm
|
|
365
377
|
end
|
|
366
378
|
|
|
367
379
|
# @see the `==` method
|
|
@@ -373,7 +385,7 @@ module DaytonaApiClient
|
|
|
373
385
|
# Calculates hash code according to all attributes.
|
|
374
386
|
# @return [Integer] Hash code
|
|
375
387
|
def hash
|
|
376
|
-
[name, snapshot, user, env, labels, public, network_block_all, network_allow_list, domain_allow_list, outbound_proxy_url, otel_endpoint_override, target, cpu, gpu, gpu_type, spot, memory, disk, auto_stop_interval, auto_pause_interval, auto_archive_interval, auto_delete_interval, ttl_minutes, volumes, build_info, linked_sandbox, secrets].hash
|
|
388
|
+
[name, snapshot, user, env, labels, public, network_block_all, network_allow_list, domain_allow_list, outbound_proxy_url, otel_endpoint_override, target, cpu, gpu, gpu_type, spot, memory, disk, auto_stop_interval, auto_pause_interval, auto_archive_interval, auto_delete_interval, ttl_minutes, volumes, build_info, linked_sandbox, secrets, kvm].hash
|
|
377
389
|
end
|
|
378
390
|
|
|
379
391
|
# Builds the object from hash
|
|
@@ -144,6 +144,9 @@ module DaytonaApiClient
|
|
|
144
144
|
# The toolbox proxy URL for the sandbox
|
|
145
145
|
attr_accessor :toolbox_proxy_url
|
|
146
146
|
|
|
147
|
+
# Whether the sandbox exposes KVM (/dev/kvm) to its guest
|
|
148
|
+
attr_accessor :kvm
|
|
149
|
+
|
|
147
150
|
class EnumAttributeValidator
|
|
148
151
|
attr_reader :datatype
|
|
149
152
|
attr_reader :allowable_values
|
|
@@ -211,7 +214,8 @@ module DaytonaApiClient
|
|
|
211
214
|
:'daemon_version' => :'daemonVersion',
|
|
212
215
|
:'runner_id' => :'runnerId',
|
|
213
216
|
:'linked_sandbox_id' => :'linkedSandboxId',
|
|
214
|
-
:'toolbox_proxy_url' => :'toolboxProxyUrl'
|
|
217
|
+
:'toolbox_proxy_url' => :'toolboxProxyUrl',
|
|
218
|
+
:'kvm' => :'kvm'
|
|
215
219
|
}
|
|
216
220
|
end
|
|
217
221
|
|
|
@@ -270,7 +274,8 @@ module DaytonaApiClient
|
|
|
270
274
|
:'daemon_version' => :'String',
|
|
271
275
|
:'runner_id' => :'String',
|
|
272
276
|
:'linked_sandbox_id' => :'String',
|
|
273
|
-
:'toolbox_proxy_url' => :'String'
|
|
277
|
+
:'toolbox_proxy_url' => :'String',
|
|
278
|
+
:'kvm' => :'Boolean'
|
|
274
279
|
}
|
|
275
280
|
end
|
|
276
281
|
|
|
@@ -503,6 +508,10 @@ module DaytonaApiClient
|
|
|
503
508
|
else
|
|
504
509
|
self.toolbox_proxy_url = nil
|
|
505
510
|
end
|
|
511
|
+
|
|
512
|
+
if attributes.key?(:'kvm')
|
|
513
|
+
self.kvm = attributes[:'kvm']
|
|
514
|
+
end
|
|
506
515
|
end
|
|
507
516
|
|
|
508
517
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -801,7 +810,8 @@ module DaytonaApiClient
|
|
|
801
810
|
daemon_version == o.daemon_version &&
|
|
802
811
|
runner_id == o.runner_id &&
|
|
803
812
|
linked_sandbox_id == o.linked_sandbox_id &&
|
|
804
|
-
toolbox_proxy_url == o.toolbox_proxy_url
|
|
813
|
+
toolbox_proxy_url == o.toolbox_proxy_url &&
|
|
814
|
+
kvm == o.kvm
|
|
805
815
|
end
|
|
806
816
|
|
|
807
817
|
# @see the `==` method
|
|
@@ -813,7 +823,7 @@ module DaytonaApiClient
|
|
|
813
823
|
# Calculates hash code according to all attributes.
|
|
814
824
|
# @return [Integer] Hash code
|
|
815
825
|
def hash
|
|
816
|
-
[id, organization_id, name, snapshot, user, env, labels, public, network_block_all, network_allow_list, domain_allow_list, outbound_proxy_url, otel_endpoint_override, target, cpu, gpu, spot, spot_evicted_at, gpu_type, memory, disk, state, desired_state, error_reason, recoverable, warm_pool_id, backup_state, backup_created_at, auto_stop_interval, auto_pause_interval, auto_archive_interval, auto_delete_interval, auto_destroy_at, volumes, build_info, created_at, updated_at, last_activity_at, sandbox_class, daemon_version, runner_id, linked_sandbox_id, toolbox_proxy_url].hash
|
|
826
|
+
[id, organization_id, name, snapshot, user, env, labels, public, network_block_all, network_allow_list, domain_allow_list, outbound_proxy_url, otel_endpoint_override, target, cpu, gpu, spot, spot_evicted_at, gpu_type, memory, disk, state, desired_state, error_reason, recoverable, warm_pool_id, backup_state, backup_created_at, auto_stop_interval, auto_pause_interval, auto_archive_interval, auto_delete_interval, auto_destroy_at, volumes, build_info, created_at, updated_at, last_activity_at, sandbox_class, daemon_version, runner_id, linked_sandbox_id, toolbox_proxy_url, kvm].hash
|
|
817
827
|
end
|
|
818
828
|
|
|
819
829
|
# Builds the object from hash
|