spycloud

package
v0.0.0-...-cad3fbd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(cloud cloud.Client) (cloud.Client, func(...Spy))

Client wraps a client with a spy, which allows looking at the resources that currently exist in the client.

Types

type Spy

type Spy func(*client)

A Spy lets you see what's been created by a client.

func Domains

func Domains(fn func(*godo.Domain)) Spy

Domains lets you visit all the domains that are still created by the spied upon client.

func Droplets

func Droplets(fn func(*godo.Droplet)) Spy

Droplets lets you visit all the droplets that are still created by the spied upon client.

func Firewalls

func Firewalls(fn func(*godo.Firewall)) Spy

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 Keys

func Keys(fn func(*godo.Key)) Spy

Keys lets you visit all the keys 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

func Snapshots(fn func(*godo.Snapshot)) Spy

Snapshots lets you visit all the snapshots that are still created by the spied upon client.

func Tags

func Tags(fn func(*godo.Tag)) Spy

Tags lets you visit all the tags that are still created by the spied upon client.

func Volumes

func Volumes(fn func(*godo.Volume)) Spy

Volumes lets you visit all the volumes that are still created by the spied upon client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL