google_cloud_run_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: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// AutogenerateRevisionName: bool, optional
	AutogenerateRevisionName terra.BoolValue `hcl:"autogenerate_revision_name,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Metadata: optional
	Metadata *Metadata `hcl:"metadata,block"`
	// Template: optional
	Template *Template `hcl:"template,block"`
	// 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_service.

type DataArgs

type DataArgs 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"`
}

DataArgs contains the configurations for google_cloud_run_service.

type DataMetadataAttributes

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

func (DataMetadataAttributes) Annotations

func (DataMetadataAttributes) EffectiveAnnotations

func (m DataMetadataAttributes) EffectiveAnnotations() terra.MapValue[terra.StringValue]

func (DataMetadataAttributes) EffectiveLabels

func (m DataMetadataAttributes) EffectiveLabels() terra.MapValue[terra.StringValue]

func (DataMetadataAttributes) Generation

func (m DataMetadataAttributes) Generation() terra.NumberValue

func (DataMetadataAttributes) InternalRef

func (m DataMetadataAttributes) InternalRef() (terra.Reference, error)

func (DataMetadataAttributes) InternalTokens

func (m DataMetadataAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataMetadataAttributes) InternalWithRef

func (DataMetadataAttributes) Labels

func (DataMetadataAttributes) Namespace

func (DataMetadataAttributes) ResourceVersion

func (m DataMetadataAttributes) ResourceVersion() terra.StringValue

func (DataMetadataAttributes) TerraformLabels

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

func (DataMetadataAttributes) Uid

type DataMetadataState

type DataMetadataState 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 DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_cloud_run_service.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gcrs *DataSource) Attributes() dataGoogleCloudRunServiceAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gcrs *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gcrs *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataStatusAttributes

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

func (DataStatusAttributes) Conditions

func (DataStatusAttributes) InternalRef

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

func (DataStatusAttributes) InternalTokens

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

func (DataStatusAttributes) InternalWithRef

func (DataStatusAttributes) LatestCreatedRevisionName

func (s DataStatusAttributes) LatestCreatedRevisionName() terra.StringValue

func (DataStatusAttributes) LatestReadyRevisionName

func (s DataStatusAttributes) LatestReadyRevisionName() terra.StringValue

func (DataStatusAttributes) ObservedGeneration

func (s DataStatusAttributes) ObservedGeneration() terra.NumberValue

func (DataStatusAttributes) Traffic

func (DataStatusAttributes) Url

type DataStatusConditionsAttributes

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

func (DataStatusConditionsAttributes) InternalRef

func (DataStatusConditionsAttributes) InternalTokens

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

func (DataStatusConditionsAttributes) InternalWithRef

func (DataStatusConditionsAttributes) Message

func (DataStatusConditionsAttributes) Reason

func (DataStatusConditionsAttributes) Status

func (DataStatusConditionsAttributes) Type

type DataStatusConditionsState

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

type DataStatusState

type DataStatusState struct {
	LatestCreatedRevisionName string                      `json:"latest_created_revision_name"`
	LatestReadyRevisionName   string                      `json:"latest_ready_revision_name"`
	ObservedGeneration        float64                     `json:"observed_generation"`
	Url                       string                      `json:"url"`
	Conditions                []DataStatusConditionsState `json:"conditions"`
	Traffic                   []DataStatusTrafficState    `json:"traffic"`
}

type DataStatusTrafficAttributes

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

func (DataStatusTrafficAttributes) InternalRef

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

func (DataStatusTrafficAttributes) InternalTokens

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

func (DataStatusTrafficAttributes) InternalWithRef

func (DataStatusTrafficAttributes) LatestRevision

func (t DataStatusTrafficAttributes) LatestRevision() terra.BoolValue

func (DataStatusTrafficAttributes) Percent

func (DataStatusTrafficAttributes) RevisionName

func (DataStatusTrafficAttributes) Tag

func (DataStatusTrafficAttributes) Url

type DataStatusTrafficState

type DataStatusTrafficState struct {
	LatestRevision bool    `json:"latest_revision"`
	Percent        float64 `json:"percent"`
	RevisionName   string  `json:"revision_name"`
	Tag            string  `json:"tag"`
	Url            string  `json:"url"`
}

type DataTemplateAttributes

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

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

func (DataTemplateAttributes) Spec

type DataTemplateMetadataAttributes

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

func (DataTemplateMetadataAttributes) Annotations

func (DataTemplateMetadataAttributes) Generation

func (DataTemplateMetadataAttributes) InternalRef

func (DataTemplateMetadataAttributes) InternalTokens

func (m DataTemplateMetadataAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTemplateMetadataAttributes) InternalWithRef

func (DataTemplateMetadataAttributes) Labels

func (DataTemplateMetadataAttributes) Name

func (DataTemplateMetadataAttributes) Namespace

func (DataTemplateMetadataAttributes) ResourceVersion

func (m DataTemplateMetadataAttributes) ResourceVersion() terra.StringValue

func (DataTemplateMetadataAttributes) Uid

type DataTemplateMetadataState

type DataTemplateMetadataState struct {
	Annotations     map[string]string `json:"annotations"`
	Generation      float64           `json:"generation"`
	Labels          map[string]string `json:"labels"`
	Name            string            `json:"name"`
	Namespace       string            `json:"namespace"`
	ResourceVersion string            `json:"resource_version"`
	SelfLink        string            `json:"self_link"`
	Uid             string            `json:"uid"`
}

type DataTemplateSpec043B4C66Attributes

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

func (DataTemplateSpec043B4C66Attributes) InternalRef

func (DataTemplateSpec043B4C66Attributes) InternalTokens

func (DataTemplateSpec043B4C66Attributes) InternalWithRef

func (DataTemplateSpec043B4C66Attributes) Name

func (DataTemplateSpec043B4C66Attributes) Value

type DataTemplateSpec043B4C66State

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

type DataTemplateSpec1532Eb36Attributes

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

func (DataTemplateSpec1532Eb36Attributes) InternalRef

func (DataTemplateSpec1532Eb36Attributes) InternalTokens

func (DataTemplateSpec1532Eb36Attributes) InternalWithRef

func (DataTemplateSpec1532Eb36Attributes) LocalObjectReference

func (DataTemplateSpec1532Eb36Attributes) Optional

type DataTemplateSpec1532Eb36State

type DataTemplateSpec1532Eb36State struct {
	Optional             bool                            `json:"optional"`
	LocalObjectReference []DataTemplateSpecF134D3F7State `json:"local_object_reference"`
}

type DataTemplateSpec1Ea42B41Attributes

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

func (DataTemplateSpec1Ea42B41Attributes) InternalRef

func (DataTemplateSpec1Ea42B41Attributes) InternalTokens

func (DataTemplateSpec1Ea42B41Attributes) InternalWithRef

