google

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2015 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Provider returns a terraform.ResourceProvider.

Types

type Config

type Config struct {
	AccountFile 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