google_cloud_run_domain_mapping

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 (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 (MetadataAttributes) Namespace

func (m MetadataAttributes) Namespace() terra.StringValue

func (MetadataAttributes) ResourceVersion

func (m MetadataAttributes) ResourceVersion() terra.StringValue
func (m MetadataAttributes) SelfLink() terra.StringValue

func (MetadataAttributes) TerraformLabels

func (m MetadataAttributes) TerraformLabels() terra.MapValue[terra.StringValue]

func (MetadataAttributes) Uid

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 New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

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) DependOn

func (gcrdm *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gcrdm *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gcrdm *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gcrdm *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gcrdm *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gcrdm *Resource) State() (*googleCloudRunDomainMappingState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gcrdm *Resource) StateMust() *googleCloudRunDomainMappingState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gcrdm *Resource) Type() string

Type returns the Terraform object type 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 SpecState

type SpecState struct {
	CertificateMode string `json:"certificate_mode"`
	ForceOverride   bool   `json:"force_override"`
	RouteName       string `json:"route_name"`
}

type StatusAttributes

type StatusAttributes struct {
	// contains filtered or unexported fields
}

func (StatusAttributes) Conditions

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

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 (StatusConditionsAttributes) Message

func (StatusConditionsAttributes) Reason

func (StatusConditionsAttributes) Status

func (StatusConditionsAttributes) Type

type StatusConditionsState

type StatusConditionsState struct {
	Message string `json:"message"`
	Reason  string `json:"reason"`
	Status  string `json:"status"`
	Type    string `json:"type"`
}

type StatusResourceRecordsAttributes

type StatusResourceRecordsAttributes struct {
	// contains filtered or unexported fields
}

func (StatusResourceRecordsAttributes) InternalRef

func (StatusResourceRecordsAttributes) InternalTokens

func (rr StatusResourceRecordsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StatusResourceRecordsAttributes) InternalWithRef

func (StatusResourceRecordsAttributes) Name

func (StatusResourceRecordsAttributes) Rrdata

func (StatusResourceRecordsAttributes) Type

type StatusResourceRecordsState

type StatusResourceRecordsState struct {
	Name   string `json:"name"`
	Rrdata string `json:"rrdata"`
	Type   string `json:"type"`
}

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 (TimeoutsAttributes) Delete

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

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL