Skip to content

Commit

Permalink
Merge pull request #163 from civo/feature/gpu
Browse files Browse the repository at this point in the history
addition of gpu_count and gpu_type to instance struct
  • Loading branch information
alessandroargentieri authored Aug 17, 2023
2 parents 379d88d + 0d0cd24 commit a270b14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ type Instance struct {
CPUCores int `json:"cpu_cores,omitempty"`
RAMMegabytes int `json:"ram_mb,omitempty"`
DiskGigabytes int `json:"disk_gb,omitempty"`
GPUCount int `json:"gpu_count,omitempty"`
GPUType string `json:"gpu_type,omitempty"`
Script string `json:"script,omitempty"`
CreatedAt time.Time `json:"created_at,omitempty"`
ReservedIPID string `json:"reserved_ip_id,omitempty"`
Expand Down

0 comments on commit a270b14

Please sign in to comment.