google_cloud_run_v2_service

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 {
	// Annotations: map of string, optional
	Annotations terra.MapValue[terra.StringValue] `hcl:"annotations,attr"`
	// Client: string, optional
	Client terra.StringValue `hcl:"client,attr"`
	// ClientVersion: string, optional
	ClientVersion terra.StringValue `hcl:"client_version,attr"`
	// CustomAudiences: list of string, optional
	CustomAudiences terra.ListValue[terra.StringValue] `hcl:"custom_audiences,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Ingress: string, optional
	Ingress terra.StringValue `hcl:"ingress,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// LaunchStage: string, optional
	LaunchStage terra.StringValue `hcl:"launch_stage,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"`
	// BinaryAuthorization: optional
	BinaryAuthorization *BinaryAuthorization `hcl:"binary_authorization,block"`
	// Scaling: optional
	Scaling *Scaling `hcl:"scaling,block"`
	// Template: required
	Template *Template `hcl:"template,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// Traffic: min=0
	Traffic []Traffic `hcl:"traffic,block" validate:"min=0"`
}

Args contains the configurations for google_cloud_run_v2_service.

type BinaryAuthorization

type BinaryAuthorization struct {
	// BreakglassJustification: string, optional
	BreakglassJustification terra.StringValue `hcl:"breakglass_justification,attr"`
	// UseDefault: bool, optional
	UseDefault terra.BoolValue `hcl:"use_default,attr"`
}

type BinaryAuthorizationAttributes

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

func (BinaryAuthorizationAttributes) BreakglassJustification

func (ba BinaryAuthorizationAttributes) BreakglassJustification() terra.StringValue

func (BinaryAuthorizationAttributes) InternalRef

func (ba BinaryAuthorizationAttributes) InternalRef() (terra.Reference, error)

func (BinaryAuthorizationAttributes) InternalTokens

func (ba BinaryAuthorizationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BinaryAuthorizationAttributes) InternalWithRef

func (BinaryAuthorizationAttributes) UseDefault

type BinaryAuthorizationState

type BinaryAuthorizationState struct {
	BreakglassJustification string `json:"breakglass_justification"`
	UseDefault              bool   `json:"use_default"`
}

type ConditionsAttributes

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

func (ConditionsAttributes) ExecutionReason

func (c ConditionsAttributes) ExecutionReason() terra.StringValue

func (ConditionsAttributes) InternalRef

func (c ConditionsAttributes) InternalRef() (terra.Reference, error)

func (ConditionsAttributes) InternalTokens

func (c ConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConditionsAttributes) InternalWithRef

func (ConditionsAttributes) LastTransitionTime

func (c ConditionsAttributes) LastTransitionTime() terra.StringValue

func (ConditionsAttributes) Message

func (ConditionsAttributes) Reason

func (ConditionsAttributes) RevisionReason

func (c ConditionsAttributes) RevisionReason() terra.StringValue

func (ConditionsAttributes) Severity

func (c ConditionsAttributes) Severity() terra.StringValue

func (ConditionsAttributes) State

func (ConditionsAttributes) Type

type ConditionsState

type ConditionsState struct {
	ExecutionReason    string `json:"execution_reason"`
	LastTransitionTime string `json:"last_transition_time"`
	Message            string `json:"message"`
	Reason             string `json:"reason"`
	RevisionReason     string `json:"revision_reason"`
	Severity           string `json:"severity"`
	State              string `json:"state"`
	Type               string `json:"type"`
}

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
}

DataArgs contains the configurations for google_cloud_run_v2_service.

type DataBinaryAuthorizationAttributes

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

func (DataBinaryAuthorizationAttributes) BreakglassJustification

func (ba DataBinaryAuthorizationAttributes) BreakglassJustification() terra.StringValue

func (DataBinaryAuthorizationAttributes) InternalRef

func (DataBinaryAuthorizationAttributes) InternalTokens

func (ba DataBinaryAuthorizationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataBinaryAuthorizationAttributes) InternalWithRef

func (DataBinaryAuthorizationAttributes) UseDefault

type DataBinaryAuthorizationState

type DataBinaryAuthorizationState struct {
	BreakglassJustification string `json:"breakglass_justification"`
	UseDefault              bool   `json:"use_default"`
}

type DataConditionsAttributes

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

func (DataConditionsAttributes) ExecutionReason

func (c DataConditionsAttributes) ExecutionReason() terra.StringValue

func (DataConditionsAttributes) InternalRef

func (c DataConditionsAttributes) InternalRef() (terra.Reference, error)

func (DataConditionsAttributes) InternalTokens

func (c DataConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataConditionsAttributes) InternalWithRef

func (DataConditionsAttributes) LastTransitionTime

func (c DataConditionsAttributes) LastTransitionTime() terra.StringValue

func (DataConditionsAttributes) Message

func (DataConditionsAttributes) Reason

func (DataConditionsAttributes) RevisionReason

func (c DataConditionsAttributes) RevisionReason() terra.StringValue

func (DataConditionsAttributes) Severity

func (DataConditionsAttributes) State

func (DataConditionsAttributes) Type

type DataConditionsState

type DataConditionsState struct {
	ExecutionReason    string `json:"execution_reason"`
	LastTransitionTime string `json:"last_transition_time"`
	Message            string `json:"message"`
	Reason             string `json:"reason"`
	RevisionReason     string `json:"revision_reason"`
	Severity           string `json:"severity"`
	State              string `json:"state"`
	Type               string `json:"type"`
}

type DataScalingAttributes

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

func (DataScalingAttributes) InternalRef

func (s DataScalingAttributes) InternalRef() (terra.Reference, error)

func (DataScalingAttributes) InternalTokens

func (s DataScalingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataScalingAttributes) InternalWithRef

func (DataScalingAttributes) MinInstanceCount

func (s DataScalingAttributes) MinInstanceCount() terra.NumberValue

type DataScalingState

type DataScalingState struct {
	MinInstanceCount float64 `json:"min_instance_count"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_cloud_run_v2_service.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gcrvs *DataSource) Attributes() dataGoogleCloudRunV2ServiceAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gcrvs *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gcrvs *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gcrvs *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataTemplateAttributes

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

func (DataTemplateAttributes) Annotations

func (DataTemplateAttributes) Containers

func (DataTemplateAttributes) EncryptionKey

func (t DataTemplateAttributes) EncryptionKey() terra.StringValue

func (DataTemplateAttributes) ExecutionEnvironment

func (t DataTemplateAttributes) ExecutionEnvironment() terra.StringValue

func (DataTemplateAttributes) InternalRef

func (t DataTemplateAttributes) InternalRef() (terra.Reference, error)

func (DataTemplateAttributes) InternalTokens

func (t DataTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTemplateAttributes) InternalWithRef

func (DataTemplateAttributes) Labels

func (DataTemplateAttributes) MaxInstanceRequestConcurrency

func (t DataTemplateAttributes) MaxInstanceRequestConcurrency() terra.NumberValue

func (DataTemplateAttributes) Revision

func (DataTemplateAttributes) Scaling

func (DataTemplateAttributes) ServiceAccount

func (t DataTemplateAttributes) ServiceAccount() terra.StringValue

func (DataTemplateAttributes) SessionAffinity

func (t DataTemplateAttributes) SessionAffinity() terra.BoolValue

func (DataTemplateAttributes) Timeout

func (DataTemplateAttributes) Volumes

func (DataTemplateAttributes) VpcAccess

type DataTemplateContainers2Daa6B87Attributes

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

func (DataTemplateContainers2Daa6B87Attributes) InternalRef

func (DataTemplateContainers2Daa6B87Attributes) InternalTokens

func (DataTemplateContainers2Daa6B87Attributes) InternalWithRef

func (DataTemplateContainers2Daa6B87Attributes) Secret

func (DataTemplateContainers2Daa6B87Attributes) Version

type DataTemplateContainers2Daa6B87State

type DataTemplateContainers2Daa6B87State struct {
	Secret  string `json:"secret"`
	Version string `json:"version"`
}

type DataTemplateContainers32Db2D95Attributes

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

func (DataTemplateContainers32Db2D95Attributes) InternalRef

func (DataTemplateContainers32Db2D95Attributes) InternalTokens

func (DataTemplateContainers32Db2D95Attributes) InternalWithRef

func (DataTemplateContainers32Db2D95Attributes) Name

func (DataTemplateContainers32Db2D95Attributes) Value

type DataTemplateContainers32Db2D95State

type DataTemplateContainers32Db2D95State struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type DataTemplateContainers9Abba116Attributes

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

func (DataTemplateContainers9Abba116Attributes) InternalRef

func (DataTemplateContainers9Abba116Attributes) InternalTokens

func (DataTemplateContainers9Abba116Attributes) InternalWithRef

func (DataTemplateContainers9Abba116Attributes) Name

func (DataTemplateContainers9Abba116Attributes) Value

type DataTemplateContainers9Abba116State

type DataTemplateContainers9Abba116State struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type DataTemplateContainersAttributes

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

func (DataTemplateContainersAttributes) Args

func (DataTemplateContainersAttributes) Command

func (DataTemplateContainersAttributes) DependsOn

func (DataTemplateContainersAttributes) Env

func (DataTemplateContainersAttributes) Image

func (DataTemplateContainersAttributes) InternalRef

func (DataTemplateContainersAttributes) InternalTokens

func (c DataTemplateContainersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTemplateContainersAttributes) InternalWithRef

func (DataTemplateContainersAttributes) LivenessProbe

func (DataTemplateContainersAttributes) Name

func (DataTemplateContainersAttributes) Ports

func (DataTemplateContainersAttributes) Resources

func (DataTemplateContainersAttributes) StartupProbe

func (DataTemplateContainersAttributes) VolumeMounts

func (DataTemplateContainersAttributes) WorkingDir

type DataTemplateContainersEnvAttributes

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

func (DataTemplateContainersEnvAttributes) InternalRef

func (DataTemplateContainersEnvAttributes) InternalTokens

func (DataTemplateContainersEnvAttributes) InternalWithRef

func (DataTemplateContainersEnvAttributes) Name

func (DataTemplateContainersEnvAttributes) Value

func (DataTemplateContainersEnvAttributes) ValueSource

type DataTemplateContainersEnvState

type DataTemplateContainersEnvState struct {
	Name        string                                      `json:"name"`
	Value       string                                      `json:"value"`
	ValueSource []DataTemplateContainersEnvValueSourceState `json:"value_source"`
}

type DataTemplateContainersEnvValueSourceAttributes

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

func (DataTemplateContainersEnvValueSourceAttributes) InternalRef

func (DataTemplateContainersEnvValueSourceAttributes) InternalTokens

func (DataTemplateContainersEnvValueSourceAttributes) InternalWithRef

func (DataTemplateContainersEnvValueSourceAttributes) SecretKeyRef

type DataTemplateContainersEnvValueSourceState

type DataTemplateContainersEnvValueSourceState struct {
	SecretKeyRef []DataTemplateContainers2Daa6B87State `json:"secret_key_ref"`
}

type DataTemplateContainersLivenessProbeAttributes

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

func (DataTemplateContainersLivenessProbeAttributes) FailureThreshold

func (DataTemplateContainersLivenessProbeAttributes) Grpc

func (DataTemplateContainersLivenessProbeAttributes) HttpGet

func (DataTemplateContainersLivenessProbeAttributes) InitialDelaySeconds

func (DataTemplateContainersLivenessProbeAttributes) InternalRef

func (DataTemplateContainersLivenessProbeAttributes) InternalTokens

func (DataTemplateContainersLivenessProbeAttributes) InternalWithRef

func (DataTemplateContainersLivenessProbeAttributes) PeriodSeconds

func (DataTemplateContainersLivenessProbeAttributes) TcpSocket

func (DataTemplateContainersLivenessProbeAttributes) TimeoutSeconds

type DataTemplateContainersLivenessProbeGrpcAttributes

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

func (DataTemplateContainersLivenessProbeGrpcAttributes) InternalRef

func (DataTemplateContainersLivenessProbeGrpcAttributes) InternalTokens

func (DataTemplateContainersLivenessProbeGrpcAttributes) InternalWithRef

func (DataTemplateContainersLivenessProbeGrpcAttributes) Port

func (DataTemplateContainersLivenessProbeGrpcAttributes) Service

type DataTemplateContainersLivenessProbeGrpcState

type DataTemplateContainersLivenessProbeGrpcState struct {
	Port    float64 `json:"port"`
	Service string  `json:"service"`
}

type DataTemplateContainersLivenessProbeHttpGetAttributes

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

func (DataTemplateContainersLivenessProbeHttpGetAttributes) HttpHeaders

func (DataTemplateContainersLivenessProbeHttpGetAttributes) InternalRef

func (DataTemplateContainersLivenessProbeHttpGetAttributes) InternalTokens

func (DataTemplateContainersLivenessProbeHttpGetAttributes) InternalWithRef

func (DataTemplateContainersLivenessProbeHttpGetAttributes) Path

func (DataTemplateContainersLivenessProbeHttpGetAttributes) Port

type DataTemplateContainersLivenessProbeHttpGetState

type DataTemplateContainersLivenessProbeHttpGetState struct {
	Path        string                                `json:"path"`
	Port        float64                               `json:"port"`
	HttpHeaders []DataTemplateContainers32Db2D95State `json:"http_headers"`
}

type DataTemplateContainersLivenessProbeState

type DataTemplateContainersLivenessProbeState struct {
	FailureThreshold    float64                                             `json:"failure_threshold"`
	InitialDelaySeconds float64                                             `json:"initial_delay_seconds"`
	PeriodSeconds       float64                                             `json:"period_seconds"`
	TimeoutSeconds      float64                                             `json:"timeout_seconds"`
	Grpc                []DataTemplateContainersLivenessProbeGrpcState      `json:"grpc"`
	HttpGet             []DataTemplateContainersLivenessProbeHttpGetState   `json:"http_get"`
	TcpSocket           []DataTemplateContainersLivenessProbeTcpSocketState `json:"tcp_socket"`
}

type DataTemplateContainersLivenessProbeTcpSocketAttributes

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

func (DataTemplateContainersLivenessProbeTcpSocketAttributes) InternalRef

func (DataTemplateContainersLivenessProbeTcpSocketAttributes) InternalTokens

func (DataTemplateContainersLivenessProbeTcpSocketAttributes) InternalWithRef

func (DataTemplateContainersLivenessProbeTcpSocketAttributes) Port

type DataTemplateContainersLivenessProbeTcpSocketState

type DataTemplateContainersLivenessProbeTcpSocketState struct {
	Port float64 `json:"port"`
}

type DataTemplateContainersPortsAttributes

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

func (DataTemplateContainersPortsAttributes) ContainerPort

func (DataTemplateContainersPortsAttributes) InternalRef

func (DataTemplateContainersPortsAttributes) InternalTokens

func (DataTemplateContainersPortsAttributes) InternalWithRef

func (DataTemplateContainersPortsAttributes) Name

type DataTemplateContainersPortsState

type DataTemplateContainersPortsState struct {
	ContainerPort float64 `json:"container_port"`
	Name          string  `json:"name"`
}

type DataTemplateContainersResourcesAttributes

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

func (DataTemplateContainersResourcesAttributes) CpuIdle

func (DataTemplateContainersResourcesAttributes) InternalRef

func (DataTemplateContainersResourcesAttributes) InternalTokens

func (DataTemplateContainersResourcesAttributes) InternalWithRef

func (DataTemplateContainersResourcesAttributes) Limits

func (DataTemplateContainersResourcesAttributes) StartupCpuBoost

type DataTemplateContainersResourcesState

type DataTemplateContainersResourcesState struct {
	CpuIdle         bool              `json:"cpu_idle"`
	Limits          map[string]string `json:"limits"`
	StartupCpuBoost bool              `json:"startup_cpu_boost"`
}

type DataTemplateContainersStartupProbeAttributes

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

func (DataTemplateContainersStartupProbeAttributes) FailureThreshold

func (DataTemplateContainersStartupProbeAttributes) Grpc

func (DataTemplateContainersStartupProbeAttributes) HttpGet

func (DataTemplateContainersStartupProbeAttributes) InitialDelaySeconds

func (DataTemplateContainersStartupProbeAttributes) InternalRef

func (DataTemplateContainersStartupProbeAttributes) InternalTokens

func (DataTemplateContainersStartupProbeAttributes) InternalWithRef

func (DataTemplateContainersStartupProbeAttributes) PeriodSeconds

func (DataTemplateContainersStartupProbeAttributes) TcpSocket

func (DataTemplateContainersStartupProbeAttributes) TimeoutSeconds

type DataTemplateContainersStartupProbeGrpcAttributes

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

func (DataTemplateContainersStartupProbeGrpcAttributes) InternalRef

func (DataTemplateContainersStartupProbeGrpcAttributes) InternalTokens

func (DataTemplateContainersStartupProbeGrpcAttributes) InternalWithRef

func (DataTemplateContainersStartupProbeGrpcAttributes) Port

func (DataTemplateContainersStartupProbeGrpcAttributes) Service

type DataTemplateContainersStartupProbeGrpcState

type DataTemplateContainersStartupProbeGrpcState struct {
	Port    float64 `json:"port"`
	Service string  `json:"service"`
}

type DataTemplateContainersStartupProbeHttpGetAttributes

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

func (DataTemplateContainersStartupProbeHttpGetAttributes) HttpHeaders

func (DataTemplateContainersStartupProbeHttpGetAttributes) InternalRef

func (DataTemplateContainersStartupProbeHttpGetAttributes) InternalTokens

func (DataTemplateContainersStartupProbeHttpGetAttributes) InternalWithRef

func (DataTemplateContainersStartupProbeHttpGetAttributes) Path

func (DataTemplateContainersStartupProbeHttpGetAttributes) Port

type DataTemplateContainersStartupProbeHttpGetState

type DataTemplateContainersStartupProbeHttpGetState struct {
	Path        string                                `json:"path"`
	Port        float64                               `json:"port"`
	HttpHeaders []DataTemplateContainers9Abba116State `json:"http_headers"`
}

type DataTemplateContainersStartupProbeState

type DataTemplateContainersStartupProbeState struct {
	FailureThreshold    float64                                            `json:"failure_threshold"`
	InitialDelaySeconds float64                                            `json:"initial_delay_seconds"`
	PeriodSeconds       float64                                            `json:"period_seconds"`
	TimeoutSeconds      float64                                            `json:"timeout_seconds"`
	Grpc                []DataTemplateContainersStartupProbeGrpcState      `json:"grpc"`
	HttpGet             []DataTemplateContainersStartupProbeHttpGetState   `json:"http_get"`
	TcpSocket           []DataTemplateContainersStartupProbeTcpSocketState `json:"tcp_socket"`
}

type DataTemplateContainersStartupProbeTcpSocketAttributes

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

func (DataTemplateContainersStartupProbeTcpSocketAttributes) InternalRef

func (DataTemplateContainersStartupProbeTcpSocketAttributes) InternalTokens

func (DataTemplateContainersStartupProbeTcpSocketAttributes) InternalWithRef

func (DataTemplateContainersStartupProbeTcpSocketAttributes) Port

type DataTemplateContainersStartupProbeTcpSocketState

type DataTemplateContainersStartupProbeTcpSocketState struct {
	Port float64 `json:"port"`
}

type DataTemplateContainersState

type DataTemplateContainersState struct {
	Args          []string                                   `json:"args"`
	Command       []string                                   `json:"command"`
	DependsOn     []string                                   `json:"depends_on"`
	Image         string                                     `json:"image"`
	Name          string                                     `json:"name"`
	WorkingDir    string                                     `json:"working_dir"`
	Env           []DataTemplateContainersEnvState           `json:"env"`
	LivenessProbe []DataTemplateContainersLivenessProbeState `json:"liveness_probe"`
	Ports         []DataTemplateContainersPortsState         `json:"ports"`
	Resources     []DataTemplateContainersResourcesState     `json:"resources"`
	StartupProbe  []DataTemplateContainersStartupProbeState  `json:"startup_probe"`
	VolumeMounts  []DataTemplateContainersVolumeMountsState  `json:"volume_mounts"`
}

type DataTemplateContainersVolumeMountsAttributes

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

func (DataTemplateContainersVolumeMountsAttributes) InternalRef

func (DataTemplateContainersVolumeMountsAttributes) InternalTokens

func (DataTemplateContainersVolumeMountsAttributes) InternalWithRef

func (DataTemplateContainersVolumeMountsAttributes) MountPath

func (DataTemplateContainersVolumeMountsAttributes) Name

type DataTemplateContainersVolumeMountsState

type DataTemplateContainersVolumeMountsState struct {
	MountPath string `json:"mount_path"`
	Name      string `json:"name"`
}

type DataTemplateScalingAttributes

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

func (DataTemplateScalingAttributes) InternalRef

func (DataTemplateScalingAttributes) InternalTokens

func (s DataTemplateScalingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTemplateScalingAttributes) InternalWithRef

func (DataTemplateScalingAttributes) MaxInstanceCount

func (s DataTemplateScalingAttributes) MaxInstanceCount() terra.NumberValue

func (DataTemplateScalingAttributes) MinInstanceCount

func (s DataTemplateScalingAttributes) MinInstanceCount() terra.NumberValue

type DataTemplateScalingState

type DataTemplateScalingState struct {
	MaxInstanceCount float64 `json:"max_instance_count"`
	MinInstanceCount float64 `json:"min_instance_count"`
}

type DataTemplateState

type DataTemplateState struct {
	Annotations                   map[string]string             `json:"annotations"`
	EncryptionKey                 string                        `json:"encryption_key"`
	ExecutionEnvironment          string                        `json:"execution_environment"`
	Labels                        map[string]string             `json:"labels"`
	MaxInstanceRequestConcurrency float64                       `json:"max_instance_request_concurrency"`
	Revision                      string                        `json:"revision"`
	ServiceAccount                string                        `json:"service_account"`
	SessionAffinity               bool                          `json:"session_affinity"`
	Timeout                       string                        `json:"timeout"`
	Containers                    []DataTemplateContainersState `json:"containers"`
	Scaling                       []DataTemplateScalingState    `json:"scaling"`
	Volumes                       []DataTemplateVolumesState    `json:"volumes"`
	VpcAccess                     []DataTemplateVpcAccessState  `json:"vpc_access"`
}

type DataTemplateVolumesAttributes

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

func (DataTemplateVolumesAttributes) CloudSqlInstance

func (DataTemplateVolumesAttributes) EmptyDir

func (DataTemplateVolumesAttributes) Gcs

func (DataTemplateVolumesAttributes) InternalRef

func (DataTemplateVolumesAttributes) InternalTokens

func (v DataTemplateVolumesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTemplateVolumesAttributes) InternalWithRef

func (DataTemplateVolumesAttributes) Name

func (DataTemplateVolumesAttributes) Nfs

func (DataTemplateVolumesAttributes) Secret

type DataTemplateVolumesCloudSqlInstanceAttributes

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

func (DataTemplateVolumesCloudSqlInstanceAttributes) Instances

func (DataTemplateVolumesCloudSqlInstanceAttributes) InternalRef

func (DataTemplateVolumesCloudSqlInstanceAttributes) InternalTokens

func (DataTemplateVolumesCloudSqlInstanceAttributes) InternalWithRef

type DataTemplateVolumesCloudSqlInstanceState

type DataTemplateVolumesCloudSqlInstanceState struct {
	Instances []string `json:"instances"`
}

type DataTemplateVolumesEmptyDirAttributes

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

func (DataTemplateVolumesEmptyDirAttributes) InternalRef

func (DataTemplateVolumesEmptyDirAttributes) InternalTokens

func (DataTemplateVolumesEmptyDirAttributes) InternalWithRef

func (DataTemplateVolumesEmptyDirAttributes) Medium

func (DataTemplateVolumesEmptyDirAttributes) SizeLimit

type DataTemplateVolumesEmptyDirState

type DataTemplateVolumesEmptyDirState struct {
	Medium    string `json:"medium"`
	SizeLimit string `json:"size_limit"`
}

type DataTemplateVolumesGcsAttributes

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

func (DataTemplateVolumesGcsAttributes) Bucket

func (DataTemplateVolumesGcsAttributes) InternalRef

func (DataTemplateVolumesGcsAttributes) InternalTokens

func (g DataTemplateVolumesGcsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTemplateVolumesGcsAttributes) InternalWithRef

func (DataTemplateVolumesGcsAttributes) ReadOnly

type DataTemplateVolumesGcsState

type DataTemplateVolumesGcsState struct {
	Bucket   string `json:"bucket"`
	ReadOnly bool   `json:"read_only"`
}

type DataTemplateVolumesNfsAttributes

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

func (DataTemplateVolumesNfsAttributes) InternalRef

func (DataTemplateVolumesNfsAttributes) InternalTokens

func (n DataTemplateVolumesNfsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTemplateVolumesNfsAttributes) InternalWithRef

func (DataTemplateVolumesNfsAttributes) Path

func (DataTemplateVolumesNfsAttributes) ReadOnly

func (DataTemplateVolumesNfsAttributes) Server

type DataTemplateVolumesNfsState

type DataTemplateVolumesNfsState struct {
	Path     string `json:"path"`
	ReadOnly bool   `json:"read_only"`
	Server   string `json:"server"`
}

type DataTemplateVolumesSecretAttributes

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

func (DataTemplateVolumesSecretAttributes) DefaultMode

func (DataTemplateVolumesSecretAttributes) InternalRef

func (DataTemplateVolumesSecretAttributes) InternalTokens

func (DataTemplateVolumesSecretAttributes) InternalWithRef

func (DataTemplateVolumesSecretAttributes) Items

func (DataTemplateVolumesSecretAttributes) Secret

type DataTemplateVolumesSecretItemsAttributes

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

func (DataTemplateVolumesSecretItemsAttributes) InternalRef

func (DataTemplateVolumesSecretItemsAttributes) InternalTokens

func (DataTemplateVolumesSecretItemsAttributes) InternalWithRef

func (DataTemplateVolumesSecretItemsAttributes) Mode

func (DataTemplateVolumesSecretItemsAttributes) Path

func (DataTemplateVolumesSecretItemsAttributes) Version

type DataTemplateVolumesSecretItemsState

type DataTemplateVolumesSecretItemsState struct {
	Mode    float64 `json:"mode"`
	Path    string  `json:"path"`
	Version string  `json:"version"`
}

type DataTemplateVolumesSecretState

type DataTemplateVolumesSecretState struct {
	DefaultMode float64                               `json:"default_mode"`
	Secret      string                                `json:"secret"`
	Items       []DataTemplateVolumesSecretItemsState `json:"items"`
}

type DataTemplateVolumesState

type DataTemplateVolumesState struct {
	Name             string                                     `json:"name"`
	CloudSqlInstance []DataTemplateVolumesCloudSqlInstanceState `json:"cloud_sql_instance"`
	EmptyDir         []DataTemplateVolumesEmptyDirState         `json:"empty_dir"`
	Gcs              []DataTemplateVolumesGcsState              `json:"gcs"`
	Nfs              []DataTemplateVolumesNfsState              `json:"nfs"`
	Secret           []DataTemplateVolumesSecretState           `json:"secret"`
}

type DataTemplateVpcAccessAttributes

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

func (DataTemplateVpcAccessAttributes) Connector

func (DataTemplateVpcAccessAttributes) Egress

func (DataTemplateVpcAccessAttributes) InternalRef

func (DataTemplateVpcAccessAttributes) InternalTokens

func (va DataTemplateVpcAccessAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTemplateVpcAccessAttributes) InternalWithRef

func (DataTemplateVpcAccessAttributes) NetworkInterfaces

type DataTemplateVpcAccessNetworkInterfacesAttributes

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

func (DataTemplateVpcAccessNetworkInterfacesAttributes) InternalRef

func (DataTemplateVpcAccessNetworkInterfacesAttributes) InternalTokens

func (DataTemplateVpcAccessNetworkInterfacesAttributes) InternalWithRef

func (DataTemplateVpcAccessNetworkInterfacesAttributes) Network

func (DataTemplateVpcAccessNetworkInterfacesAttributes) Subnetwork

func (DataTemplateVpcAccessNetworkInterfacesAttributes) Tags

type DataTemplateVpcAccessNetworkInterfacesState

type DataTemplateVpcAccessNetworkInterfacesState struct {
	Network    string   `json:"network"`
	Subnetwork string   `json:"subnetwork"`
	Tags       []string `json:"tags"`
}

type DataTemplateVpcAccessState

type DataTemplateVpcAccessState struct {
	Connector         string                                        `json:"connector"`
	Egress            string                                        `json:"egress"`
	NetworkInterfaces []DataTemplateVpcAccessNetworkInterfacesState `json:"network_interfaces"`
}

type DataTerminalConditionAttributes

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

func (DataTerminalConditionAttributes) ExecutionReason

func (tc DataTerminalConditionAttributes) ExecutionReason() terra.StringValue

func (DataTerminalConditionAttributes) InternalRef

func (DataTerminalConditionAttributes) InternalTokens

func (tc DataTerminalConditionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTerminalConditionAttributes) InternalWithRef

func (DataTerminalConditionAttributes) LastTransitionTime

func (tc DataTerminalConditionAttributes) LastTransitionTime() terra.StringValue

func (DataTerminalConditionAttributes) Message

func (DataTerminalConditionAttributes) Reason

func (DataTerminalConditionAttributes) RevisionReason

func (DataTerminalConditionAttributes) Severity

func (DataTerminalConditionAttributes) State

func (DataTerminalConditionAttributes) Type

type DataTerminalConditionState

type DataTerminalConditionState struct {
	ExecutionReason    string `json:"execution_reason"`
	LastTransitionTime string `json:"last_transition_time"`
	Message            string `json:"message"`
	Reason             string `json:"reason"`
	RevisionReason     string `json:"revision_reason"`
	Severity           string `json:"severity"`
	State              string `json:"state"`
	Type               string `json:"type"`
}

type DataTrafficAttributes

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

func (DataTrafficAttributes) InternalRef

func (t DataTrafficAttributes) InternalRef() (terra.Reference, error)

func (DataTrafficAttributes) InternalTokens

func (t DataTrafficAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTrafficAttributes) InternalWithRef

func (DataTrafficAttributes) Percent

func (DataTrafficAttributes) Revision

func (DataTrafficAttributes) Tag

func (DataTrafficAttributes) Type

type DataTrafficState

type DataTrafficState struct {
	Percent  float64 `json:"percent"`
	Revision string  `json:"revision"`
	Tag      string  `json:"tag"`
	Type     string  `json:"type"`
}

type DataTrafficStatusesAttributes

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

func (DataTrafficStatusesAttributes) InternalRef

func (ts DataTrafficStatusesAttributes) InternalRef() (terra.Reference, error)

func (DataTrafficStatusesAttributes) InternalTokens

func (ts DataTrafficStatusesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTrafficStatusesAttributes) InternalWithRef

func (DataTrafficStatusesAttributes) Percent

func (DataTrafficStatusesAttributes) Revision

func (DataTrafficStatusesAttributes) Tag

func (DataTrafficStatusesAttributes) Type

func (DataTrafficStatusesAttributes) Uri

type DataTrafficStatusesState

type DataTrafficStatusesState struct {
	Percent  float64 `json:"percent"`
	Revision string  `json:"revision"`
	Tag      string  `json:"tag"`
	Type     string  `json:"type"`
	Uri      string  `json:"uri"`
}

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_v2_service.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gcrvs *Resource) Attributes() googleCloudRunV2ServiceAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gcrvs *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gcrvs *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gcrvs *Resource) State() (*googleCloudRunV2ServiceState, bool)

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

func (*Resource) StateMust

func (gcrvs *Resource) StateMust() *googleCloudRunV2ServiceState

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

func (*Resource) Type

func (gcrvs *Resource) Type() string

Type returns the Terraform object type for Resource.

type Scaling

type Scaling struct {
	// MinInstanceCount: number, optional
	MinInstanceCount terra.NumberValue `hcl:"min_instance_count,attr"`
}

type ScalingAttributes

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

func (ScalingAttributes) InternalRef

func (s ScalingAttributes) InternalRef() (terra.Reference, error)

func (ScalingAttributes) InternalTokens

func (s ScalingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScalingAttributes) InternalWithRef

func (s ScalingAttributes) InternalWithRef(ref terra.Reference) ScalingAttributes

func (ScalingAttributes) MinInstanceCount

func (s ScalingAttributes) MinInstanceCount() terra.NumberValue

type ScalingState

type ScalingState struct {
	MinInstanceCount float64 `json:"min_instance_count"`
}

type Template

type Template struct {
	// Annotations: map of string, optional
	Annotations terra.MapValue[terra.StringValue] `hcl:"annotations,attr"`
	// EncryptionKey: string, optional
	EncryptionKey terra.StringValue `hcl:"encryption_key,attr"`
	// ExecutionEnvironment: string, optional
	ExecutionEnvironment terra.StringValue `hcl:"execution_environment,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// MaxInstanceRequestConcurrency: number, optional
	MaxInstanceRequestConcurrency terra.NumberValue `hcl:"max_instance_request_concurrency,attr"`
	// Revision: string, optional
	Revision terra.StringValue `hcl:"revision,attr"`
	// ServiceAccount: string, optional
	ServiceAccount terra.StringValue `hcl:"service_account,attr"`
	// SessionAffinity: bool, optional
	SessionAffinity terra.BoolValue `hcl:"session_affinity,attr"`
	// Timeout: string, optional
	Timeout terra.StringValue `hcl:"timeout,attr"`
	// TemplateContainers: min=0
	Containers []TemplateContainers `hcl:"containers,block" validate:"min=0"`
	// TemplateScaling: optional
	Scaling *TemplateScaling `hcl:"scaling,block"`
	// TemplateVolumes: min=0
	Volumes []TemplateVolumes `hcl:"volumes,block" validate:"min=0"`
	// TemplateVpcAccess: optional
	VpcAccess *TemplateVpcAccess `hcl:"vpc_access,block"`
}

type TemplateAttributes

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

func (TemplateAttributes) Annotations

func (TemplateAttributes) Containers

func (TemplateAttributes) EncryptionKey

func (t TemplateAttributes) EncryptionKey() terra.StringValue

func (TemplateAttributes) ExecutionEnvironment

func (t TemplateAttributes) ExecutionEnvironment() terra.StringValue

func (TemplateAttributes) InternalRef

func (t TemplateAttributes) InternalRef() (terra.Reference, error)

func (TemplateAttributes) InternalTokens

func (t TemplateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateAttributes) InternalWithRef

func (t TemplateAttributes) InternalWithRef(ref terra.Reference) TemplateAttributes

func (TemplateAttributes) Labels

func (TemplateAttributes) MaxInstanceRequestConcurrency

func (t TemplateAttributes) MaxInstanceRequestConcurrency() terra.NumberValue

func (TemplateAttributes) Revision

func (t TemplateAttributes) Revision() terra.StringValue

func (TemplateAttributes) Scaling

func (TemplateAttributes) ServiceAccount

func (t TemplateAttributes) ServiceAccount() terra.StringValue

func (TemplateAttributes) SessionAffinity

func (t TemplateAttributes) SessionAffinity() terra.BoolValue

func (TemplateAttributes) Timeout

func (t TemplateAttributes) Timeout() terra.StringValue

func (TemplateAttributes) Volumes

func (TemplateAttributes) VpcAccess

type TemplateContainers

type TemplateContainers struct {
	// Args: list of string, optional
	Args terra.ListValue[terra.StringValue] `hcl:"args,attr"`
	// Command: list of string, optional
	Command terra.ListValue[terra.StringValue] `hcl:"command,attr"`
	// DependsOn: list of string, optional
	DependsOn terra.ListValue[terra.StringValue] `hcl:"depends_on,attr"`
	// Image: string, required
	Image terra.StringValue `hcl:"image,attr" validate:"required"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// WorkingDir: string, optional
	WorkingDir terra.StringValue `hcl:"working_dir,attr"`
	// TemplateContainersEnv: min=0
	Env []TemplateContainersEnv `hcl:"env,block" validate:"min=0"`
	// TemplateContainersLivenessProbe: optional
	LivenessProbe *TemplateContainersLivenessProbe `hcl:"liveness_probe,block"`
	// TemplateContainersPorts: optional
	Ports *TemplateContainersPorts `hcl:"ports,block"`
	// TemplateContainersResources: optional
	Resources *TemplateContainersResources `hcl:"resources,block"`
	// TemplateContainersStartupProbe: optional
	StartupProbe *TemplateContainersStartupProbe `hcl:"startup_probe,block"`
	// TemplateContainersVolumeMounts: min=0
	VolumeMounts []TemplateContainersVolumeMounts `hcl:"volume_mounts,block" validate:"min=0"`
}

type TemplateContainers2Daa6B87

type TemplateContainers2Daa6B87 struct {
	// Secret: string, required
	Secret terra.StringValue `hcl:"secret,attr" validate:"required"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type TemplateContainers2Daa6B87Attributes

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

func (TemplateContainers2Daa6B87Attributes) InternalRef

func (TemplateContainers2Daa6B87Attributes) InternalTokens

func (TemplateContainers2Daa6B87Attributes) InternalWithRef

func (TemplateContainers2Daa6B87Attributes) Secret

func (TemplateContainers2Daa6B87Attributes) Version

type TemplateContainers2Daa6B87State

type TemplateContainers2Daa6B87State struct {
	Secret  string `json:"secret"`
	Version string `json:"version"`
}

type TemplateContainers32Db2D95

type TemplateContainers32Db2D95 struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type TemplateContainers32Db2D95Attributes

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

func (TemplateContainers32Db2D95Attributes) InternalRef

func (TemplateContainers32Db2D95Attributes) InternalTokens

func (TemplateContainers32Db2D95Attributes) InternalWithRef

func (TemplateContainers32Db2D95Attributes) Name

func (TemplateContainers32Db2D95Attributes) Value

type TemplateContainers32Db2D95State

type TemplateContainers32Db2D95State struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type TemplateContainers9Abba116

type TemplateContainers9Abba116 struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type TemplateContainers9Abba116Attributes

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

func (TemplateContainers9Abba116Attributes) InternalRef

func (TemplateContainers9Abba116Attributes) InternalTokens

func (TemplateContainers9Abba116Attributes) InternalWithRef

func (TemplateContainers9Abba116Attributes) Name

func (TemplateContainers9Abba116Attributes) Value

type TemplateContainers9Abba116State

type TemplateContainers9Abba116State struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type TemplateContainersAttributes

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

func (TemplateContainersAttributes) Args

func (TemplateContainersAttributes) Command

func (TemplateContainersAttributes) DependsOn

func (TemplateContainersAttributes) Env

func (TemplateContainersAttributes) Image

func (TemplateContainersAttributes) InternalRef

func (TemplateContainersAttributes) InternalTokens

func (c TemplateContainersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateContainersAttributes) InternalWithRef

func (TemplateContainersAttributes) LivenessProbe

func (TemplateContainersAttributes) Name

func (TemplateContainersAttributes) Ports

func (TemplateContainersAttributes) Resources

func (TemplateContainersAttributes) StartupProbe

func (TemplateContainersAttributes) VolumeMounts

func (TemplateContainersAttributes) WorkingDir

type TemplateContainersEnv

type TemplateContainersEnv struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
	// TemplateContainersEnvValueSource: optional
	ValueSource *TemplateContainersEnvValueSource `hcl:"value_source,block"`
}

type TemplateContainersEnvAttributes

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

func (TemplateContainersEnvAttributes) InternalRef

func (TemplateContainersEnvAttributes) InternalTokens

func (e TemplateContainersEnvAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateContainersEnvAttributes) InternalWithRef

func (TemplateContainersEnvAttributes) Name

func (TemplateContainersEnvAttributes) Value

func (TemplateContainersEnvAttributes) ValueSource

type TemplateContainersEnvState

type TemplateContainersEnvState struct {
	Name        string                                  `json:"name"`
	Value       string                                  `json:"value"`
	ValueSource []TemplateContainersEnvValueSourceState `json:"value_source"`
}

type TemplateContainersEnvValueSource

type TemplateContainersEnvValueSource struct {
	// TemplateContainers2Daa6B87: optional
	SecretKeyRef *TemplateContainers2Daa6B87 `hcl:"secret_key_ref,block"`
}

type TemplateContainersEnvValueSourceAttributes

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

func (TemplateContainersEnvValueSourceAttributes) InternalRef

func (TemplateContainersEnvValueSourceAttributes) InternalTokens

func (TemplateContainersEnvValueSourceAttributes) InternalWithRef

func (TemplateContainersEnvValueSourceAttributes) SecretKeyRef

type TemplateContainersEnvValueSourceState

type TemplateContainersEnvValueSourceState struct {
	SecretKeyRef []TemplateContainers2Daa6B87State `json:"secret_key_ref"`
}

type TemplateContainersLivenessProbe

type TemplateContainersLivenessProbe struct {
	// FailureThreshold: number, optional
	FailureThreshold terra.NumberValue `hcl:"failure_threshold,attr"`
	// InitialDelaySeconds: number, optional
	InitialDelaySeconds terra.NumberValue `hcl:"initial_delay_seconds,attr"`
	// PeriodSeconds: number, optional
	PeriodSeconds terra.NumberValue `hcl:"period_seconds,attr"`
	// TimeoutSeconds: number, optional
	TimeoutSeconds terra.NumberValue `hcl:"timeout_seconds,attr"`
	// TemplateContainersLivenessProbeGrpc: optional
	Grpc *TemplateContainersLivenessProbeGrpc `hcl:"grpc,block"`
	// TemplateContainersLivenessProbeHttpGet: optional
	HttpGet *TemplateContainersLivenessProbeHttpGet `hcl:"http_get,block"`
	// TemplateContainersLivenessProbeTcpSocket: optional
	TcpSocket *TemplateContainersLivenessProbeTcpSocket `hcl:"tcp_socket,block"`
}

type TemplateContainersLivenessProbeAttributes

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

func (TemplateContainersLivenessProbeAttributes) FailureThreshold

func (TemplateContainersLivenessProbeAttributes) Grpc

func (TemplateContainersLivenessProbeAttributes) HttpGet

func (TemplateContainersLivenessProbeAttributes) InitialDelaySeconds

func (TemplateContainersLivenessProbeAttributes) InternalRef

func (TemplateContainersLivenessProbeAttributes) InternalTokens

func (TemplateContainersLivenessProbeAttributes) InternalWithRef

func (TemplateContainersLivenessProbeAttributes) PeriodSeconds

func (TemplateContainersLivenessProbeAttributes) TcpSocket

func (TemplateContainersLivenessProbeAttributes) TimeoutSeconds

type TemplateContainersLivenessProbeGrpc

type TemplateContainersLivenessProbeGrpc struct {
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Service: string, optional
	Service terra.StringValue `hcl:"service,attr"`
}

type TemplateContainersLivenessProbeGrpcAttributes

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

func (TemplateContainersLivenessProbeGrpcAttributes) InternalRef

func (TemplateContainersLivenessProbeGrpcAttributes) InternalTokens

func (TemplateContainersLivenessProbeGrpcAttributes) InternalWithRef

func (TemplateContainersLivenessProbeGrpcAttributes) Port

func (TemplateContainersLivenessProbeGrpcAttributes) Service

type TemplateContainersLivenessProbeGrpcState

type TemplateContainersLivenessProbeGrpcState struct {
	Port    float64 `json:"port"`
	Service string  `json:"service"`
}

type TemplateContainersLivenessProbeHttpGet

type TemplateContainersLivenessProbeHttpGet struct {
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// TemplateContainers32Db2D95: min=0
	HttpHeaders []TemplateContainers32Db2D95 `hcl:"http_headers,block" validate:"min=0"`
}

type TemplateContainersLivenessProbeHttpGetAttributes

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

func (TemplateContainersLivenessProbeHttpGetAttributes) HttpHeaders

func (TemplateContainersLivenessProbeHttpGetAttributes) InternalRef

func (TemplateContainersLivenessProbeHttpGetAttributes) InternalTokens

func (TemplateContainersLivenessProbeHttpGetAttributes) InternalWithRef

func (TemplateContainersLivenessProbeHttpGetAttributes) Path

func (TemplateContainersLivenessProbeHttpGetAttributes) Port

type TemplateContainersLivenessProbeHttpGetState

type TemplateContainersLivenessProbeHttpGetState struct {
	Path        string                            `json:"path"`
	Port        float64                           `json:"port"`
	HttpHeaders []TemplateContainers32Db2D95State `json:"http_headers"`
}

type TemplateContainersLivenessProbeState

type TemplateContainersLivenessProbeState struct {
	FailureThreshold    float64                                         `json:"failure_threshold"`
	InitialDelaySeconds float64                                         `json:"initial_delay_seconds"`
	PeriodSeconds       float64                                         `json:"period_seconds"`
	TimeoutSeconds      float64                                         `json:"timeout_seconds"`
	Grpc                []TemplateContainersLivenessProbeGrpcState      `json:"grpc"`
	HttpGet             []TemplateContainersLivenessProbeHttpGetState   `json:"http_get"`
	TcpSocket           []TemplateContainersLivenessProbeTcpSocketState `json:"tcp_socket"`
}

type TemplateContainersLivenessProbeTcpSocket

type TemplateContainersLivenessProbeTcpSocket struct {
	// Port: number, required
	Port terra.NumberValue `hcl:"port,attr" validate:"required"`
}

type TemplateContainersLivenessProbeTcpSocketAttributes

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

func (TemplateContainersLivenessProbeTcpSocketAttributes) InternalRef

func (TemplateContainersLivenessProbeTcpSocketAttributes) InternalTokens

func (TemplateContainersLivenessProbeTcpSocketAttributes) InternalWithRef

func (TemplateContainersLivenessProbeTcpSocketAttributes) Port

type TemplateContainersLivenessProbeTcpSocketState

type TemplateContainersLivenessProbeTcpSocketState struct {
	Port float64 `json:"port"`
}

type TemplateContainersPorts

type TemplateContainersPorts struct {
	// ContainerPort: number, optional
	ContainerPort terra.NumberValue `hcl:"container_port,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
}

type TemplateContainersPortsAttributes

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

func (TemplateContainersPortsAttributes) ContainerPort

func (TemplateContainersPortsAttributes) InternalRef

func (TemplateContainersPortsAttributes) InternalTokens

func (TemplateContainersPortsAttributes) InternalWithRef

func (TemplateContainersPortsAttributes) Name

type TemplateContainersPortsState

type TemplateContainersPortsState struct {
	ContainerPort float64 `json:"container_port"`
	Name          string  `json:"name"`
}

type TemplateContainersResources

type TemplateContainersResources struct {
	// CpuIdle: bool, optional
	CpuIdle terra.BoolValue `hcl:"cpu_idle,attr"`
	// Limits: map of string, optional
	Limits terra.MapValue[terra.StringValue] `hcl:"limits,attr"`
	// StartupCpuBoost: bool, optional
	StartupCpuBoost terra.BoolValue `hcl:"startup_cpu_boost,attr"`
}

type TemplateContainersResourcesAttributes

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

func (TemplateContainersResourcesAttributes) CpuIdle

func (TemplateContainersResourcesAttributes) InternalRef

func (TemplateContainersResourcesAttributes) InternalTokens

func (TemplateContainersResourcesAttributes) InternalWithRef

func (TemplateContainersResourcesAttributes) Limits

func (TemplateContainersResourcesAttributes) StartupCpuBoost

type TemplateContainersResourcesState

type TemplateContainersResourcesState struct {
	CpuIdle         bool              `json:"cpu_idle"`
	Limits          map[string]string `json:"limits"`
	StartupCpuBoost bool              `json:"startup_cpu_boost"`
}

type TemplateContainersStartupProbe

type TemplateContainersStartupProbe struct {
	// FailureThreshold: number, optional
	FailureThreshold terra.NumberValue `hcl:"failure_threshold,attr"`
	// InitialDelaySeconds: number, optional
	InitialDelaySeconds terra.NumberValue `hcl:"initial_delay_seconds,attr"`
	// PeriodSeconds: number, optional
	PeriodSeconds terra.NumberValue `hcl:"period_seconds,attr"`
	// TimeoutSeconds: number, optional
	TimeoutSeconds terra.NumberValue `hcl:"timeout_seconds,attr"`
	// TemplateContainersStartupProbeGrpc: optional
	Grpc *TemplateContainersStartupProbeGrpc `hcl:"grpc,block"`
	// TemplateContainersStartupProbeHttpGet: optional
	HttpGet *TemplateContainersStartupProbeHttpGet `hcl:"http_get,block"`
	// TemplateContainersStartupProbeTcpSocket: optional
	TcpSocket *TemplateContainersStartupProbeTcpSocket `hcl:"tcp_socket,block"`
}

type TemplateContainersStartupProbeAttributes

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

func (TemplateContainersStartupProbeAttributes) FailureThreshold

func (TemplateContainersStartupProbeAttributes) Grpc

func (TemplateContainersStartupProbeAttributes) HttpGet

func (TemplateContainersStartupProbeAttributes) InitialDelaySeconds

func (TemplateContainersStartupProbeAttributes) InternalRef

func (TemplateContainersStartupProbeAttributes) InternalTokens

func (TemplateContainersStartupProbeAttributes) InternalWithRef

func (TemplateContainersStartupProbeAttributes) PeriodSeconds

func (TemplateContainersStartupProbeAttributes) TcpSocket

func (TemplateContainersStartupProbeAttributes) TimeoutSeconds

type TemplateContainersStartupProbeGrpc

type TemplateContainersStartupProbeGrpc struct {
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Service: string, optional
	Service terra.StringValue `hcl:"service,attr"`
}

type TemplateContainersStartupProbeGrpcAttributes

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

func (TemplateContainersStartupProbeGrpcAttributes) InternalRef

func (TemplateContainersStartupProbeGrpcAttributes) InternalTokens

func (TemplateContainersStartupProbeGrpcAttributes) InternalWithRef

func (TemplateContainersStartupProbeGrpcAttributes) Port

func (TemplateContainersStartupProbeGrpcAttributes) Service

type TemplateContainersStartupProbeGrpcState

type TemplateContainersStartupProbeGrpcState struct {
	Port    float64 `json:"port"`
	Service string  `json:"service"`
}

type TemplateContainersStartupProbeHttpGet

type TemplateContainersStartupProbeHttpGet struct {
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// TemplateContainers9Abba116: min=0
	HttpHeaders []TemplateContainers9Abba116 `hcl:"http_headers,block" validate:"min=0"`
}

type TemplateContainersStartupProbeHttpGetAttributes

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

func (TemplateContainersStartupProbeHttpGetAttributes) HttpHeaders

func (TemplateContainersStartupProbeHttpGetAttributes) InternalRef

func (TemplateContainersStartupProbeHttpGetAttributes) InternalTokens

func (TemplateContainersStartupProbeHttpGetAttributes) InternalWithRef

func (TemplateContainersStartupProbeHttpGetAttributes) Path

func (TemplateContainersStartupProbeHttpGetAttributes) Port

type TemplateContainersStartupProbeHttpGetState

type TemplateContainersStartupProbeHttpGetState struct {
	Path        string                            `json:"path"`
	Port        float64                           `json:"port"`
	HttpHeaders []TemplateContainers9Abba116State `json:"http_headers"`
}

type TemplateContainersStartupProbeState