func (DataTemplateSpec1Ea42B41Attributes) SecretKeyRef

type DataTemplateSpec1Ea42B41State

type DataTemplateSpec1Ea42B41State struct {
	SecretKeyRef []DataTemplateSpecEe7Fd6E1State `json:"secret_key_ref"`
}

type DataTemplateSpec21E69F43Attributes

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

func (DataTemplateSpec21E69F43Attributes) InternalRef

func (DataTemplateSpec21E69F43Attributes) InternalTokens

func (DataTemplateSpec21E69F43Attributes) InternalWithRef

func (DataTemplateSpec21E69F43Attributes) Port

type DataTemplateSpec21E69F43State

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

type DataTemplateSpec2A4Ec41BAttributes

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

func (DataTemplateSpec2A4Ec41BAttributes) InternalRef

func (DataTemplateSpec2A4Ec41BAttributes) InternalTokens

func (DataTemplateSpec2A4Ec41BAttributes) InternalWithRef

func (DataTemplateSpec2A4Ec41BAttributes) Name

func (DataTemplateSpec2A4Ec41BAttributes) Value

type DataTemplateSpec2A4Ec41BState

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

type DataTemplateSpec364D790CAttributes

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

func (DataTemplateSpec364D790CAttributes) InternalRef

func (DataTemplateSpec364D790CAttributes) InternalTokens

func (cmr DataTemplateSpec364D790CAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTemplateSpec364D790CAttributes) InternalWithRef

func (DataTemplateSpec364D790CAttributes) LocalObjectReference

func (DataTemplateSpec364D790CAttributes) Optional

type DataTemplateSpec364D790CState

type DataTemplateSpec364D790CState struct {
	Optional             bool                            `json:"optional"`
	LocalObjectReference []DataTemplateSpecF5F9B7D9State `json:"local_object_reference"`
}

type DataTemplateSpec46Ff3E99Attributes

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

func (DataTemplateSpec46Ff3E99Attributes) HttpHeaders

func (DataTemplateSpec46Ff3E99Attributes) InternalRef

func (DataTemplateSpec46Ff3E99Attributes) InternalTokens

func (DataTemplateSpec46Ff3E99Attributes) InternalWithRef

func (DataTemplateSpec46Ff3E99Attributes) Path

func (DataTemplateSpec46Ff3E99Attributes) Port

type DataTemplateSpec46Ff3E99State

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

type DataTemplateSpec7Eb28A1FAttributes

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

func (DataTemplateSpec7Eb28A1FAttributes) InternalRef

func (DataTemplateSpec7Eb28A1FAttributes) InternalTokens

func (DataTemplateSpec7Eb28A1FAttributes) InternalWithRef

func (DataTemplateSpec7Eb28A1FAttributes) Port

func (DataTemplateSpec7Eb28A1FAttributes) Service

type DataTemplateSpec7Eb28A1FState

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

type DataTemplateSpecA50Df3C6Attributes

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

func (DataTemplateSpecA50Df3C6Attributes) InternalRef

func (DataTemplateSpecA50Df3C6Attributes) InternalTokens

func (DataTemplateSpecA50Df3C6Attributes) InternalWithRef

func (DataTemplateSpecA50Df3C6Attributes) Port

func (DataTemplateSpecA50Df3C6Attributes) Service

type DataTemplateSpecA50Df3C6State

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

type DataTemplateSpecAttributes

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

func (DataTemplateSpecAttributes) ContainerConcurrency

func (s DataTemplateSpecAttributes) ContainerConcurrency() terra.NumberValue

func (DataTemplateSpecAttributes) Containers

func (DataTemplateSpecAttributes) InternalRef

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

func (DataTemplateSpecAttributes) InternalTokens

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

func (DataTemplateSpecAttributes) InternalWithRef

func (DataTemplateSpecAttributes) ServiceAccountName

func (s DataTemplateSpecAttributes) ServiceAccountName() terra.StringValue

func (DataTemplateSpecAttributes) ServingState

func (s DataTemplateSpecAttributes) ServingState() terra.StringValue

func (DataTemplateSpecAttributes) TimeoutSeconds

func (s DataTemplateSpecAttributes) TimeoutSeconds() terra.NumberValue

func (DataTemplateSpecAttributes) Volumes

type DataTemplateSpecContainersAttributes

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

func (DataTemplateSpecContainersAttributes) Args

func (DataTemplateSpecContainersAttributes) Command

func (DataTemplateSpecContainersAttributes) Env

func (DataTemplateSpecContainersAttributes) EnvFrom

func (DataTemplateSpecContainersAttributes) Image

func (DataTemplateSpecContainersAttributes) InternalRef

func (DataTemplateSpecContainersAttributes) InternalTokens

func (DataTemplateSpecContainersAttributes) InternalWithRef

func (DataTemplateSpecContainersAttributes) LivenessProbe

func (DataTemplateSpecContainersAttributes) Name

func (DataTemplateSpecContainersAttributes) Ports

func (DataTemplateSpecContainersAttributes) Resources

func (DataTemplateSpecContainersAttributes) StartupProbe

func (DataTemplateSpecContainersAttributes) VolumeMounts

func (DataTemplateSpecContainersAttributes) WorkingDir

type DataTemplateSpecContainersEnvAttributes

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

func (DataTemplateSpecContainersEnvAttributes) InternalRef

func (DataTemplateSpecContainersEnvAttributes) InternalTokens

func (DataTemplateSpecContainersEnvAttributes) InternalWithRef

func (DataTemplateSpecContainersEnvAttributes) Name

func (DataTemplateSpecContainersEnvAttributes) Value

func (DataTemplateSpecContainersEnvAttributes) ValueFrom

type DataTemplateSpecContainersEnvFromAttributes

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

func (DataTemplateSpecContainersEnvFromAttributes) ConfigMapRef

func (DataTemplateSpecContainersEnvFromAttributes) InternalRef

func (DataTemplateSpecContainersEnvFromAttributes) InternalTokens

func (DataTemplateSpecContainersEnvFromAttributes) InternalWithRef

func (DataTemplateSpecContainersEnvFromAttributes) Prefix

func (DataTemplateSpecContainersEnvFromAttributes) SecretRef

type DataTemplateSpecContainersEnvFromState

type DataTemplateSpecContainersEnvFromState struct {
	Prefix       string                          `json:"prefix"`
	ConfigMapRef []DataTemplateSpec364D790CState `json:"config_map_ref"`
	SecretRef    []DataTemplateSpec1532Eb36State `json:"secret_ref"`
}

type DataTemplateSpecContainersEnvState

type DataTemplateSpecContainersEnvState struct {
	Name      string                          `json:"name"`
	Value     string                          `json:"value"`
	ValueFrom []DataTemplateSpec1Ea42B41State `json:"value_from"`
}

