Documentation ¶
Index ¶
- type Args
- type NetworkConfig
- type NetworkConfigAttributes
- func (nc NetworkConfigAttributes) InternalRef() (terra.Reference, error)
- func (nc NetworkConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nc NetworkConfigAttributes) InternalWithRef(ref terra.Reference) NetworkConfigAttributes
- func (nc NetworkConfigAttributes) PeeredNetwork() terra.StringValue
- func (nc NetworkConfigAttributes) PeeredNetworkIpRange() terra.StringValue
- type NetworkConfigState
- type Resource
- func (gcwp *Resource) Attributes() googleCloudbuildWorkerPoolAttributes
- func (gcwp *Resource) Configuration() interface{}
- func (gcwp *Resource) DependOn() terra.Reference
- func (gcwp *Resource) Dependencies() terra.Dependencies
- func (gcwp *Resource) ImportState(state io.Reader) error
- func (gcwp *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcwp *Resource) LocalName() string
- func (gcwp *Resource) State() (*googleCloudbuildWorkerPoolState, bool)
- func (gcwp *Resource) StateMust() *googleCloudbuildWorkerPoolState
- func (gcwp *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type WorkerConfig
- type WorkerConfigAttributes
- func (wc WorkerConfigAttributes) DiskSizeGb() terra.NumberValue
- func (wc WorkerConfigAttributes) InternalRef() (terra.Reference, error)
- func (wc WorkerConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wc WorkerConfigAttributes) InternalWithRef(ref terra.Reference) WorkerConfigAttributes
- func (wc WorkerConfigAttributes) MachineType() terra.StringValue
- func (wc WorkerConfigAttributes) NoExternalIp() terra.BoolValue
- type WorkerConfigState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Annotations: map of string, optional Annotations terra.MapValue[terra.StringValue] `hcl:"annotations,attr"` // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // NetworkConfig: optional NetworkConfig *NetworkConfig `hcl:"network_config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // WorkerConfig: optional WorkerConfig *WorkerConfig `hcl:"worker_config,block"` }
Args contains the configurations for google_cloudbuild_worker_pool.
type NetworkConfig ¶
type NetworkConfig struct { // PeeredNetwork: string, required PeeredNetwork terra.StringValue `hcl:"peered_network,attr" validate:"required"` // PeeredNetworkIpRange: string, optional PeeredNetworkIpRange terra.StringValue `hcl:"peered_network_ip_range,attr"` }
type NetworkConfigAttributes ¶
type NetworkConfigAttributes struct {
// contains filtered or unexported fields
}
func (NetworkConfigAttributes) InternalRef ¶
func (nc NetworkConfigAttributes) InternalRef() (terra.Reference, error)
func (NetworkConfigAttributes) InternalTokens ¶
func (nc NetworkConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkConfigAttributes) InternalWithRef ¶
func (nc NetworkConfigAttributes) InternalWithRef(ref terra.Reference) NetworkConfigAttributes
func (NetworkConfigAttributes) PeeredNetwork ¶
func (nc NetworkConfigAttributes) PeeredNetwork() terra.StringValue
func (NetworkConfigAttributes) PeeredNetworkIpRange ¶
func (nc NetworkConfigAttributes) PeeredNetworkIpRange() terra.StringValue
type NetworkConfigState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource google_cloudbuild_worker_pool.
func (*Resource) Attributes ¶
func (gcwp *Resource) Attributes() googleCloudbuildWorkerPoolAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcwp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcwp *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type WorkerConfig ¶
type WorkerConfig struct { // DiskSizeGb: number, optional DiskSizeGb terra.NumberValue `hcl:"disk_size_gb,attr"` // MachineType: string, optional MachineType terra.StringValue `hcl:"machine_type,attr"` // NoExternalIp: bool, optional NoExternalIp terra.BoolValue `hcl:"no_external_ip,attr"` }
type WorkerConfigAttributes ¶
type WorkerConfigAttributes struct {
// contains filtered or unexported fields
}
func (WorkerConfigAttributes) DiskSizeGb ¶
func (wc WorkerConfigAttributes) DiskSizeGb() terra.NumberValue
func (WorkerConfigAttributes) InternalRef ¶
func (wc WorkerConfigAttributes) InternalRef() (terra.Reference, error)
func (WorkerConfigAttributes) InternalTokens ¶
func (wc WorkerConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (WorkerConfigAttributes) InternalWithRef ¶
func (wc WorkerConfigAttributes) InternalWithRef(ref terra.Reference) WorkerConfigAttributes
func (WorkerConfigAttributes) MachineType ¶
func (wc WorkerConfigAttributes) MachineType() terra.StringValue
func (WorkerConfigAttributes) NoExternalIp ¶
func (wc WorkerConfigAttributes) NoExternalIp() terra.BoolValue
type WorkerConfigState ¶
Click to show internal directories.
Click to hide internal directories.