Skip to content

Commit a270b14

Browse files
Merge pull request #163 from civo/feature/gpu
addition of gpu_count and gpu_type to instance struct
2 parents 379d88d + 0d0cd24 commit a270b14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

instance.go

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ type Instance struct {
4545
CPUCores int `json:"cpu_cores,omitempty"`
4646
RAMMegabytes int `json:"ram_mb,omitempty"`
4747
DiskGigabytes int `json:"disk_gb,omitempty"`
48+
GPUCount int `json:"gpu_count,omitempty"`
49+
GPUType string `json:"gpu_type,omitempty"`
4850
Script string `json:"script,omitempty"`
4951
CreatedAt time.Time `json:"created_at,omitempty"`
5052
ReservedIPID string `json:"reserved_ip_id,omitempty"`

0 commit comments

Comments
 (0)