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 (w *OperationWaiter) Conf() *resource.StateChangeConf
func (*OperationWaiter) RefreshFunc ¶
func (w *OperationWaiter) RefreshFunc() resource.StateRefreshFunc
Source Files ¶
- config.go
- disk_type.go
- image.go
- operation.go
- provider.go
- resource_compute_address.go
- resource_compute_disk.go
- resource_compute_firewall.go
- resource_compute_forwarding_rule.go
- resource_compute_http_health_check.go
- resource_compute_instance.go
- resource_compute_instance_template.go
- resource_compute_network.go
- resource_compute_route.go
- resource_compute_target_pool.go
- service_scope.go
Click to show internal directories.
Click to hide internal directories.