type DataTemplateSpecContainersLivenessProbeAttributes

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

func (DataTemplateSpecContainersLivenessProbeAttributes) FailureThreshold

func (DataTemplateSpecContainersLivenessProbeAttributes) Grpc

func (DataTemplateSpecContainersLivenessProbeAttributes) HttpGet

func (DataTemplateSpecContainersLivenessProbeAttributes) InitialDelaySeconds

func (DataTemplateSpecContainersLivenessProbeAttributes) InternalRef

func (DataTemplateSpecContainersLivenessProbeAttributes) InternalTokens

func (DataTemplateSpecContainersLivenessProbeAttributes) InternalWithRef

func (DataTemplateSpecContainersLivenessProbeAttributes) PeriodSeconds

func (DataTemplateSpecContainersLivenessProbeAttributes) TimeoutSeconds

type DataTemplateSpecContainersLivenessProbeState

type DataTemplateSpecContainersLivenessProbeState struct {
	FailureThreshold    float64                         `json:"failure_threshold"`
	InitialDelaySeconds float64                         `json:"initial_delay_seconds"`
	PeriodSeconds       float64                         `json:"period_seconds"`
	TimeoutSeconds      float64                         `json:"timeout_seconds"`
	Grpc                []DataTemplateSpec7Eb28A1FState `json:"grpc"`
	HttpGet             []DataTemplateSpecEd9D52FeState `json:"http_get"`
}

type DataTemplateSpecContainersPortsAttributes

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

func (DataTemplateSpecContainersPortsAttributes) ContainerPort

func (DataTemplateSpecContainersPortsAttributes) InternalRef

func (DataTemplateSpecContainersPortsAttributes) InternalTokens

func (DataTemplateSpecContainersPortsAttributes) InternalWithRef

func (DataTemplateSpecContainersPortsAttributes) Name

func (DataTemplateSpecContainersPortsAttributes) Protocol

type DataTemplateSpecContainersPortsState

type DataTemplateSpecContainersPortsState struct {
	ContainerPort float64 `json:"container_port"`
	Name          string  `json:"name"`
	Protocol      string  `json:"protocol"`
}

type DataTemplateSpecContainersResourcesAttributes

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

func (DataTemplateSpecContainersResourcesAttributes) InternalRef

func (DataTemplateSpecContainersResourcesAttributes) InternalTokens

func (DataTemplateSpecContainersResourcesAttributes) InternalWithRef

func (DataTemplateSpecContainersResourcesAttributes) Limits

func (DataTemplateSpecContainersResourcesAttributes) Requests

type DataTemplateSpecContainersResourcesState

type DataTemplateSpecContainersResourcesState struct {
	Limits   map[string]string `json:"limits"`
	Requests map[string]string `json:"requests"`
}

type DataTemplateSpecContainersStartupProbeAttributes

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

func (DataTemplateSpecContainersStartupProbeAttributes) FailureThreshold

func (DataTemplateSpecContainersStartupProbeAttributes) Grpc

func (DataTemplateSpecContainersStartupProbeAttributes) HttpGet

func (DataTemplateSpecContainersStartupProbeAttributes) InitialDelaySeconds

func (DataTemplateSpecContainersStartupProbeAttributes) InternalRef

func (DataTemplateSpecContainersStartupProbeAttributes) InternalTokens

func (DataTemplateSpecContainersStartupProbeAttributes) InternalWithRef

func (DataTemplateSpecContainersStartupProbeAttributes) PeriodSeconds

func (DataTemplateSpecContainersStartupProbeAttributes) TcpSocket

func (DataTemplateSpecContainersStartupProbeAttributes) TimeoutSeconds

type DataTemplateSpecContainersStartupProbeState

type DataTemplateSpecContainersStartupProbeState struct {
	FailureThreshold    float64                         `json:"failure_threshold"`
	InitialDelaySeconds float64                         `json:"initial_delay_seconds"`
	PeriodSeconds       float64                         `json:"period_seconds"`
	TimeoutSeconds      float64                         `json:"timeout_seconds"`
	Grpc                []DataTemplateSpecA50Df3C6State `json:"grpc"`
	HttpGet             []DataTemplateSpec46Ff3E99State `json:"http_get"`
	TcpSocket           []DataTemplateSpec21E69F43State `json:"tcp_socket"`
}

type DataTemplateSpecContainersState

type DataTemplateSpecContainersState struct {
	Args          []string                                       `json:"args"`
	Command       []string                                       `json:"command"`
	Image         string                                         `json:"image"`
	Name          string                                         `json:"name"`
	WorkingDir    string                                         `json:"working_dir"`
	Env           []DataTemplateSpecContainersEnvState           `json:"env"`
	EnvFrom       []DataTemplateSpecContainersEnvFromState       `json:"env_from"`
	LivenessProbe []DataTemplateSpecContainersLivenessProbeState `json:"liveness_probe"`
	Ports         []DataTemplateSpecContainersPortsState         `json:"ports"`
	Resources     []DataTemplateSpecContainersResourcesState     `json:"resources"`
	StartupProbe  []DataTemplateSpecContainersStartupProbeState  `json:"startup_probe"`
	VolumeMounts  []DataTemplateSpecContainersVolumeMountsState  `json:"volume_mounts"`
}

type DataTemplateSpecContainersVolumeMountsAttributes

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

func (DataTemplateSpecContainersVolumeMountsAttributes) InternalRef

func (DataTemplateSpecContainersVolumeMountsAttributes) InternalTokens

func (DataTemplateSpecContainersVolumeMountsAttributes) InternalWithRef

func (DataTemplateSpecContainersVolumeMountsAttributes) MountPath

func (DataTemplateSpecContainersVolumeMountsAttributes) Name

type DataTemplateSpecContainersVolumeMountsState

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

type DataTemplateSpecEd9D52FeAttributes

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

func (DataTemplateSpecEd9D52FeAttributes) HttpHeaders

func (DataTemplateSpecEd9D52FeAttributes) InternalRef

func (DataTemplateSpecEd9D52FeAttributes) InternalTokens

func (DataTemplateSpecEd9D52FeAttributes) InternalWithRef

func (DataTemplateSpecEd9D52FeAttributes) Path

func (DataTemplateSpecEd9D52FeAttributes) Port

type DataTemplateSpecEd9D52FeState

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

type DataTemplateSpecEe7Fd6E1Attributes

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

func (DataTemplateSpecEe7Fd6E1Attributes) InternalRef

func (DataTemplateSpecEe7Fd6E1Attributes) InternalTokens

func (skr DataTemplateSpecEe7Fd6E1Attributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTemplateSpecEe7Fd6E1Attributes) InternalWithRef

func (DataTemplateSpecEe7Fd6E1Attributes) Key

func (DataTemplateSpecEe7Fd6E1Attributes) Name

