Documentation ¶
Index ¶
- type Args
- type Destination
- type DestinationAttributes
- func (d DestinationAttributes) CloudFunction() terra.StringValue
- func (d DestinationAttributes) CloudRunService() terra.ListValue[DestinationCloudRunServiceAttributes]
- func (d DestinationAttributes) Gke() terra.ListValue[DestinationGkeAttributes]
- func (d DestinationAttributes) HttpEndpoint() terra.ListValue[DestinationHttpEndpointAttributes]
- func (d DestinationAttributes) InternalRef() (terra.Reference, error)
- func (d DestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DestinationAttributes) InternalWithRef(ref terra.Reference) DestinationAttributes
- func (d DestinationAttributes) NetworkConfig() terra.ListValue[DestinationNetworkConfigAttributes]
- func (d DestinationAttributes) Workflow() terra.StringValue
- type DestinationCloudRunService
- type DestinationCloudRunServiceAttributes
- func (crs DestinationCloudRunServiceAttributes) InternalRef() (terra.Reference, error)
- func (crs DestinationCloudRunServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (crs DestinationCloudRunServiceAttributes) InternalWithRef(ref terra.Reference) DestinationCloudRunServiceAttributes
- func (crs DestinationCloudRunServiceAttributes) Path() terra.StringValue
- func (crs DestinationCloudRunServiceAttributes) Region() terra.StringValue
- func (crs DestinationCloudRunServiceAttributes) Service() terra.StringValue
- type DestinationCloudRunServiceState
- type DestinationGke
- type DestinationGkeAttributes
- func (g DestinationGkeAttributes) Cluster() terra.StringValue
- func (g DestinationGkeAttributes) InternalRef() (terra.Reference, error)
- func (g DestinationGkeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g DestinationGkeAttributes) InternalWithRef(ref terra.Reference) DestinationGkeAttributes
- func (g DestinationGkeAttributes) Location() terra.StringValue
- func (g DestinationGkeAttributes) Namespace() terra.StringValue
- func (g DestinationGkeAttributes) Path() terra.StringValue
- func (g DestinationGkeAttributes) Service() terra.StringValue
- type DestinationGkeState
- type DestinationHttpEndpoint
- type DestinationHttpEndpointAttributes
- func (he DestinationHttpEndpointAttributes) InternalRef() (terra.Reference, error)
- func (he DestinationHttpEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (he DestinationHttpEndpointAttributes) InternalWithRef(ref terra.Reference) DestinationHttpEndpointAttributes
- func (he DestinationHttpEndpointAttributes) Uri() terra.StringValue
- type DestinationHttpEndpointState
- type DestinationNetworkConfig
- type DestinationNetworkConfigAttributes
- func (nc DestinationNetworkConfigAttributes) InternalRef() (terra.Reference, error)
- func (nc DestinationNetworkConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nc DestinationNetworkConfigAttributes) InternalWithRef(ref terra.Reference) DestinationNetworkConfigAttributes
- func (nc DestinationNetworkConfigAttributes) NetworkAttachment() terra.StringValue
- type DestinationNetworkConfigState
- type DestinationState
- type MatchingCriteria
- type MatchingCriteriaAttributes
- func (mc MatchingCriteriaAttributes) Attribute() terra.StringValue
- func (mc MatchingCriteriaAttributes) InternalRef() (terra.Reference, error)
- func (mc MatchingCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mc MatchingCriteriaAttributes) InternalWithRef(ref terra.Reference) MatchingCriteriaAttributes
- func (mc MatchingCriteriaAttributes) Operator() terra.StringValue
- func (mc MatchingCriteriaAttributes) Value() terra.StringValue
- type MatchingCriteriaState
- type Resource
- func (get *Resource) Attributes() googleEventarcTriggerAttributes
- func (get *Resource) Configuration() interface{}
- func (get *Resource) DependOn() terra.Reference
- func (get *Resource) Dependencies() terra.Dependencies
- func (get *Resource) ImportState(state io.Reader) error
- func (get *Resource) LifecycleManagement() *terra.Lifecycle
- func (get *Resource) LocalName() string
- func (get *Resource) State() (*googleEventarcTriggerState, bool)
- func (get *Resource) StateMust() *googleEventarcTriggerState
- func (get *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 Transport
- type TransportAttributes
- func (t TransportAttributes) InternalRef() (terra.Reference, error)
- func (t TransportAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TransportAttributes) InternalWithRef(ref terra.Reference) TransportAttributes
- func (t TransportAttributes) Pubsub() terra.ListValue[TransportPubsubAttributes]
- type TransportPubsub
- type TransportPubsubAttributes
- func (p TransportPubsubAttributes) InternalRef() (terra.Reference, error)
- func (p TransportPubsubAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p TransportPubsubAttributes) InternalWithRef(ref terra.Reference) TransportPubsubAttributes
- func (p TransportPubsubAttributes) Subscription() terra.StringValue
- func (p TransportPubsubAttributes) Topic() terra.StringValue
- type TransportPubsubState
- type TransportState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Channel: string, optional Channel terra.StringValue `hcl:"channel,attr"` // EventDataContentType: string, optional EventDataContentType terra.StringValue `hcl:"event_data_content_type,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,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"` // ServiceAccount: string, optional ServiceAccount terra.StringValue `hcl:"service_account,attr"` // Destination: required Destination *Destination `hcl:"destination,block" validate:"required"` // MatchingCriteria: min=1 MatchingCriteria []MatchingCriteria `hcl:"matching_criteria,block" validate:"min=1"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // Transport: optional Transport *Transport `hcl:"transport,block"` }
Args contains the configurations for google_eventarc_trigger.
type Destination ¶
type Destination struct { // Workflow: string, optional Workflow terra.StringValue `hcl:"workflow,attr"` // DestinationCloudRunService: optional CloudRunService *DestinationCloudRunService `hcl:"cloud_run_service,block"` // DestinationGke: optional Gke *DestinationGke `hcl:"gke,block"` // DestinationHttpEndpoint: optional HttpEndpoint *DestinationHttpEndpoint `hcl:"http_endpoint,block"` // DestinationNetworkConfig: optional NetworkConfig *DestinationNetworkConfig `hcl:"network_config,block"` }
type DestinationAttributes ¶
type DestinationAttributes struct {
// contains filtered or unexported fields
}
func (DestinationAttributes) CloudFunction ¶
func (d DestinationAttributes) CloudFunction() terra.StringValue
func (DestinationAttributes) CloudRunService ¶
func (d DestinationAttributes) CloudRunService() terra.ListValue[DestinationCloudRunServiceAttributes]
func (DestinationAttributes) Gke ¶
func (d DestinationAttributes) Gke() terra.ListValue[DestinationGkeAttributes]
func (DestinationAttributes) HttpEndpoint ¶
func (d DestinationAttributes) HttpEndpoint() terra.ListValue[DestinationHttpEndpointAttributes]
func (DestinationAttributes) InternalRef ¶
func (d DestinationAttributes) InternalRef() (terra.Reference, error)
func (DestinationAttributes) InternalTokens ¶
func (d DestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationAttributes) InternalWithRef ¶
func (d DestinationAttributes) InternalWithRef(ref terra.Reference) DestinationAttributes
func (DestinationAttributes) NetworkConfig ¶
func (d DestinationAttributes) NetworkConfig() terra.ListValue[DestinationNetworkConfigAttributes]
func (DestinationAttributes) Workflow ¶
func (d DestinationAttributes) Workflow() terra.StringValue
type DestinationCloudRunService ¶
type DestinationCloudRunService struct { // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // Service: string, required Service terra.StringValue `hcl:"service,attr" validate:"required"` }
type DestinationCloudRunServiceAttributes ¶
type DestinationCloudRunServiceAttributes struct {
// contains filtered or unexported fields
}
func (DestinationCloudRunServiceAttributes) InternalRef ¶
func (crs DestinationCloudRunServiceAttributes) InternalRef() (terra.Reference, error)
func (DestinationCloudRunServiceAttributes) InternalTokens ¶
func (crs DestinationCloudRunServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationCloudRunServiceAttributes) InternalWithRef ¶
func (crs DestinationCloudRunServiceAttributes) InternalWithRef(ref terra.Reference) DestinationCloudRunServiceAttributes
func (DestinationCloudRunServiceAttributes) Path ¶
func (crs DestinationCloudRunServiceAttributes) Path() terra.StringValue
func (DestinationCloudRunServiceAttributes) Region ¶
func (crs DestinationCloudRunServiceAttributes) Region() terra.StringValue
func (DestinationCloudRunServiceAttributes) Service ¶
func (crs DestinationCloudRunServiceAttributes) Service() terra.StringValue
type DestinationGke ¶
type DestinationGke struct { // Cluster: string, required Cluster terra.StringValue `hcl:"cluster,attr" validate:"required"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Namespace: string, required Namespace terra.StringValue `hcl:"namespace,attr" validate:"required"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // Service: string, required Service terra.StringValue `hcl:"service,attr" validate:"required"` }
type DestinationGkeAttributes ¶
type DestinationGkeAttributes struct {
// contains filtered or unexported fields
}
func (DestinationGkeAttributes) Cluster ¶
func (g DestinationGkeAttributes) Cluster() terra.StringValue
func (DestinationGkeAttributes) InternalRef ¶
func (g DestinationGkeAttributes) InternalRef() (terra.Reference, error)
func (DestinationGkeAttributes) InternalTokens ¶
func (g DestinationGkeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationGkeAttributes) InternalWithRef ¶
func (g DestinationGkeAttributes) InternalWithRef(ref terra.Reference) DestinationGkeAttributes
func (DestinationGkeAttributes) Location ¶
func (g DestinationGkeAttributes) Location() terra.StringValue
func (DestinationGkeAttributes) Namespace ¶
func (g DestinationGkeAttributes) Namespace() terra.StringValue
func (DestinationGkeAttributes) Path ¶
func (g DestinationGkeAttributes) Path() terra.StringValue
func (DestinationGkeAttributes) Service ¶
func (g DestinationGkeAttributes) Service() terra.StringValue
type DestinationGkeState ¶
type DestinationHttpEndpoint ¶
type DestinationHttpEndpoint struct { // Uri: string, required Uri terra.StringValue `hcl:"uri,attr" validate:"required"` }
type DestinationHttpEndpointAttributes ¶
type DestinationHttpEndpointAttributes struct {
// contains filtered or unexported fields
}
func (DestinationHttpEndpointAttributes) InternalRef ¶
func (he DestinationHttpEndpointAttributes) InternalRef() (terra.Reference, error)
func (DestinationHttpEndpointAttributes) InternalTokens ¶
func (he DestinationHttpEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationHttpEndpointAttributes) InternalWithRef ¶
func (he DestinationHttpEndpointAttributes) InternalWithRef(ref terra.Reference) DestinationHttpEndpointAttributes
func (DestinationHttpEndpointAttributes) Uri ¶
func (he DestinationHttpEndpointAttributes) Uri() terra.StringValue
type DestinationHttpEndpointState ¶
type DestinationHttpEndpointState struct {
Uri string `json:"uri"`
}
type DestinationNetworkConfig ¶
type DestinationNetworkConfig struct { // NetworkAttachment: string, required NetworkAttachment terra.StringValue `hcl:"network_attachment,attr" validate:"required"` }
type DestinationNetworkConfigAttributes ¶
type DestinationNetworkConfigAttributes struct {
// contains filtered or unexported fields
}
func (DestinationNetworkConfigAttributes) InternalRef ¶
func (nc DestinationNetworkConfigAttributes) InternalRef() (terra.Reference, error)
func (DestinationNetworkConfigAttributes) InternalTokens ¶
func (nc DestinationNetworkConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationNetworkConfigAttributes) InternalWithRef ¶
func (nc DestinationNetworkConfigAttributes) InternalWithRef(ref terra.Reference) DestinationNetworkConfigAttributes
func (DestinationNetworkConfigAttributes) NetworkAttachment ¶
func (nc DestinationNetworkConfigAttributes) NetworkAttachment() terra.StringValue
type DestinationNetworkConfigState ¶
type DestinationNetworkConfigState struct {
NetworkAttachment string `json:"network_attachment"`
}
type DestinationState ¶
type DestinationState struct { CloudFunction string `json:"cloud_function"` Workflow string `json:"workflow"` CloudRunService []DestinationCloudRunServiceState `json:"cloud_run_service"` Gke []DestinationGkeState `json:"gke"` HttpEndpoint []DestinationHttpEndpointState `json:"http_endpoint"` NetworkConfig []DestinationNetworkConfigState `json:"network_config"` }
type MatchingCriteria ¶
type MatchingCriteria struct { // Attribute: string, required Attribute terra.StringValue `hcl:"attribute,attr" validate:"required"` // Operator: string, optional Operator terra.StringValue `hcl:"operator,attr"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type MatchingCriteriaAttributes ¶
type MatchingCriteriaAttributes struct {
// contains filtered or unexported fields
}
func (MatchingCriteriaAttributes) Attribute ¶
func (mc MatchingCriteriaAttributes) Attribute() terra.StringValue
func (MatchingCriteriaAttributes) InternalRef ¶
func (mc MatchingCriteriaAttributes) InternalRef() (terra.Reference, error)
func (MatchingCriteriaAttributes) InternalTokens ¶
func (mc MatchingCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MatchingCriteriaAttributes) InternalWithRef ¶
func (mc MatchingCriteriaAttributes) InternalWithRef(ref terra.Reference) MatchingCriteriaAttributes
func (MatchingCriteriaAttributes) Operator ¶
func (mc MatchingCriteriaAttributes) Operator() terra.StringValue
func (MatchingCriteriaAttributes) Value ¶
func (mc MatchingCriteriaAttributes) Value() terra.StringValue
type MatchingCriteriaState ¶
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_eventarc_trigger.
func (*Resource) Attributes ¶
func (get *Resource) Attributes() googleEventarcTriggerAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (get *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (get *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 Transport ¶
type Transport struct { // TransportPubsub: optional Pubsub *TransportPubsub `hcl:"pubsub,block"` }
type TransportAttributes ¶
type TransportAttributes struct {
// contains filtered or unexported fields
}
func (TransportAttributes) InternalRef ¶
func (t TransportAttributes) InternalRef() (terra.Reference, error)
func (TransportAttributes) InternalTokens ¶
func (t TransportAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TransportAttributes) InternalWithRef ¶
func (t TransportAttributes) InternalWithRef(ref terra.Reference) TransportAttributes
func (TransportAttributes) Pubsub ¶
func (t TransportAttributes) Pubsub() terra.ListValue[TransportPubsubAttributes]
type TransportPubsub ¶
type TransportPubsub struct { // Topic: string, optional Topic terra.StringValue `hcl:"topic,attr"` }
type TransportPubsubAttributes ¶
type TransportPubsubAttributes struct {
// contains filtered or unexported fields
}
func (TransportPubsubAttributes) InternalRef ¶
func (p TransportPubsubAttributes) InternalRef() (terra.Reference, error)
func (TransportPubsubAttributes) InternalTokens ¶
func (p TransportPubsubAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TransportPubsubAttributes) InternalWithRef ¶
func (p TransportPubsubAttributes) InternalWithRef(ref terra.Reference) TransportPubsubAttributes
func (TransportPubsubAttributes) Subscription ¶
func (p TransportPubsubAttributes) Subscription() terra.StringValue
func (TransportPubsubAttributes) Topic ¶
func (p TransportPubsubAttributes) Topic() terra.StringValue
type TransportPubsubState ¶
type TransportState ¶
type TransportState struct {
Pubsub []TransportPubsubState `json:"pubsub"`
}
Click to show internal directories.
Click to hide internal directories.