type TemplateContainersStartupProbeState struct {
	FailureThreshold    float64                                        `json:"failure_threshold"`
	InitialDelaySeconds float64                                        `json:"initial_delay_seconds"`
	PeriodSeconds       float64                                        `json:"period_seconds"`
	TimeoutSeconds      float64                                        `json:"timeout_seconds"`
	Grpc                []TemplateContainersStartupProbeGrpcState      `json:"grpc"`
	HttpGet             []TemplateContainersStartupProbeHttpGetState   `json:"http_get"`
	TcpSocket           []TemplateContainersStartupProbeTcpSocketState `json:"tcp_socket"`
}

type TemplateContainersStartupProbeTcpSocket

type TemplateContainersStartupProbeTcpSocket struct {
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
}

type TemplateContainersStartupProbeTcpSocketAttributes

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

func (TemplateContainersStartupProbeTcpSocketAttributes) InternalRef

func (TemplateContainersStartupProbeTcpSocketAttributes) InternalTokens

func (TemplateContainersStartupProbeTcpSocketAttributes) InternalWithRef

func (TemplateContainersStartupProbeTcpSocketAttributes) Port

type TemplateContainersStartupProbeTcpSocketState

type TemplateContainersStartupProbeTcpSocketState struct {
	Port float64 `json:"port"`
}

type TemplateContainersState

type TemplateContainersState struct {
	Args          []string                               `json:"args"`
	Command       []string                               `json:"command"`
	DependsOn     []string                               `json:"depends_on"`
	Image         string                                 `json:"image"`
	Name          string                                 `json:"name"`
	WorkingDir    string                                 `json:"working_dir"`
	Env           []TemplateContainersEnvState           `json:"env"`
	LivenessProbe []TemplateContainersLivenessProbeState `json:"liveness_probe"`
	Ports         []TemplateContainersPortsState         `json:"ports"`
	Resources     []TemplateContainersResourcesState     `json:"resources"`
	StartupProbe  []TemplateContainersStartupProbeState  `json:"startup_probe"`
	VolumeMounts  []TemplateContainersVolumeMountsState  `json:"volume_mounts"`
}

type TemplateContainersVolumeMounts

type TemplateContainersVolumeMounts struct {
	// MountPath: string, required
	MountPath terra.StringValue `hcl:"mount_path,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

type TemplateContainersVolumeMountsAttributes

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

func (TemplateContainersVolumeMountsAttributes) InternalRef

func (TemplateContainersVolumeMountsAttributes) InternalTokens

func (TemplateContainersVolumeMountsAttributes) InternalWithRef

func (TemplateContainersVolumeMountsAttributes) MountPath

func (TemplateContainersVolumeMountsAttributes) Name

type TemplateContainersVolumeMountsState

type TemplateContainersVolumeMountsState struct {
	MountPath string `json:"mount_path"`
	Name      string `json:"name"`
}

type TemplateScaling

type TemplateScaling struct {
	// MaxInstanceCount: number, optional
	MaxInstanceCount terra.NumberValue `hcl:"max_instance_count,attr"`
	// MinInstanceCount: number, optional
	MinInstanceCount terra.NumberValue `hcl:"min_instance_count,attr"`
}

type TemplateScalingAttributes

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

func (TemplateScalingAttributes) InternalRef

func (s TemplateScalingAttributes) InternalRef() (terra.Reference, error)

func (TemplateScalingAttributes) InternalTokens

func (s TemplateScalingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateScalingAttributes) InternalWithRef

func (TemplateScalingAttributes) MaxInstanceCount

func (s TemplateScalingAttributes) MaxInstanceCount() terra.NumberValue

func (TemplateScalingAttributes) MinInstanceCount

func (s TemplateScalingAttributes) MinInstanceCount() terra.NumberValue

type TemplateScalingState

type TemplateScalingState struct {
	MaxInstanceCount float64 `json:"max_instance_count"`
	MinInstanceCount float64 `json:"min_instance_count"`
}

type TemplateState

type TemplateState struct {
	Annotations                   map[string]string         `json:"annotations"`
	EncryptionKey                 string                    `json:"encryption_key"`
	ExecutionEnvironment          string                    `json:"execution_environment"`
	Labels                        map[string]string         `json:"labels"`
	MaxInstanceRequestConcurrency float64                   `json:"max_instance_request_concurrency"`
	Revision                      string                    `json:"revision"`
	ServiceAccount                string                    `json:"service_account"`
	SessionAffinity               bool                      `json:"session_affinity"`
	Timeout                       string                    `json:"timeout"`
	Containers                    []TemplateContainersState `json:"containers"`
	Scaling                       []TemplateScalingState    `json:"scaling"`
	Volumes                       []TemplateVolumesState    `json:"volumes"`
	VpcAccess                     []TemplateVpcAccessState  `json:"vpc_access"`
}

type TemplateVolumes

type TemplateVolumes struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// TemplateVolumesCloudSqlInstance: optional
	CloudSqlInstance *TemplateVolumesCloudSqlInstance `hcl:"cloud_sql_instance,block"`
	// TemplateVolumesEmptyDir: optional
	EmptyDir *TemplateVolumesEmptyDir `hcl:"empty_dir,block"`
	// TemplateVolumesGcs: optional
	Gcs *TemplateVolumesGcs `hcl:"gcs,block"`
	// TemplateVolumesNfs: optional
	Nfs *TemplateVolumesNfs `hcl:"nfs,block"`
	// TemplateVolumesSecret: optional
	Secret *TemplateVolumesSecret `hcl:"secret,block"`
}

type TemplateVolumesAttributes

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

func (TemplateVolumesAttributes) CloudSqlInstance

func (TemplateVolumesAttributes) EmptyDir

func (TemplateVolumesAttributes) Gcs

func (TemplateVolumesAttributes) InternalRef

func (v TemplateVolumesAttributes) InternalRef() (terra.Reference, error)

func (TemplateVolumesAttributes) InternalTokens

func (v TemplateVolumesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateVolumesAttributes) InternalWithRef

func (TemplateVolumesAttributes) Name

func (TemplateVolumesAttributes) Nfs

func (TemplateVolumesAttributes) Secret

type TemplateVolumesCloudSqlInstance

type TemplateVolumesCloudSqlInstance struct {
	// Instances: set of string, optional
	Instances terra.SetValue[terra.StringValue] `hcl:"instances,attr"`
}

type TemplateVolumesCloudSqlInstanceAttributes

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

func (TemplateVolumesCloudSqlInstanceAttributes) Instances

func (TemplateVolumesCloudSqlInstanceAttributes) InternalRef

func (TemplateVolumesCloudSqlInstanceAttributes) InternalTokens

func (TemplateVolumesCloudSqlInstanceAttributes) InternalWithRef

type TemplateVolumesCloudSqlInstanceState

type TemplateVolumesCloudSqlInstanceState struct {
	Instances []string `json:"instances"`
}

type TemplateVolumesEmptyDir

type TemplateVolumesEmptyDir struct {
	// Medium: string, optional
	Medium terra.StringValue `hcl:"medium,attr"`
	// SizeLimit: string, optional
	SizeLimit terra.StringValue `hcl:"size_limit,attr"`
}

type TemplateVolumesEmptyDirAttributes

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

func (TemplateVolumesEmptyDirAttributes) InternalRef

func (TemplateVolumesEmptyDirAttributes) InternalTokens

func (ed TemplateVolumesEmptyDirAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateVolumesEmptyDirAttributes) InternalWithRef

func (TemplateVolumesEmptyDirAttributes) Medium

func (TemplateVolumesEmptyDirAttributes) SizeLimit

type TemplateVolumesEmptyDirState

type TemplateVolumesEmptyDirState struct {
	Medium    string `json:"medium"`
	SizeLimit string `json:"size_limit"`
}

type TemplateVolumesGcs

type TemplateVolumesGcs struct {
	// Bucket: string, required
	Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"`
	// ReadOnly: bool, optional
	ReadOnly terra.BoolValue `hcl:"read_only,attr"`
}

type TemplateVolumesGcsAttributes

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

func (TemplateVolumesGcsAttributes) Bucket

func (TemplateVolumesGcsAttributes) InternalRef

func (TemplateVolumesGcsAttributes) InternalTokens

func (g TemplateVolumesGcsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateVolumesGcsAttributes) InternalWithRef

func (TemplateVolumesGcsAttributes) ReadOnly

type TemplateVolumesGcsState

type TemplateVolumesGcsState struct {
	Bucket   string `json:"bucket"`
	ReadOnly bool   `json:"read_only"`
}

type TemplateVolumesNfs

type TemplateVolumesNfs struct {
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
	// ReadOnly: bool, optional
	ReadOnly terra.BoolValue `hcl:"read_only,attr"`
	// Server: string, required
	Server terra.StringValue `hcl:"server,attr" validate:"required"`
}

type TemplateVolumesNfsAttributes

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

func (TemplateVolumesNfsAttributes) InternalRef