type DataTemplateSpecEe7Fd6E1State

type DataTemplateSpecEe7Fd6E1State struct {
	Key  string `json:"key"`
	Name string `json:"name"`
}

type DataTemplateSpecF0A964DcAttributes

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

func (DataTemplateSpecF0A964DcAttributes) InternalRef

func (DataTemplateSpecF0A964DcAttributes) InternalTokens

func (DataTemplateSpecF0A964DcAttributes) InternalWithRef

func (DataTemplateSpecF0A964DcAttributes) Key

func (DataTemplateSpecF0A964DcAttributes) Mode

func (DataTemplateSpecF0A964DcAttributes) Path

type DataTemplateSpecF0A964DcState

type DataTemplateSpecF0A964DcState struct {
	Key  string  `json:"key"`
	Mode float64 `json:"mode"`
	Path string  `json:"path"`
}

type DataTemplateSpecF134D3F7Attributes

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

func (DataTemplateSpecF134D3F7Attributes) InternalRef

func (DataTemplateSpecF134D3F7Attributes) InternalTokens

func (lor DataTemplateSpecF134D3F7Attributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTemplateSpecF134D3F7Attributes) InternalWithRef

func (DataTemplateSpecF134D3F7Attributes) Name

type DataTemplateSpecF134D3F7State

type DataTemplateSpecF134D3F7State struct {
	Name string `json:"name"`
}

type DataTemplateSpecF5F9B7D9Attributes

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

func (DataTemplateSpecF5F9B7D9Attributes) InternalRef

func (DataTemplateSpecF5F9B7D9Attributes) InternalTokens

func (lor DataTemplateSpecF5F9B7D9Attributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTemplateSpecF5F9B7D9Attributes) InternalWithRef

func (DataTemplateSpecF5F9B7D9Attributes) Name

type DataTemplateSpecF5F9B7D9State

type DataTemplateSpecF5F9B7D9State struct {
	Name string `json:"name"`
}

type DataTemplateSpecState

type DataTemplateSpecState struct {
	ContainerConcurrency float64                           `json:"container_concurrency"`
	ServiceAccountName   string                            `json:"service_account_name"`
	ServingState         string                            `json:"serving_state"`
	TimeoutSeconds       float64                           `json:"timeout_seconds"`
	Containers           []DataTemplateSpecContainersState `json:"containers"`
	Volumes              []DataTemplateSpecVolumesState    `json:"volumes"`
}

type DataTemplateSpecVolumesAttributes

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

func (DataTemplateSpecVolumesAttributes) InternalRef

func (DataTemplateSpecVolumesAttributes) InternalTokens

func (DataTemplateSpecVolumesAttributes) InternalWithRef

func (DataTemplateSpecVolumesAttributes) Name

func (DataTemplateSpecVolumesAttributes) Secret

type DataTemplateSpecVolumesSecretAttributes

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

func (DataTemplateSpecVolumesSecretAttributes) DefaultMode

func (DataTemplateSpecVolumesSecretAttributes) InternalRef

func (DataTemplateSpecVolumesSecretAttributes) InternalTokens

func (DataTemplateSpecVolumesSecretAttributes) InternalWithRef

func (DataTemplateSpecVolumesSecretAttributes) Items

func (DataTemplateSpecVolumesSecretAttributes) SecretName

type DataTemplateSpecVolumesSecretState

type DataTemplateSpecVolumesSecretState struct {
	DefaultMode float64                         `json:"default_mode"`
	SecretName  string                          `json:"secret_name"`
	Items       []DataTemplateSpecF0A964DcState `json:"items"`
}

type DataTemplateSpecVolumesState

type DataTemplateSpecVolumesState struct {
	Name   string                               `json:"name"`
	Secret []DataTemplateSpecVolumesSecretState `json:"secret"`
}

type DataTemplateState

type DataTemplateState struct {
	Metadata []DataTemplateMetadataState `json:"metadata"`
	Spec     []DataTemplateSpecState     `json:"spec"`
}

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

func (t DataTrafficAttributes) LatestRevision() terra.BoolValue

func (DataTrafficAttributes) Percent

func (DataTrafficAttributes) RevisionName

func (t DataTrafficAttributes) RevisionName() terra.StringValue

func (DataTrafficAttributes) Tag

func (DataTrafficAttributes) Url

type DataTrafficState

