File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 30
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-962950583e6d0c5e72b547422e3cf0f6b9d00a7be1f1ad0b0430d5e742bf6e20 .yml
3- openapi_spec_hash : f5a6a0f94dded7dc78ddac6218034bb2
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-28e78b73c796f9ee866671ed946402b5d569e683c3207d57c9143eb7d6f83fb6 .yml
3+ openapi_spec_hash : fce0ac8713369a5f048bac684ed34fc8
44config_hash : f65a6a2bcef49a9f623212f9de6d6f6f
Original file line number Diff line number Diff line change @@ -293,6 +293,9 @@ func (r *InstanceNetwork) UnmarshalJSON(data []byte) error {
293293type PathInfo struct {
294294 // Whether the path exists
295295 Exists bool `json:"exists,required"`
296+ // Error message if stat failed (e.g., permission denied). Only set when exists is
297+ // false due to an error rather than the path not existing.
298+ Error string `json:"error,nullable"`
296299 // True if this is a directory
297300 IsDir bool `json:"is_dir"`
298301 // True if this is a regular file
@@ -308,6 +311,7 @@ type PathInfo struct {
308311 // JSON contains metadata for fields, check presence with [respjson.Field.Valid].
309312 JSON struct {
310313 Exists respjson.Field
314+ Error respjson.Field
311315 IsDir respjson.Field
312316 IsFile respjson.Field
313317 IsSymlink respjson.Field
@@ -402,6 +406,8 @@ type InstanceNewParams struct {
402406 Size param.Opt [string ] `json:"size,omitzero"`
403407 // Number of virtual CPUs
404408 Vcpus param.Opt [int64 ] `json:"vcpus,omitzero"`
409+ // Device IDs or names to attach for GPU/PCI passthrough
410+ Devices []string `json:"devices,omitzero"`
405411 // Environment variables
406412 Env map [string ]string `json:"env,omitzero"`
407413 // Network configuration for the instance
You can’t perform that action at this time.
0 commit comments