func (TemplateVolumesNfsAttributes) InternalTokens

func (n TemplateVolumesNfsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateVolumesNfsAttributes) InternalWithRef

func (TemplateVolumesNfsAttributes) Path

func (TemplateVolumesNfsAttributes) ReadOnly

func (TemplateVolumesNfsAttributes) Server

type TemplateVolumesNfsState

type TemplateVolumesNfsState struct {
	Path     string `json:"path"`
	ReadOnly bool   `json:"read_only"`
	Server   string `json:"server"`
}

type TemplateVolumesSecret

type TemplateVolumesSecret struct {
	// DefaultMode: number, optional
	DefaultMode terra.NumberValue `hcl:"default_mode,attr"`
	// Secret: string, required
	Secret terra.StringValue `hcl:"secret,attr" validate:"required"`
	// TemplateVolumesSecretItems: min=0
	Items []TemplateVolumesSecretItems `hcl:"items,block" validate:"min=0"`
}

type TemplateVolumesSecretAttributes

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

func (TemplateVolumesSecretAttributes) DefaultMode

func (TemplateVolumesSecretAttributes) InternalRef

func (TemplateVolumesSecretAttributes) InternalTokens

func (s TemplateVolumesSecretAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateVolumesSecretAttributes) InternalWithRef

func (TemplateVolumesSecretAttributes) Items

func (TemplateVolumesSecretAttributes) Secret

type TemplateVolumesSecretItems

type TemplateVolumesSecretItems struct {
	// Mode: number, optional
	Mode terra.NumberValue `hcl:"mode,attr"`
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type TemplateVolumesSecretItemsAttributes

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

func (TemplateVolumesSecretItemsAttributes) InternalRef

func (TemplateVolumesSecretItemsAttributes) InternalTokens

func (TemplateVolumesSecretItemsAttributes) InternalWithRef

func (TemplateVolumesSecretItemsAttributes) Mode

func (TemplateVolumesSecretItemsAttributes) Path

func (TemplateVolumesSecretItemsAttributes) Version

type TemplateVolumesSecretItemsState

type TemplateVolumesSecretItemsState struct {
	Mode    float64 `json:"mode"`
	Path    string  `json:"path"`
	Version string  `json:"version"`
}

type TemplateVolumesSecretState

type TemplateVolumesSecretState struct {
	DefaultMode float64                           `json:"default_mode"`
	Secret      string                            `json:"secret"`
	Items       []TemplateVolumesSecretItemsState `json:"items"`
}

type TemplateVolumesState

type TemplateVolumesState struct {
	Name             string                                 `json:"name"`
	CloudSqlInstance []TemplateVolumesCloudSqlInstanceState `json:"cloud_sql_instance"`
	EmptyDir         []TemplateVolumesEmptyDirState         `json:"empty_dir"`
	Gcs              []TemplateVolumesGcsState              `json:"gcs"`
	Nfs              []TemplateVolumesNfsState              `json:"nfs"`
	Secret           []TemplateVolumesSecretState           `json:"secret"`
}

type TemplateVpcAccess

type TemplateVpcAccess struct {
	// Connector: string, optional
	Connector terra.StringValue `hcl:"connector,attr"`
	// Egress: string, optional
	Egress terra.StringValue `hcl:"egress,attr"`
	// TemplateVpcAccessNetworkInterfaces: min=0
	NetworkInterfaces []TemplateVpcAccessNetworkInterfaces `hcl:"network_interfaces,block" validate:"min=0"`
}

type TemplateVpcAccessAttributes

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

func (TemplateVpcAccessAttributes) Connector

func (TemplateVpcAccessAttributes) Egress

func (TemplateVpcAccessAttributes) InternalRef

func (va TemplateVpcAccessAttributes) InternalRef() (terra.Reference, error)

func (TemplateVpcAccessAttributes) InternalTokens

func (va TemplateVpcAccessAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateVpcAccessAttributes) InternalWithRef

func (TemplateVpcAccessAttributes) NetworkInterfaces

type TemplateVpcAccessNetworkInterfaces

type TemplateVpcAccessNetworkInterfaces struct {
	// Network: string, optional
	Network terra.StringValue `hcl:"network,attr"`
	// Subnetwork: string, optional
	Subnetwork terra.StringValue `hcl:"subnetwork,attr"`
	// Tags: list of string, optional
	Tags terra.ListValue[terra.StringValue] `hcl:"tags,attr"`
}

type TemplateVpcAccessNetworkInterfacesAttributes

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

func (TemplateVpcAccessNetworkInterfacesAttributes) InternalRef

func (TemplateVpcAccessNetworkInterfacesAttributes) InternalTokens

func (TemplateVpcAccessNetworkInterfacesAttributes) InternalWithRef

func (TemplateVpcAccessNetworkInterfacesAttributes) Network

func (TemplateVpcAccessNetworkInterfacesAttributes) Subnetwork

func (TemplateVpcAccessNetworkInterfacesAttributes) Tags

type TemplateVpcAccessNetworkInterfacesState

type TemplateVpcAccessNetworkInterfacesState struct {
	Network    string   `json:"network"`
	Subnetwork string   `json:"subnetwork"`
	Tags       []string `json:"tags"`
}

type TemplateVpcAccessState

type TemplateVpcAccessState struct {
	Connector         string                                    `json:"connector"`
	Egress            string                                    `json:"egress"`
	NetworkInterfaces []TemplateVpcAccessNetworkInterfacesState `json:"network_interfaces"`
}

type TerminalConditionAttributes

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

func (TerminalConditionAttributes) ExecutionReason

func (tc TerminalConditionAttributes) ExecutionReason() terra.StringValue

func (TerminalConditionAttributes) InternalRef

func (tc TerminalConditionAttributes) InternalRef() (terra.Reference, error)

func (TerminalConditionAttributes) InternalTokens

func (tc TerminalConditionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TerminalConditionAttributes) InternalWithRef

func (TerminalConditionAttributes) LastTransitionTime

func (tc TerminalConditionAttributes) LastTransitionTime() terra.StringValue

func (TerminalConditionAttributes) Message

func (TerminalConditionAttributes) Reason

func (TerminalConditionAttributes) RevisionReason

func (tc TerminalConditionAttributes) RevisionReason() terra.StringValue

func (TerminalConditionAttributes) Severity

func (TerminalConditionAttributes) State

func (TerminalConditionAttributes) Type

type TerminalConditionState

type TerminalConditionState struct {
	ExecutionReason    string `json:"execution_reason"`
	LastTransitionTime string `json:"last_transition_time"`
	Message            string `json:"message"`
	Reason             string `json:"reason"`
	RevisionReason     string `json:"revision_reason"`
	Severity           string `json:"severity"`
	State              string `json:"state"`
	Type               string `json:"type"`
}

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 (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

func (TimeoutsAttributes) Update

type TimeoutsState

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

type Traffic

type Traffic struct {
	// Percent: number, optional
	Percent terra.NumberValue `hcl:"percent,attr"`
	// Revision: string, optional
	Revision terra.StringValue `hcl:"revision,attr"`
	// Tag: string, optional
	Tag terra.StringValue `hcl:"tag,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
}

type TrafficAttributes

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

func (TrafficAttributes) InternalRef

func (t TrafficAttributes) InternalRef() (terra.Reference, error)

func (TrafficAttributes) InternalTokens

func (t TrafficAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TrafficAttributes) InternalWithRef

func (t TrafficAttributes) InternalWithRef(ref terra.Reference) TrafficAttributes

func (TrafficAttributes) Percent

func (t TrafficAttributes) Percent() terra.NumberValue

func (TrafficAttributes) Revision

func (t TrafficAttributes) Revision() terra.StringValue

func (TrafficAttributes) Tag

func (TrafficAttributes) Type

type TrafficState

type TrafficState struct {
	Percent  float64 `json:"percent"`
	Revision string  `json:"revision"`
	Tag      string  `json:"tag"`
	Type     string  `json:"type"`
}

type TrafficStatusesAttributes

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

func (TrafficStatusesAttributes) InternalRef

func (ts TrafficStatusesAttributes) InternalRef() (terra.Reference, error)

func (TrafficStatusesAttributes) InternalTokens

func (ts TrafficStatusesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TrafficStatusesAttributes) InternalWithRef

func (TrafficStatusesAttributes) Percent

func (TrafficStatusesAttributes) Revision

func (TrafficStatusesAttributes) Tag

func (TrafficStatusesAttributes) Type

func (TrafficStatusesAttributes) Uri

type TrafficStatusesState

type TrafficStatusesState struct {
	Percent  float64 `json:"percent"`
	Revision string  `json:"revision"`
	Tag      string  `json:"tag"`
	Type     string  `json:"type"`
	Uri      string  `json:"uri"`
}

Jump to

Keyboard shortcuts

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