type DataTrafficState struct {
	LatestRevision bool    `json:"latest_revision"`
	Percent        float64 `json:"percent"`
	RevisionName   string  `json:"revision_name"`
	Tag            string  `json:"tag"`
	Url            string  `json:"url"`
}

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, optional
	Namespace terra.StringValue `hcl:"namespace,attr"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gcrs *Resource) Attributes() googleCloudRunServiceAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gcrs *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gcrs *Resource) State() (*googleCloudRunServiceState, bool)

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

func (*Resource) StateMust

func (gcrs *Resource) StateMust() *googleCloudRunServiceState

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

func (*Resource) Type

func (gcrs *Resource) Type() string

Type returns the Terraform object type for Resource.

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

func (s StatusAttributes) LatestCreatedRevisionName() terra.StringValue

func (StatusAttributes) LatestReadyRevisionName

func (s StatusAttributes) LatestReadyRevisionName() terra.StringValue

func (StatusAttributes) ObservedGeneration

func (s StatusAttributes) ObservedGeneration() terra.NumberValue

func (StatusAttributes) Traffic

func (StatusAttributes) Url

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 StatusState

type StatusState struct {
	LatestCreatedRevisionName string                  `json:"latest_created_revision_name"`
	LatestReadyRevisionName   string                  `json:"latest_ready_revision_name"`
	ObservedGeneration        float64                 `json:"observed_generation"`
	Url                       string                  `json:"url"`
	Conditions                []StatusConditionsState `json:"conditions"`
	Traffic                   []StatusTrafficState    `json:"traffic"`
}

type StatusTrafficAttributes

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

func (StatusTrafficAttributes) InternalRef

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

func (StatusTrafficAttributes) InternalTokens

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

func (StatusTrafficAttributes) InternalWithRef

func (StatusTrafficAttributes) LatestRevision

func (t StatusTrafficAttributes) LatestRevision() terra.BoolValue

func (StatusTrafficAttributes) Percent

func (StatusTrafficAttributes) RevisionName

func (t StatusTrafficAttributes) RevisionName() terra.StringValue

func (StatusTrafficAttributes) Tag

func (StatusTrafficAttributes) Url

type StatusTrafficState

type StatusTrafficState struct {
	LatestRevision bool    `json:"latest_revision"`
	Percent        float64 `json:"percent"`
	RevisionName   string  `json:"revision_name"`
	Tag            string  `json:"tag"`
	Url            string  `json:"url"`
}

type Template

type Template struct {
	// TemplateMetadata: optional
	Metadata *TemplateMetadata `hcl:"metadata,block"`
	// TemplateSpec: optional
	Spec *TemplateSpec `hcl:"spec,block"`
}

type TemplateAttributes

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

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

func (TemplateAttributes) Spec

type TemplateMetadata

type TemplateMetadata 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"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Namespace: string, optional
	Namespace terra.StringValue `hcl:"namespace,attr"`
}

type TemplateMetadataAttributes

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

func (TemplateMetadataAttributes) Annotations

func (TemplateMetadataAttributes) Generation

func (TemplateMetadataAttributes) InternalRef

func (m TemplateMetadataAttributes) InternalRef() (terra.Reference, error)

func (TemplateMetadataAttributes) InternalTokens

func (m TemplateMetadataAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateMetadataAttributes) InternalWithRef

func (TemplateMetadataAttributes) Labels

func (TemplateMetadataAttributes) Name

func (TemplateMetadataAttributes) Namespace

func (TemplateMetadataAttributes) ResourceVersion

func (m TemplateMetadataAttributes) ResourceVersion() terra.StringValue

func (TemplateMetadataAttributes) Uid

type TemplateMetadataState

type TemplateMetadataState struct {
	Annotations     map[string]string `json:"annotations"`
	Generation      float64           `json:"generation"`
	Labels          map[string]string `json:"labels"`
	Name            string            `json:"name"`
	Namespace       string            `json:"namespace"`
	ResourceVersion string            `json:"resource_version"`
	SelfLink        string            `json:"self_link"`
	Uid             string            `json:"uid"`
}

type TemplateSpec

type TemplateSpec struct {
	// ContainerConcurrency: number, optional
	ContainerConcurrency terra.NumberValue `hcl:"container_concurrency,attr"`
	// ServiceAccountName: string, optional
	ServiceAccountName terra.StringValue `hcl:"service_account_name,attr"`
	// TimeoutSeconds: number, optional
	TimeoutSeconds terra.NumberValue `hcl:"timeout_seconds,attr"`
	// TemplateSpecContainers: min=0
	Containers []TemplateSpecContainers `hcl:"containers,block" validate:"min=0"`
	// TemplateSpecVolumes: min=0
	Volumes []TemplateSpecVolumes `hcl:"volumes,block" validate:"min=0"`
}

type TemplateSpec043B4C66

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

type TemplateSpec043B4C66Attributes

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

func (TemplateSpec043B4C66Attributes) InternalRef

func (TemplateSpec043B4C66Attributes) InternalTokens

func (hh TemplateSpec043B4C66Attributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateSpec043B4C66Attributes) InternalWithRef

func (TemplateSpec043B4C66Attributes) Name

func (TemplateSpec043B4C66Attributes) Value

type TemplateSpec043B4C66State

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

type TemplateSpec1532Eb36

type TemplateSpec1532Eb36 struct {
	// Optional: bool, optional
	Optional terra.BoolValue `hcl:"optional,attr"`
	// TemplateSpecF134D3F7: optional
	LocalObjectReference *TemplateSpecF134D3F7 `hcl:"local_object_reference,block"`
}

type TemplateSpec1532Eb36Attributes

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

func (TemplateSpec1532Eb36Attributes) InternalRef

func (TemplateSpec1532Eb36Attributes) InternalTokens

func (sr TemplateSpec1532Eb36Attributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateSpec1532Eb36Attributes) InternalWithRef

func (TemplateSpec1532Eb36Attributes) LocalObjectReference

func (TemplateSpec1532Eb36Attributes) Optional

type TemplateSpec1532Eb36State

type TemplateSpec1532Eb36State struct {
	Optional             bool                        `json:"optional"`
	LocalObjectReference []TemplateSpecF134D3F7State `json:"local_object_reference"`
}

type TemplateSpec1Ea42B41

type TemplateSpec1Ea42B41 struct {
	// TemplateSpecEe7Fd6E1: required
	SecretKeyRef *TemplateSpecEe7Fd6E1 `hcl:"secret_key_ref,block" validate:"required"`
}

type TemplateSpec1Ea42B41Attributes

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

func (TemplateSpec1Ea42B41Attributes) InternalRef

func (TemplateSpec1Ea42B41Attributes) InternalTokens

func (vf TemplateSpec1Ea42B41Attributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateSpec1Ea42B41Attributes) InternalWithRef

func (TemplateSpec1Ea42B41Attributes) SecretKeyRef

type TemplateSpec1Ea42B41State

type TemplateSpec1Ea42B41State struct {
	SecretKeyRef []TemplateSpecEe7Fd6E1State `json:"secret_key_ref"`
}

type TemplateSpec21E69F43

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

type TemplateSpec21E69F43Attributes

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

func (TemplateSpec21E69F43Attributes) InternalRef

func (TemplateSpec21E69F43Attributes) InternalTokens

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

func (TemplateSpec21E69F43Attributes) InternalWithRef

func (TemplateSpec21E69F43Attributes) Port

type TemplateSpec21E69F43State

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

type TemplateSpec2A4Ec41B

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

type TemplateSpec2A4Ec41BAttributes

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

func (TemplateSpec2A4Ec41BAttributes) InternalRef

func (TemplateSpec2A4Ec41BAttributes) InternalTokens

func (hh TemplateSpec2A4Ec41BAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateSpec2A4Ec41BAttributes) InternalWithRef

func (TemplateSpec2A4Ec41BAttributes) Name

func (TemplateSpec2A4Ec41BAttributes) Value

type TemplateSpec2A4Ec41BState

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

type TemplateSpec364D790C

type TemplateSpec364D790C struct {
	// Optional: bool, optional
	Optional terra.BoolValue `hcl:"optional,attr"`
	// TemplateSpecF5F9B7D9: optional
	LocalObjectReference *TemplateSpecF5F9B7D9 `hcl:"local_object_reference,block"`
}

type TemplateSpec364D790CAttributes

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

func (TemplateSpec364D790CAttributes) InternalRef

func (cmr TemplateSpec364D790CAttributes) InternalRef() (terra.Reference, error)

func (TemplateSpec364D790CAttributes) InternalTokens

func (cmr TemplateSpec364D790CAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateSpec364D790CAttributes) InternalWithRef

func (TemplateSpec364D790CAttributes) LocalObjectReference

func (TemplateSpec364D790CAttributes) Optional

type TemplateSpec364D790CState

type TemplateSpec364D790CState struct {
	Optional             bool                        `json:"optional"`
	LocalObjectReference []TemplateSpecF5F9B7D9State `json:"local_object_reference"`
}

type TemplateSpec46Ff3E99

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

type TemplateSpec46Ff3E99Attributes

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

func (TemplateSpec46Ff3E99Attributes) HttpHeaders

func (TemplateSpec46Ff3E99Attributes) InternalRef

func (TemplateSpec46Ff3E99Attributes) InternalTokens

func (hg TemplateSpec46Ff3E99Attributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateSpec46Ff3E99Attributes) InternalWithRef

func (TemplateSpec46Ff3E99Attributes) Path

func (TemplateSpec46Ff3E99Attributes) Port

type TemplateSpec46Ff3E99State

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

type TemplateSpec7Eb28A1F

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

type TemplateSpec7Eb28A1FAttributes

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

func (TemplateSpec7Eb28A1FAttributes) InternalRef

func (TemplateSpec7Eb28A1FAttributes) InternalTokens

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

func (TemplateSpec7Eb28A1FAttributes) InternalWithRef

func (TemplateSpec7Eb28A1FAttributes) Port

func (TemplateSpec7Eb28A1FAttributes) Service

type TemplateSpec7Eb28A1FState

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

type TemplateSpecA50Df3C6

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

type TemplateSpecA50Df3C6Attributes

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

func (TemplateSpecA50Df3C6Attributes) InternalRef

func (TemplateSpecA50Df3C6Attributes) InternalTokens

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

func (TemplateSpecA50Df3C6Attributes) InternalWithRef

func (TemplateSpecA50Df3C6Attributes) Port

func (TemplateSpecA50Df3C6Attributes) Service

type TemplateSpecA50Df3C6State

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

type TemplateSpecAttributes

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

func (TemplateSpecAttributes) ContainerConcurrency

func (s TemplateSpecAttributes) ContainerConcurrency() terra.NumberValue

func (TemplateSpecAttributes) Containers

func (TemplateSpecAttributes) InternalRef

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

func (TemplateSpecAttributes) InternalTokens

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

func (TemplateSpecAttributes) InternalWithRef

func (TemplateSpecAttributes) ServiceAccountName

func (s TemplateSpecAttributes) ServiceAccountName() terra.StringValue

func (TemplateSpecAttributes) ServingState

func (s TemplateSpecAttributes) ServingState() terra.StringValue

func (TemplateSpecAttributes) TimeoutSeconds

func (s TemplateSpecAttributes) TimeoutSeconds() terra.NumberValue

func (TemplateSpecAttributes) Volumes

type TemplateSpecContainers

type TemplateSpecContainers 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"`
	// 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"`
	// TemplateSpecContainersEnv: min=0
	Env []TemplateSpecContainersEnv `hcl:"env,block" validate:"min=0"`
	// TemplateSpecContainersEnvFrom: min=0
	EnvFrom []TemplateSpecContainersEnvFrom `hcl:"env_from,block" validate:"min=0"`
	// TemplateSpecContainersLivenessProbe: optional
	LivenessProbe *TemplateSpecContainersLivenessProbe `hcl:"liveness_probe,block"`
	// TemplateSpecContainersPorts: min=0
	Ports []TemplateSpecContainersPorts `hcl:"ports,block" validate:"min=0"`
	// TemplateSpecContainersResources: optional
	Resources *TemplateSpecContainersResources `hcl:"resources,block"`
	// TemplateSpecContainersStartupProbe: optional
	StartupProbe *TemplateSpecContainersStartupProbe `hcl:"startup_probe,block"`
	// TemplateSpecContainersVolumeMounts: min=0
	VolumeMounts []TemplateSpecContainersVolumeMounts `hcl:"volume_mounts,block" validate:"min=0"`
}

