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
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 (w *OperationWaiter) Conf() *resource.StateChangeConf
func (*OperationWaiter) RefreshFunc ¶
func (w *OperationWaiter) RefreshFunc() resource.StateRefreshFunc
Click to show internal directories.
Click to hide internal directories.