Documentation ¶
Index ¶
- type Args
- type Metadata
- type MetadataAttributes
- func (m MetadataAttributes) Annotations() terra.MapValue[terra.StringValue]
- func (m MetadataAttributes) EffectiveAnnotations() terra.MapValue[terra.StringValue]
- func (m MetadataAttributes) EffectiveLabels() terra.MapValue[terra.StringValue]
- func (m MetadataAttributes) Generation() terra.NumberValue
- func (m MetadataAttributes) InternalRef() (terra.Reference, error)
- func (m MetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m MetadataAttributes) InternalWithRef(ref terra.Reference) MetadataAttributes
- func (m MetadataAttributes) Labels() terra.MapValue[terra.StringValue]
- func (m MetadataAttributes) Namespace() terra.StringValue
- func (m MetadataAttributes) ResourceVersion() terra.StringValue
- func (m MetadataAttributes) SelfLink() terra.StringValue
- func (m MetadataAttributes) TerraformLabels() terra.MapValue[terra.StringValue]
- func (m MetadataAttributes) Uid() terra.StringValue
- type MetadataState
- type Resource
- func (gcrdm *Resource) Attributes() googleCloudRunDomainMappingAttributes
- func (gcrdm *Resource) Configuration() interface{}
- func (gcrdm *Resource) DependOn() terra.Reference
- func (gcrdm *Resource) Dependencies() terra.Dependencies
- func (gcrdm *Resource) ImportState(state io.Reader) error
- func (gcrdm *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcrdm *Resource) LocalName() string
- func (gcrdm *Resource) State() (*googleCloudRunDomainMappingState, bool)
- func (gcrdm *Resource) StateMust() *googleCloudRunDomainMappingState
- func (gcrdm *Resource) Type() string
- type Spec
- type SpecAttributes
- func (s SpecAttributes) CertificateMode() terra.StringValue
- func (s SpecAttributes) ForceOverride() terra.BoolValue
- func (s SpecAttributes) InternalRef() (terra.Reference, error)
- func (s SpecAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SpecAttributes) InternalWithRef(ref terra.Reference) SpecAttributes
- func (s SpecAttributes) RouteName() terra.StringValue
- type SpecState
- type StatusAttributes
- func (s StatusAttributes) Conditions() terra.ListValue[StatusConditionsAttributes]
- func (s StatusAttributes) InternalRef() (terra.Reference, error)
- func (s StatusAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StatusAttributes) InternalWithRef(ref terra.Reference) StatusAttributes
- func (s StatusAttributes) MappedRouteName() terra.StringValue
- func (s StatusAttributes) ObservedGeneration() terra.NumberValue
- func (s StatusAttributes) ResourceRecords() terra.ListValue[StatusResourceRecordsAttributes]
- type StatusConditionsAttributes
- func (c StatusConditionsAttributes) InternalRef() (terra.Reference, error)
- func (c StatusConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c StatusConditionsAttributes) InternalWithRef(ref terra.Reference) StatusConditionsAttributes
- func (c StatusConditionsAttributes) Message() terra.StringValue
- func (c StatusConditionsAttributes) Reason() terra.StringValue
- func (c StatusConditionsAttributes) Status() terra.StringValue
- func (c StatusConditionsAttributes) Type() terra.StringValue
- type StatusConditionsState
- type StatusResourceRecordsAttributes
- func (rr StatusResourceRecordsAttributes) InternalRef() (terra.Reference, error)
- func (rr StatusResourceRecordsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rr StatusResourceRecordsAttributes) InternalWithRef(ref terra.Reference) StatusResourceRecordsAttributes
- func (rr StatusResourceRecordsAttributes) Name() terra.StringValue
- func (rr StatusResourceRecordsAttributes) Rrdata() terra.StringValue
- func (rr StatusResourceRecordsAttributes) Type() terra.StringValue
- type StatusResourceRecordsState
- type StatusState
- 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
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // 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"` // Metadata: optional Metadata *Metadata `hcl:"metadata,block"` // Spec: required Spec *Spec `hcl:"spec,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_cloud_run_domain_mapping.
type Metadata ¶
type Metadata struct { // Annotations: map of string, optional Annotations terra.MapValue[terra.StringValue] `hcl:"annotations,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Namespace: string, required Namespace terra.StringValue `hcl:"namespace,attr" validate:"required"` }
type MetadataAttributes ¶
type MetadataAttributes struct {
// contains filtered or unexported fields
}
func (MetadataAttributes) Annotations ¶
func (m MetadataAttributes) Annotations() terra.MapValue[terra.StringValue]
func (MetadataAttributes) EffectiveAnnotations ¶
func (m MetadataAttributes) EffectiveAnnotations() terra.MapValue[terra.StringValue]
func (MetadataAttributes) EffectiveLabels ¶
func (m MetadataAttributes) EffectiveLabels() terra.MapValue[terra.StringValue]
func (MetadataAttributes) Generation ¶
func (m MetadataAttributes) Generation() terra.NumberValue
func (MetadataAttributes) InternalRef ¶
func (m MetadataAttributes) InternalRef() (terra.Reference, error)
func (MetadataAttributes) InternalTokens ¶
func (m MetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetadataAttributes) InternalWithRef ¶
func (m MetadataAttributes) InternalWithRef(ref terra.Reference) MetadataAttributes
func (MetadataAttributes) Labels ¶
func (m MetadataAttributes) Labels() terra.MapValue[terra.StringValue]
func (MetadataAttributes) Namespace ¶
func (m MetadataAttributes) Namespace() terra.StringValue
func (MetadataAttributes) ResourceVersion ¶
func (m MetadataAttributes) ResourceVersion() terra.StringValue
func (MetadataAttributes) SelfLink ¶
func (m MetadataAttributes) SelfLink() terra.StringValue
func (MetadataAttributes) TerraformLabels ¶
func (m MetadataAttributes) TerraformLabels() terra.MapValue[terra.StringValue]
func (MetadataAttributes) Uid ¶
func (m MetadataAttributes) Uid() terra.StringValue
type MetadataState ¶
type MetadataState struct { Annotations map[string]string `json:"annotations"` EffectiveAnnotations map[string]string `json:"effective_annotations"` EffectiveLabels map[string]string `json:"effective_labels"` Generation float64 `json:"generation"` Labels map[string]string `json:"labels"` Namespace string `json:"namespace"` ResourceVersion string `json:"resource_version"` SelfLink string `json:"self_link"` TerraformLabels map[string]string `json:"terraform_labels"` Uid string `json:"uid"` }
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_cloud_run_domain_mapping.
func (*Resource) Attributes ¶
func (gcrdm *Resource) Attributes() googleCloudRunDomainMappingAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcrdm *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcrdm *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 Spec ¶
type Spec struct { // CertificateMode: string, optional CertificateMode terra.StringValue `hcl:"certificate_mode,attr"` // ForceOverride: bool, optional ForceOverride terra.BoolValue `hcl:"force_override,attr"` // RouteName: string, required RouteName terra.StringValue `hcl:"route_name,attr" validate:"required"` }
type SpecAttributes ¶
type SpecAttributes struct {
// contains filtered or unexported fields
}
func (SpecAttributes) CertificateMode ¶
func (s SpecAttributes) CertificateMode() terra.StringValue
func (SpecAttributes) ForceOverride ¶
func (s SpecAttributes) ForceOverride() terra.BoolValue
func (SpecAttributes) InternalRef ¶
func (s SpecAttributes) InternalRef() (terra.Reference, error)
func (SpecAttributes) InternalTokens ¶
func (s SpecAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecAttributes) InternalWithRef ¶
func (s SpecAttributes) InternalWithRef(ref terra.Reference) SpecAttributes
func (SpecAttributes) RouteName ¶
func (s SpecAttributes) RouteName() terra.StringValue
type StatusAttributes ¶
type StatusAttributes struct {
// contains filtered or unexported fields
}
func (StatusAttributes) Conditions ¶
func (s StatusAttributes) Conditions() terra.ListValue[StatusConditionsAttributes]
func (StatusAttributes) InternalRef ¶
func (s StatusAttributes) InternalRef() (terra.Reference, error)
func (StatusAttributes) InternalTokens ¶
func (s StatusAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusAttributes) InternalWithRef ¶
func (s StatusAttributes) InternalWithRef(ref terra.Reference) StatusAttributes
func (StatusAttributes) MappedRouteName ¶
func (s StatusAttributes) MappedRouteName() terra.StringValue
func (StatusAttributes) ObservedGeneration ¶
func (s StatusAttributes) ObservedGeneration() terra.NumberValue
func (StatusAttributes) ResourceRecords ¶
func (s StatusAttributes) ResourceRecords() terra.ListValue[StatusResourceRecordsAttributes]
type StatusConditionsAttributes ¶
type StatusConditionsAttributes struct {
// contains filtered or unexported fields
}
func (StatusConditionsAttributes) InternalRef ¶
func (c StatusConditionsAttributes) InternalRef() (terra.Reference, error)
func (StatusConditionsAttributes) InternalTokens ¶
func (c StatusConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusConditionsAttributes) InternalWithRef ¶
func (c StatusConditionsAttributes) InternalWithRef(ref terra.Reference) StatusConditionsAttributes
func (StatusConditionsAttributes) Message ¶
func (c StatusConditionsAttributes) Message() terra.StringValue
func (StatusConditionsAttributes) Reason ¶
func (c StatusConditionsAttributes) Reason() terra.StringValue
func (StatusConditionsAttributes) Status ¶
func (c StatusConditionsAttributes) Status() terra.StringValue
func (StatusConditionsAttributes) Type ¶
func (c StatusConditionsAttributes) Type() terra.StringValue
type StatusConditionsState ¶
type StatusResourceRecordsAttributes ¶
type StatusResourceRecordsAttributes struct {
// contains filtered or unexported fields
}
func (StatusResourceRecordsAttributes) InternalRef ¶
func (rr StatusResourceRecordsAttributes) InternalRef() (terra.Reference, error)
func (StatusResourceRecordsAttributes) InternalTokens ¶
func (rr StatusResourceRecordsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusResourceRecordsAttributes) InternalWithRef ¶
func (rr StatusResourceRecordsAttributes) InternalWithRef(ref terra.Reference) StatusResourceRecordsAttributes
func (StatusResourceRecordsAttributes) Name ¶
func (rr StatusResourceRecordsAttributes) Name() terra.StringValue
func (StatusResourceRecordsAttributes) Rrdata ¶
func (rr StatusResourceRecordsAttributes) Rrdata() terra.StringValue
func (StatusResourceRecordsAttributes) Type ¶
func (rr StatusResourceRecordsAttributes) Type() terra.StringValue
type StatusState ¶
type StatusState struct { MappedRouteName string `json:"mapped_route_name"` ObservedGeneration float64 `json:"observed_generation"` Conditions []StatusConditionsState `json:"conditions"` ResourceRecords []StatusResourceRecordsState `json:"resource_records"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,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
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.