type TemplateSpecContainersAttributes

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

func (TemplateSpecContainersAttributes) Args

func (TemplateSpecContainersAttributes) Command

func (TemplateSpecContainersAttributes) Env

func (TemplateSpecContainersAttributes) EnvFrom

func (TemplateSpecContainersAttributes) Image

func (TemplateSpecContainersAttributes) InternalRef

func (TemplateSpecContainersAttributes) InternalTokens

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

func (TemplateSpecContainersAttributes) InternalWithRef

func (TemplateSpecContainersAttributes) LivenessProbe

func (TemplateSpecContainersAttributes) Name

func (TemplateSpecContainersAttributes) Ports

func (TemplateSpecContainersAttributes) Resources

func (TemplateSpecContainersAttributes) StartupProbe

func (TemplateSpecContainersAttributes) VolumeMounts

func (TemplateSpecContainersAttributes) WorkingDir

type TemplateSpecContainersEnv

type TemplateSpecContainersEnv struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
	// TemplateSpec1Ea42B41: optional
	ValueFrom *TemplateSpec1Ea42B41 `hcl:"value_from,block"`
}

type TemplateSpecContainersEnvAttributes

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

func (TemplateSpecContainersEnvAttributes) InternalRef

func (TemplateSpecContainersEnvAttributes) InternalTokens

func (TemplateSpecContainersEnvAttributes) InternalWithRef

func (TemplateSpecContainersEnvAttributes) Name

func (TemplateSpecContainersEnvAttributes) Value

func (TemplateSpecContainersEnvAttributes) ValueFrom

type TemplateSpecContainersEnvFrom

type TemplateSpecContainersEnvFrom struct {
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
	// TemplateSpec364D790C: optional
	ConfigMapRef *TemplateSpec364D790C `hcl:"config_map_ref,block"`
	// TemplateSpec1532Eb36: optional
	SecretRef *TemplateSpec1532Eb36 `hcl:"secret_ref,block"`
}

type TemplateSpecContainersEnvFromAttributes

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

func (TemplateSpecContainersEnvFromAttributes) ConfigMapRef

func (TemplateSpecContainersEnvFromAttributes) InternalRef

func (TemplateSpecContainersEnvFromAttributes) InternalTokens

func (TemplateSpecContainersEnvFromAttributes) InternalWithRef

func (TemplateSpecContainersEnvFromAttributes) Prefix

func (TemplateSpecContainersEnvFromAttributes) SecretRef

type TemplateSpecContainersEnvFromState

type TemplateSpecContainersEnvFromState struct {
	Prefix       string                      `json:"prefix"`
	ConfigMapRef []TemplateSpec364D790CState `json:"config_map_ref"`
	SecretRef    []TemplateSpec1532Eb36State `json:"secret_ref"`
}

type TemplateSpecContainersEnvState

type TemplateSpecContainersEnvState struct {
	Name      string                      `json:"name"`
	Value     string                      `json:"value"`
	ValueFrom []TemplateSpec1Ea42B41State `json:"value_from"`
}

type TemplateSpecContainersLivenessProbe

type TemplateSpecContainersLivenessProbe 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"`
	// TemplateSpec7Eb28A1F: optional
	Grpc *TemplateSpec7Eb28A1F `hcl:"grpc,block"`
	// TemplateSpecEd9D52Fe: optional
	HttpGet *TemplateSpecEd9D52Fe `hcl:"http_get,block"`
}

