provider

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	CreateDisk(name string, sizeGb int64) error
}

Provider represents a service provider, such as google. TODO: clarify what this type is for

func NewGoogleProvider

func NewGoogleProvider(ctx context.Context, project string, zone string) (Provider, error)

NewGoogleProvider returns a google provider with the given project and zone.

Jump to

Keyboard shortcuts

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