Documentation ¶
Index ¶
- func Client(cloud cloud.Client) (cloud.Client, func(...Spy))
- type Spy
- func Domains(fn func(*godo.Domain)) Spy
- func Droplets(fn func(*godo.Droplet)) Spy
- func Firewalls(fn func(*godo.Firewall)) Spy
- func FloatingIPs(fn func(*godo.FloatingIP)) Spy
- func Keys(fn func(*godo.Key)) Spy
- func LoadBalancers(fn func(*godo.LoadBalancer)) Spy
- func Records(fn func(*godo.DomainRecord)) Spy
- func Snapshots(fn func(*godo.Snapshot)) Spy
- func Tags(fn func(*godo.Tag)) Spy
- func Volumes(fn func(*godo.Volume)) Spy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Spy ¶
type Spy func(*client)
A Spy lets you see what's been created by a client.
func Domains ¶
Domains lets you visit all the domains that are still created by the spied upon client.
func Droplets ¶
Droplets lets you visit all the droplets that are still created by the spied upon client.
func Firewalls ¶
Firewalls lets you visit all the firewalls that are still created by the spied upon client.
func FloatingIPs ¶
func FloatingIPs(fn func(*godo.FloatingIP)) Spy
FloatingIPs lets you visit all the floatingips that are still created by the spied upon client.
func LoadBalancers ¶
func LoadBalancers(fn func(*godo.LoadBalancer)) Spy
Load Balancers lets you visit all the load balancers that are still created by the spied upon client.
func Records ¶
func Records(fn func(*godo.DomainRecord)) Spy
Records lets you visit all the records that are still created by the spied upon client.
func Snapshots ¶
Snapshots lets you visit all the snapshots that are still created by the spied upon client.