snapshots

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Get(ctx context.Context, id string) (Snapshot, error)
	Delete(ctx context.Context, id string) error
	List(ctx context.Context) (<-chan Snapshot, <-chan error)
	ListDroplet(ctx context.Context) (<-chan Snapshot, <-chan error)
	ListVolume(ctx context.Context) (<-chan Snapshot, <-chan error)
}

func New

func New(g *godo.Client) Client

New creates a Client.

type Snapshot

type Snapshot interface {
	Struct() *godo.Snapshot
}

Jump to

Keyboard shortcuts

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