Skip to content

Commit

Permalink
Add fields for virtual services (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsierles committed Jul 29, 2024
1 parent 1a7b5f6 commit ed7a855
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
7 changes: 7 additions & 0 deletions resource_ip_addresses.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ func (c *Client) GetIPAddresses(ctx context.Context, appName string) ([]IPAddres
type
region
createdAt
network {
name
organization {
slug
}
}
serviceName
}
}
sharedIpAddress
Expand Down
17 changes: 12 additions & 5 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,11 +471,18 @@ type DNSRecords struct {
}

type IPAddress struct {
ID string
Address string
Type string
Region string
CreatedAt time.Time
ID string
Address string
Type string
Region string
CreatedAt time.Time
ServiceName string
Network *struct {
Name string
Organization *struct {
Slug string
}
}
}

type VMSize struct {
Expand Down

0 comments on commit ed7a855

Please sign in to comment.