daytona 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: 234455e03a95507727b6e1ba8ca933aae0e5c53eb406a5fff4bc051f5f5cb5c9
4
- data.tar.gz: bab2f5ee3e382488f213ff032fb8a3f270f25df077558083e3859e865b9b2b95
3
+ metadata.gz: b8e213814357ddef2964bbb51dd2bc1639961337e6ec59e06dba8144d905aa4f
4
+ data.tar.gz: a924ea5a93b4e0d0366e4758135bcd96685eb095ba2bfbd32efa414d6e6a17c0
5
5
  SHA512:
6
- metadata.gz: a404264dccacf27a09c4e176e08baa625e55e66af8979622844b948ecc7b3a0ec7bb380caecfaa46eeb4e4b5ccec6782590bb4fc4ab5f34959283f502ba51574
7
- data.tar.gz: 5849c58ff779775f1a017c099c6d104c4ec99774089c9fe8c10904d7b25eb76cb03918a9f10bc7e9f2476d4be5fdf147cd90b7e2c2856c6ca6fd2624adc08ab1
6
+ metadata.gz: 0571d6830e6918b940119843ad602ff2c6bdb3342f84b36b4cd3d0586269e532a21721792e174e995bcdc700e2e8daae27c12f31143d669c5cd592f308631931
7
+ data.tar.gz: 570d51ca03353f3b9ea61d4a988c914acf5dce042c872aa82da8243df22045211153e7431a2388c9b4ede46ec064319d2145c5c4de5626cd06518daf06a1e398
@@ -50,6 +50,10 @@ module Daytona
50
50
  # @return [Boolean, nil] Whether to block all network access for the Sandbox
51
51
  attr_accessor :network_block_all
52
52
 
53
+ # @return [Boolean, nil] Expose KVM (/dev/kvm) inside the sandbox via nested virtualization.
54
+ # linux-vm snapshots only. Requires the sandbox_kvm feature for the organization.
55
+ attr_accessor :kvm
56
+
53
57
  # @return [String, nil] Comma-separated list of allowed CIDR network addresses for the Sandbox
54
58
  attr_accessor :network_allow_list
55
59
 
@@ -95,6 +99,8 @@ module Daytona
95
99
  # @param secrets [Hash<String, String>, nil] Organization Secrets to expose in the Sandbox, as a
96
100
  # mapping of env var name to existing Secret name
97
101
  # @param network_block_all [Boolean, nil] Whether to block all network access for the Sandbox
102
+ # @param kvm [Boolean, nil] Expose KVM (/dev/kvm) inside the sandbox via nested virtualization.
103
+ # linux-vm snapshots only. Requires the sandbox_kvm feature for the organization.
98
104
  # @param network_allow_list [String, nil] Comma-separated list of allowed CIDR network addresses for the Sandbox
99
105
  # @param domain_allow_list [String, nil] Comma-separated list of allowed domains for the Sandbox
100
106
  # @param outbound_proxy_url [String, nil] Outbound proxy URL to route the Sandbox HTTP(S) traffic through.
@@ -123,6 +129,7 @@ module Daytona
123
129
  volumes: nil,
124
130
  secrets: nil,
125
131
  network_block_all: nil,
132
+ kvm: nil,
126
133
  network_allow_list: nil,
127
134
  domain_allow_list: nil,
128
135
  outbound_proxy_url: nil,
@@ -145,6 +152,7 @@ module Daytona
145
152
  @volumes = volumes
146
153
  @secrets = secrets
147
154
  @network_block_all = network_block_all
155
+ @kvm = kvm
148
156
  @network_allow_list = network_allow_list
149
157
  @domain_allow_list = domain_allow_list
150
158
  @outbound_proxy_url = outbound_proxy_url
@@ -176,6 +184,7 @@ module Daytona
176
184
  volumes:,
177
185
  secrets:,
178
186
  network_block_all:,
187
+ kvm:,
179
188
  network_allow_list:,
180
189
  domain_allow_list:,
181
190
  outbound_proxy_url:,
@@ -233,6 +242,8 @@ module Daytona
233
242
  # @param secrets [Hash<String, String>, nil] Organization Secrets to expose in the Sandbox, as a
234
243
  # mapping of env var name to existing Secret name
235
244
  # @param network_block_all [Boolean, nil] Whether to block all network access for the Sandbox
245
+ # @param kvm [Boolean, nil] Expose KVM (/dev/kvm) inside the sandbox via nested virtualization.
246
+ # linux-vm snapshots only. Requires the sandbox_kvm feature for the organization.
236
247
  # @param network_allow_list [String, nil] Comma-separated list of allowed CIDR network addresses for the Sandbox