type TemplateSpecContainersLivenessProbeAttributes

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

func (TemplateSpecContainersLivenessProbeAttributes) FailureThreshold

func (TemplateSpecContainersLivenessProbeAttributes) Grpc

func (TemplateSpecContainersLivenessProbeAttributes) HttpGet

func (TemplateSpecContainersLivenessProbeAttributes) InitialDelaySeconds

func (TemplateSpecContainersLivenessProbeAttributes) InternalRef

func (TemplateSpecContainersLivenessProbeAttributes) InternalTokens

func (TemplateSpecContainersLivenessProbeAttributes) InternalWithRef

func (TemplateSpecContainersLivenessProbeAttributes) PeriodSeconds

func (TemplateSpecContainersLivenessProbeAttributes) TimeoutSeconds

type TemplateSpecContainersLivenessProbeState

type TemplateSpecContainersLivenessProbeState struct {
	FailureThreshold    float64                     `json:"failure_threshold"`
	InitialDelaySeconds float64                     `json:"initial_delay_seconds"`
	PeriodSeconds       float64                     `json:"period_seconds"`
	TimeoutSeconds      float64                     `json:"timeout_seconds"`
	Grpc                []TemplateSpec7Eb28A1FState `json:"grpc"`
	HttpGet             []TemplateSpecEd9D52FeState `json:"http_get"`
}

type TemplateSpecContainersPorts

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

type TemplateSpecContainersPortsAttributes

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

func (TemplateSpecContainersPortsAttributes) ContainerPort

func (TemplateSpecContainersPortsAttributes) InternalRef

func (TemplateSpecContainersPortsAttributes) InternalTokens

func (TemplateSpecContainersPortsAttributes) InternalWithRef

func (TemplateSpecContainersPortsAttributes) Name

func (TemplateSpecContainersPortsAttributes) Protocol

type TemplateSpecContainersPortsState

type TemplateSpecContainersPortsState struct {
	ContainerPort float64 `json:"container_port"`
	Name          string  `json:"name"`
	Protocol      string  `json:"protocol"`
}

type TemplateSpecContainersResources

type TemplateSpecContainersResources struct {
	// Limits: map of string, optional
	Limits terra.MapValue[terra.StringValue] `hcl:"limits,attr"`
	// Requests: map of string, optional
	Requests terra.MapValue[terra.StringValue] `hcl:"requests,attr"`
}

type TemplateSpecContainersResourcesAttributes

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

func (TemplateSpecContainersResourcesAttributes) InternalRef

func (TemplateSpecContainersResourcesAttributes) InternalTokens

func (TemplateSpecContainersResourcesAttributes) InternalWithRef

func (TemplateSpecContainersResourcesAttributes) Limits

func (TemplateSpecContainersResourcesAttributes) Requests

type TemplateSpecContainersResourcesState

type TemplateSpecContainersResourcesState struct {
	Limits   map[string]string `json:"limits"`
	Requests map[string]string `json:"requests"`
}

type TemplateSpecContainersStartupProbe

type TemplateSpecContainersStartupProbe 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"`
	// TemplateSpecA50Df3C6: optional
	Grpc *TemplateSpecA50Df3C6 `hcl:"grpc,block"`
	// TemplateSpec46Ff3E99: optional
	HttpGet *TemplateSpec46Ff3E99 `hcl:"http_get,block"`
	// TemplateSpec21E69F43: optional
	TcpSocket *TemplateSpec21E69F43 `hcl:"tcp_socket,block"`
}

type TemplateSpecContainersStartupProbeAttributes

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

func (TemplateSpecContainersStartupProbeAttributes) FailureThreshold

func (TemplateSpecContainersStartupProbeAttributes) Grpc

func (TemplateSpecContainersStartupProbeAttributes) HttpGet

func (TemplateSpecContainersStartupProbeAttributes) InitialDelaySeconds

func (TemplateSpecContainersStartupProbeAttributes) InternalRef

func (TemplateSpecContainersStartupProbeAttributes) InternalTokens

func (TemplateSpecContainersStartupProbeAttributes) InternalWithRef

func (TemplateSpecContainersStartupProbeAttributes) PeriodSeconds

func (TemplateSpecContainersStartupProbeAttributes) TcpSocket

func (TemplateSpecContainersStartupProbeAttributes) TimeoutSeconds

type TemplateSpecContainersStartupProbeState

type TemplateSpecContainersStartupProbeState struct {
	FailureThreshold    float64                     `json:"failure_threshold"`
	InitialDelaySeconds float64                     `json:"initial_delay_seconds"`
	PeriodSeconds       float64                     `json:"period_seconds"`
	TimeoutSeconds      float64                     `json:"timeout_seconds"`
	Grpc                []TemplateSpecA50Df3C6State `json:"grpc"`
	HttpGet             []TemplateSpec46Ff3E99State `json:"http_get"`
	TcpSocket           []TemplateSpec21E69F43State `json:"tcp_socket"`
}

type TemplateSpecContainersState

type TemplateSpecContainersState struct {
	Args          []string                                   `json:"args"`
	Command       []string                                   `json:"command"`
	Image         string                                     `json:"image"`
	Name          string                                     `json:"name"`
	WorkingDir    string                                     `json:"working_dir"`
	Env           []TemplateSpecContainersEnvState           `json:"env"`
	EnvFrom       []TemplateSpecContainersEnvFromState       `json:"env_from"`
	LivenessProbe []TemplateSpecContainersLivenessProbeState `json:"liveness_probe"`
	Ports         []TemplateSpecContainersPortsState         `json:"ports"`
	Resources     []TemplateSpecContainersResourcesState     `json:"resources"`
	StartupProbe  []TemplateSpecContainersStartupProbeState  `json:"startup_probe"`
	VolumeMounts  []TemplateSpecContainersVolumeMountsState  `json:"volume_mounts"`
}

type TemplateSpecContainersVolumeMounts

type TemplateSpecContainersVolumeMounts 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 TemplateSpecContainersVolumeMountsAttributes

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

func (TemplateSpecContainersVolumeMountsAttributes) InternalRef

func (TemplateSpecContainersVolumeMountsAttributes) InternalTokens

func (TemplateSpecContainersVolumeMountsAttributes) InternalWithRef

func (TemplateSpecContainersVolumeMountsAttributes) MountPath

func (TemplateSpecContainersVolumeMountsAttributes) Name

type TemplateSpecContainersVolumeMountsState

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

type TemplateSpecEd9D52Fe

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

type TemplateSpecEd9D52FeAttributes

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

func (TemplateSpecEd9D52FeAttributes) HttpHeaders

func (TemplateSpecEd9D52FeAttributes) InternalRef

func (TemplateSpecEd9D52FeAttributes) InternalTokens

