google

package
v0.1.1-0...-e7e60cb Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2014 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Provider returns a terraform.ResourceProvider.

Types

type Config

type Config struct {
	AccountFile       string
	ClientSecretsFile string
	Project           string
	Region            string
	// contains filtered or unexported fields
}

Config is the configuration structure used to instantiate the Google provider.

type OperationError

type OperationError compute.OperationError

OperationError wraps compute.OperationError and implements the error interface so it can be returned.

func (OperationError) Error

func (e OperationError) Error() string

type OperationWaitType

type OperationWaitType byte

OperationWaitType is an enum specifying what type of operation we're waiting on.

const (
	OperationWaitInvalid OperationWaitType = iota
	OperationWaitGlobal
	OperationWaitRegion
	OperationWaitZone
)

type OperationWaiter

type OperationWaiter struct {
	Service *compute.Service
	Op      *compute.Operation
	Project string
	Region  string
	Zone    string
	Type    OperationWaitType
}

func (*OperationWaiter) Conf

func (*OperationWaiter) RefreshFunc

func (w *OperationWaiter) RefreshFunc() resource.StateRefreshFunc

Jump to

Keyboard shortcuts

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