237
248
  # @param domain_allow_list [String, nil] Comma-separated list of allowed domains for the Sandbox
238
249
  # @param outbound_proxy_url [String, nil] Outbound proxy URL to route the Sandbox HTTP(S) traffic through.
@@ -282,6 +293,8 @@ module Daytona
282
293
  # @param secrets [Hash<String, String>, nil] Organization Secrets to expose in the Sandbox, as a
283
294
  # mapping of env var name to existing Secret name
284
295
  # @param network_block_all [Boolean, nil] Whether to block all network access for the Sandbox
296
+ # @param kvm [Boolean, nil] Expose KVM (/dev/kvm) inside the sandbox via nested virtualization.
297
+ # linux-vm snapshots only. Requires the sandbox_kvm feature for the organization.
285
298
  # @param network_allow_list [String, nil] Comma-separated list of allowed CIDR network addresses for the Sandbox
286
299
  # @param domain_allow_list [String, nil] Comma-separated list of allowed domains for the Sandbox
287
300
  # @param outbound_proxy_url [String, nil] Outbound proxy URL to route the Sandbox HTTP(S) traffic through.
@@ -291,6 +291,7 @@ module Daytona
291
291
  volumes: params.volumes,
292
292
  secrets: params.secrets&.map { |env_var, secret_name| { env_var.to_s => secret_name.to_s } },
293
293
  network_block_all: params.network_block_all,
294
+ kvm: params.kvm,
294
295
  network_allow_list: params.network_allow_list,
295
296
  domain_allow_list: params.domain_allow_list,
296
297
  outbound_proxy_url: params.outbound_proxy_url,
@@ -80,6 +80,10 @@ module Daytona
80
80
  # Not returned by list results; call #refresh on each item to populate.
81
81
  attr_reader :network_block_all
82
82
 
83
+ # @return [Boolean, nil] Whether the sandbox exposes KVM (/dev/kvm) to its guest.
84
+ # Not returned by list results; call #refresh on each item to populate.
85
+ attr_reader :kvm
86
+
83
87
  # @return [String, nil] Comma-separated list of allowed CIDR network addresses for the sandbox.
84
88
  # Not returned by list results; call #refresh on each item to populate.
85
89
  attr_reader :network_allow_list
@@ -1136,6 +1140,7 @@ module Daytona
1136
1140
  if sandbox_dto.is_a?(DaytonaApiClient::Sandbox)
1137
1141
  @env = sandbox_dto.env
1138
1142
  @network_block_all = sandbox_dto.network_block_all
1143
+ @kvm = sandbox_dto.kvm
1139
1144
  @network_allow_list = sandbox_dto.network_allow_list
1140
1145
  @domain_allow_list = sandbox_dto.domain_allow_list
1141
1146
  @outbound_proxy_url = sandbox_dto.outbound_proxy_url
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Daytona
7
7
  module Sdk
8
- VERSION = '0.217.0'
8
+ VERSION = '0.218.0'
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daytona
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.217.0
4
+ version: 0.218.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daytona Platforms Inc.
@@ -91,42 +91,42 @@ dependencies:
91
91
  requirements:
92
92
  - - '='
93
93
  - !ruby/object:Gem::Version
94
- version: 0.217.0
94
+ version: 0.218.0
95
95
  type: :runtime
96
96
  prerelease: false
97
97
  version_requirements: !ruby/object:Gem::Requirement
98
98
  requirements:
99
99
  - - '='
100
100
  - !ruby/object:Gem::Version
101
- version: 0.217.0
101
+ version: 0.218.0
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: daytona_api_client
104
104
  requirement: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - '='
107
107
  - !ruby/object:Gem::Version
108
- version: 0.217.0
108
+ version: 0.218.0
109
109
  type: :runtime
110
110
  prerelease: false
111
111
  version_requirements: !ruby/object:Gem::Requirement
112
112
  requirements:
113
113
  - - '='
114
114
  - !ruby/object:Gem::Version
115
- version: 0.217.0
115
+ version: 0.218.0
116
116
  - !ruby/object:Gem::Dependency
117
117
  name: daytona_toolbox_api_client
118
118
  requirement: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - '='
121
121
  - !ruby/object:Gem::Version
122
- version: 0.217.0
122
+ version: 0.218.0
123
123
  type: :runtime
124
124
  prerelease: false
125
125
  version_requirements: !ruby/object:Gem::Requirement
126
126
  requirements:
127
127
  - - '='
128
128
  - !ruby/object:Gem::Version
129
- version: 0.217.0
129
+ version: 0.218.0
130
130
  - !ruby/object:Gem::Dependency
131
131
  name: dotenv
132
132
  requirement: !ruby/object:Gem::Requirement