func (hg TemplateSpecEd9D52FeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateSpecEd9D52FeAttributes) InternalWithRef

func (TemplateSpecEd9D52FeAttributes) Path

func (TemplateSpecEd9D52FeAttributes) Port

type TemplateSpecEd9D52FeState

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

type TemplateSpecEe7Fd6E1

type TemplateSpecEe7Fd6E1 struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

type TemplateSpecEe7Fd6E1Attributes

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

func (TemplateSpecEe7Fd6E1Attributes) InternalRef

func (skr TemplateSpecEe7Fd6E1Attributes) InternalRef() (terra.Reference, error)

func (TemplateSpecEe7Fd6E1Attributes) InternalTokens

func (skr TemplateSpecEe7Fd6E1Attributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateSpecEe7Fd6E1Attributes) InternalWithRef

func (TemplateSpecEe7Fd6E1Attributes) Key

func (TemplateSpecEe7Fd6E1Attributes) Name

type TemplateSpecEe7Fd6E1State

type TemplateSpecEe7Fd6E1State struct {
	Key  string `json:"key"`
	Name string `json:"name"`
}

type TemplateSpecF0A964Dc

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

type TemplateSpecF0A964DcAttributes

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

func (TemplateSpecF0A964DcAttributes) InternalRef

func (TemplateSpecF0A964DcAttributes) InternalTokens

func (i TemplateSpecF0A964DcAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateSpecF0A964DcAttributes) InternalWithRef

func (TemplateSpecF0A964DcAttributes) Key

func (TemplateSpecF0A964DcAttributes) Mode

func (TemplateSpecF0A964DcAttributes) Path

type TemplateSpecF0A964DcState

type TemplateSpecF0A964DcState struct {
	Key  string  `json:"key"`
	Mode float64 `json:"mode"`
	Path string  `json:"path"`
}

type TemplateSpecF134D3F7

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

type TemplateSpecF134D3F7Attributes

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

func (TemplateSpecF134D3F7Attributes) InternalRef

func (lor TemplateSpecF134D3F7Attributes) InternalRef() (terra.Reference, error)

func (TemplateSpecF134D3F7Attributes) InternalTokens

func (lor TemplateSpecF134D3F7Attributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateSpecF134D3F7Attributes) InternalWithRef

func (TemplateSpecF134D3F7Attributes) Name

type TemplateSpecF134D3F7State

type TemplateSpecF134D3F7State struct {
	Name string `json:"name"`
}

type TemplateSpecF5F9B7D9

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

type TemplateSpecF5F9B7D9Attributes

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

func (TemplateSpecF5F9B7D9Attributes) InternalRef

func (lor TemplateSpecF5F9B7D9Attributes) InternalRef() (terra.Reference, error)

func (TemplateSpecF5F9B7D9Attributes) InternalTokens

func (lor TemplateSpecF5F9B7D9Attributes) InternalTokens() (hclwrite.Tokens, error)

func (TemplateSpecF5F9B7D9Attributes) InternalWithRef

func (TemplateSpecF5F9B7D9Attributes) Name

type TemplateSpecF5F9B7D9State

type TemplateSpecF5F9B7D9State struct {
	Name string `json:"name"`
}

type TemplateSpecState

type TemplateSpecState struct {
	ContainerConcurrency float64                       `json:"container_concurrency"`
	ServiceAccountName   string                        `json:"service_account_name"`
	ServingState         string                        `json:"serving_state"`
	TimeoutSeconds       float64                       `json:"timeout_seconds"`
	Containers           []TemplateSpecContainersState `json:"containers"`
	Volumes              []TemplateSpecVolumesState    `json:"volumes"`
}

type TemplateSpecVolumes

type TemplateSpecVolumes struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// TemplateSpecVolumesSecret: optional
	Secret *TemplateSpecVolumesSecret `hcl:"secret,block"`
}

type TemplateSpecVolumesAttributes

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

func (TemplateSpecVolumesAttributes) InternalRef

func (TemplateSpecVolumesAttributes) InternalTokens

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

func (TemplateSpecVolumesAttributes) InternalWithRef

func (TemplateSpecVolumesAttributes) Name

func (TemplateSpecVolumesAttributes) Secret

type TemplateSpecVolumesSecret

type TemplateSpecVolumesSecret struct {
	// DefaultMode: number, optional
	DefaultMode terra.NumberValue `hcl:"default_mode,attr"`
	// SecretName: string, required
	SecretName terra.StringValue `hcl:"secret_name,attr" validate:"required"`
	// TemplateSpecF0A964Dc: min=0
	Items []TemplateSpecF0A964Dc `hcl:"items,block" validate:"min=0"`
}

type TemplateSpecVolumesSecretAttributes

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

func (TemplateSpecVolumesSecretAttributes) DefaultMode

func (TemplateSpecVolumesSecretAttributes) InternalRef

func (TemplateSpecVolumesSecretAttributes) InternalTokens

func (TemplateSpecVolumesSecretAttributes) InternalWithRef

func (TemplateSpecVolumesSecretAttributes) Items

func (TemplateSpecVolumesSecretAttributes) SecretName

type TemplateSpecVolumesSecretState

type TemplateSpecVolumesSecretState struct {
	DefaultMode float64                     `json:"default_mode"`
	SecretName  string                      `json:"secret_name"`
	Items       []TemplateSpecF0A964DcState `json:"items"`
}

type TemplateSpecVolumesState

type TemplateSpecVolumesState struct {
	Name   string                           `json:"name"`
	Secret []TemplateSpecVolumesSecretState `json:"secret"`
}

type TemplateState

type TemplateState struct {
	Metadata []TemplateMetadataState `json:"metadata"`
	Spec     []TemplateSpecState     `json:"spec"`
}

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 {
	// LatestRevision: bool, optional
	LatestRevision terra.BoolValue `hcl:"latest_revision,attr"`
	// Percent: number, required
	Percent terra.NumberValue `hcl:"percent,attr" validate:"required"`
	// RevisionName: string, optional
	RevisionName terra.StringValue `hcl:"revision_name,attr"`
	// Tag: string, optional
	Tag terra.StringValue `hcl:"tag,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) LatestRevision

func (t TrafficAttributes) LatestRevision() terra.BoolValue

func (TrafficAttributes) Percent

func (t TrafficAttributes) Percent() terra.NumberValue

func (TrafficAttributes) RevisionName

func (t TrafficAttributes) RevisionName() terra.StringValue

func (TrafficAttributes) Tag

func (TrafficAttributes) Url

type TrafficState

type TrafficState struct {
	LatestRevision bool    `json:"latest_revision"`
	Percent        float64 `json:"percent"`
	RevisionName   string  `json:"revision_name"`
	Tag            string  `json:"tag"`
	Url            string  `json:"url"`
}

Jump to

Keyboard shortcuts

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