Documentation
¶
Index ¶
- type ApiConfig
- type ApiConfigAttributes
- func (ac ApiConfigAttributes) AuthFailAction() terra.StringValue
- func (ac ApiConfigAttributes) InternalRef() (terra.Reference, error)
- func (ac ApiConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac ApiConfigAttributes) InternalWithRef(ref terra.Reference) ApiConfigAttributes
- func (ac ApiConfigAttributes) Login() terra.StringValue
- func (ac ApiConfigAttributes) Script() terra.StringValue
- func (ac ApiConfigAttributes) SecurityLevel() terra.StringValue
- func (ac ApiConfigAttributes) Url() terra.StringValue
- type ApiConfigState
- type Args
- type AutomaticScaling
- type AutomaticScalingAttributes
- func (as AutomaticScalingAttributes) CoolDownPeriod() terra.StringValue
- func (as AutomaticScalingAttributes) CpuUtilization() terra.ListValue[AutomaticScalingCpuUtilizationAttributes]
- func (as AutomaticScalingAttributes) DiskUtilization() terra.ListValue[AutomaticScalingDiskUtilizationAttributes]
- func (as AutomaticScalingAttributes) InternalRef() (terra.Reference, error)
- func (as AutomaticScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (as AutomaticScalingAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingAttributes
- func (as AutomaticScalingAttributes) MaxConcurrentRequests() terra.NumberValue
- func (as AutomaticScalingAttributes) MaxIdleInstances() terra.NumberValue
- func (as AutomaticScalingAttributes) MaxPendingLatency() terra.StringValue
- func (as AutomaticScalingAttributes) MaxTotalInstances() terra.NumberValue
- func (as AutomaticScalingAttributes) MinIdleInstances() terra.NumberValue
- func (as AutomaticScalingAttributes) MinPendingLatency() terra.StringValue
- func (as AutomaticScalingAttributes) MinTotalInstances() terra.NumberValue
- func (as AutomaticScalingAttributes) NetworkUtilization() terra.ListValue[AutomaticScalingNetworkUtilizationAttributes]
- func (as AutomaticScalingAttributes) RequestUtilization() terra.ListValue[AutomaticScalingRequestUtilizationAttributes]
- type AutomaticScalingCpuUtilization
- type AutomaticScalingCpuUtilizationAttributes
- func (cu AutomaticScalingCpuUtilizationAttributes) AggregationWindowLength() terra.StringValue
- func (cu AutomaticScalingCpuUtilizationAttributes) InternalRef() (terra.Reference, error)
- func (cu AutomaticScalingCpuUtilizationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cu AutomaticScalingCpuUtilizationAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingCpuUtilizationAttributes
- func (cu AutomaticScalingCpuUtilizationAttributes) TargetUtilization() terra.NumberValue
- type AutomaticScalingCpuUtilizationState
- type AutomaticScalingDiskUtilization
- type AutomaticScalingDiskUtilizationAttributes
- func (du AutomaticScalingDiskUtilizationAttributes) InternalRef() (terra.Reference, error)
- func (du AutomaticScalingDiskUtilizationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (du AutomaticScalingDiskUtilizationAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingDiskUtilizationAttributes
- func (du AutomaticScalingDiskUtilizationAttributes) TargetReadBytesPerSecond() terra.NumberValue
- func (du AutomaticScalingDiskUtilizationAttributes) TargetReadOpsPerSecond() terra.NumberValue
- func (du AutomaticScalingDiskUtilizationAttributes) TargetWriteBytesPerSecond() terra.NumberValue
- func (du AutomaticScalingDiskUtilizationAttributes) TargetWriteOpsPerSecond() terra.NumberValue
- type AutomaticScalingDiskUtilizationState
- type AutomaticScalingNetworkUtilization
- type AutomaticScalingNetworkUtilizationAttributes
- func (nu AutomaticScalingNetworkUtilizationAttributes) InternalRef() (terra.Reference, error)
- func (nu AutomaticScalingNetworkUtilizationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nu AutomaticScalingNetworkUtilizationAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingNetworkUtilizationAttributes
- func (nu AutomaticScalingNetworkUtilizationAttributes) TargetReceivedBytesPerSecond() terra.NumberValue
- func (nu AutomaticScalingNetworkUtilizationAttributes) TargetReceivedPacketsPerSecond() terra.NumberValue
- func (nu AutomaticScalingNetworkUtilizationAttributes) TargetSentBytesPerSecond() terra.NumberValue
- func (nu AutomaticScalingNetworkUtilizationAttributes) TargetSentPacketsPerSecond() terra.NumberValue
- type AutomaticScalingNetworkUtilizationState
- type AutomaticScalingRequestUtilization
- type AutomaticScalingRequestUtilizationAttributes
- func (ru AutomaticScalingRequestUtilizationAttributes) InternalRef() (terra.Reference, error)
- func (ru AutomaticScalingRequestUtilizationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ru AutomaticScalingRequestUtilizationAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingRequestUtilizationAttributes
- func (ru AutomaticScalingRequestUtilizationAttributes) TargetConcurrentRequests() terra.NumberValue
- func (ru AutomaticScalingRequestUtilizationAttributes) TargetRequestCountPerSecond() terra.StringValue
- type AutomaticScalingRequestUtilizationState
- type AutomaticScalingState
- type Deployment
- type DeploymentAttributes
- func (d DeploymentAttributes) CloudBuildOptions() terra.ListValue[DeploymentCloudBuildOptionsAttributes]
- func (d DeploymentAttributes) Container() terra.ListValue[DeploymentContainerAttributes]
- func (d DeploymentAttributes) Files() terra.SetValue[DeploymentFilesAttributes]
- func (d DeploymentAttributes) InternalRef() (terra.Reference, error)
- func (d DeploymentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DeploymentAttributes) InternalWithRef(ref terra.Reference) DeploymentAttributes
- func (d DeploymentAttributes) Zip() terra.ListValue[DeploymentZipAttributes]
- type DeploymentCloudBuildOptions
- type DeploymentCloudBuildOptionsAttributes
- func (cbo DeploymentCloudBuildOptionsAttributes) AppYamlPath() terra.StringValue
- func (cbo DeploymentCloudBuildOptionsAttributes) CloudBuildTimeout() terra.StringValue
- func (cbo DeploymentCloudBuildOptionsAttributes) InternalRef() (terra.Reference, error)
- func (cbo DeploymentCloudBuildOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cbo DeploymentCloudBuildOptionsAttributes) InternalWithRef(ref terra.Reference) DeploymentCloudBuildOptionsAttributes
- type DeploymentCloudBuildOptionsState
- type DeploymentContainer
- type DeploymentContainerAttributes
- func (c DeploymentContainerAttributes) Image() terra.StringValue
- func (c DeploymentContainerAttributes) InternalRef() (terra.Reference, error)
- func (c DeploymentContainerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c DeploymentContainerAttributes) InternalWithRef(ref terra.Reference) DeploymentContainerAttributes
- type DeploymentContainerState
- type DeploymentFiles
- type DeploymentFilesAttributes
- func (f DeploymentFilesAttributes) InternalRef() (terra.Reference, error)
- func (f DeploymentFilesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f DeploymentFilesAttributes) InternalWithRef(ref terra.Reference) DeploymentFilesAttributes
- func (f DeploymentFilesAttributes) Name() terra.StringValue
- func (f DeploymentFilesAttributes) Sha1Sum() terra.StringValue
- func (f DeploymentFilesAttributes) SourceUrl() terra.StringValue
- type DeploymentFilesState
- type DeploymentState
- type DeploymentZip
- type DeploymentZipAttributes
- func (z DeploymentZipAttributes) FilesCount() terra.NumberValue
- func (z DeploymentZipAttributes) InternalRef() (terra.Reference, error)
- func (z DeploymentZipAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (z DeploymentZipAttributes) InternalWithRef(ref terra.Reference) DeploymentZipAttributes
- func (z DeploymentZipAttributes) SourceUrl() terra.StringValue
- type DeploymentZipState
- type EndpointsApiService
- type EndpointsApiServiceAttributes
- func (eas EndpointsApiServiceAttributes) ConfigId() terra.StringValue
- func (eas EndpointsApiServiceAttributes) DisableTraceSampling() terra.BoolValue
- func (eas EndpointsApiServiceAttributes) InternalRef() (terra.Reference, error)
- func (eas EndpointsApiServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (eas EndpointsApiServiceAttributes) InternalWithRef(ref terra.Reference) EndpointsApiServiceAttributes
- func (eas EndpointsApiServiceAttributes) Name() terra.StringValue
- func (eas EndpointsApiServiceAttributes) RolloutStrategy() terra.StringValue
- type EndpointsApiServiceState
- type Entrypoint
- type EntrypointAttributes
- type EntrypointState
- type Handlers
- type HandlersAttributes
- func (h HandlersAttributes) AuthFailAction() terra.StringValue
- func (h HandlersAttributes) InternalRef() (terra.Reference, error)
- func (h HandlersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h HandlersAttributes) InternalWithRef(ref terra.Reference) HandlersAttributes
- func (h HandlersAttributes) Login() terra.StringValue
- func (h HandlersAttributes) RedirectHttpResponseCode() terra.StringValue
- func (h HandlersAttributes) Script() terra.ListValue[HandlersScriptAttributes]
- func (h HandlersAttributes) SecurityLevel() terra.StringValue
- func (h HandlersAttributes) StaticFiles() terra.ListValue[HandlersStaticFilesAttributes]
- func (h HandlersAttributes) UrlRegex() terra.StringValue
- type HandlersScript
- type HandlersScriptAttributes
- func (s HandlersScriptAttributes) InternalRef() (terra.Reference, error)
- func (s HandlersScriptAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s HandlersScriptAttributes) InternalWithRef(ref terra.Reference) HandlersScriptAttributes
- func (s HandlersScriptAttributes) ScriptPath() terra.StringValue
- type HandlersScriptState
- type HandlersState
- type HandlersStaticFiles
- type HandlersStaticFilesAttributes
- func (sf HandlersStaticFilesAttributes) ApplicationReadable() terra.BoolValue
- func (sf HandlersStaticFilesAttributes) Expiration() terra.StringValue
- func (sf HandlersStaticFilesAttributes) HttpHeaders() terra.MapValue[terra.StringValue]
- func (sf HandlersStaticFilesAttributes) InternalRef() (terra.Reference, error)
- func (sf HandlersStaticFilesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sf HandlersStaticFilesAttributes) InternalWithRef(ref terra.Reference) HandlersStaticFilesAttributes
- func (sf HandlersStaticFilesAttributes) MimeType() terra.StringValue
- func (sf HandlersStaticFilesAttributes) Path() terra.StringValue
- func (sf HandlersStaticFilesAttributes) RequireMatchingFile() terra.BoolValue
- func (sf HandlersStaticFilesAttributes) UploadPathRegex() terra.StringValue
- type HandlersStaticFilesState
- type LivenessCheck
- type LivenessCheckAttributes
- func (lc LivenessCheckAttributes) CheckInterval() terra.StringValue
- func (lc LivenessCheckAttributes) FailureThreshold() terra.NumberValue
- func (lc LivenessCheckAttributes) Host() terra.StringValue
- func (lc LivenessCheckAttributes) InitialDelay() terra.StringValue
- func (lc LivenessCheckAttributes) InternalRef() (terra.Reference, error)
- func (lc LivenessCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lc LivenessCheckAttributes) InternalWithRef(ref terra.Reference) LivenessCheckAttributes
- func (lc LivenessCheckAttributes) Path() terra.StringValue
- func (lc LivenessCheckAttributes) SuccessThreshold() terra.NumberValue
- func (lc LivenessCheckAttributes) Timeout() terra.StringValue
- type LivenessCheckState
- type ManualScaling
- type ManualScalingAttributes
- func (ms ManualScalingAttributes) Instances() terra.NumberValue
- func (ms ManualScalingAttributes) InternalRef() (terra.Reference, error)
- func (ms ManualScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms ManualScalingAttributes) InternalWithRef(ref terra.Reference) ManualScalingAttributes
- type ManualScalingState
- type Network
- type NetworkAttributes
- func (n NetworkAttributes) ForwardedPorts() terra.ListValue[terra.StringValue]
- func (n NetworkAttributes) InstanceTag() terra.StringValue
- func (n NetworkAttributes) InternalRef() (terra.Reference, error)
- func (n NetworkAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (n NetworkAttributes) InternalWithRef(ref terra.Reference) NetworkAttributes
- func (n NetworkAttributes) Name() terra.StringValue
- func (n NetworkAttributes) SessionAffinity() terra.BoolValue
- func (n NetworkAttributes) Subnetwork() terra.StringValue
- type NetworkState
- type ReadinessCheck
- type ReadinessCheckAttributes
- func (rc ReadinessCheckAttributes) AppStartTimeout() terra.StringValue
- func (rc ReadinessCheckAttributes) CheckInterval() terra.StringValue
- func (rc ReadinessCheckAttributes) FailureThreshold() terra.NumberValue
- func (rc ReadinessCheckAttributes) Host() terra.StringValue
- func (rc ReadinessCheckAttributes) InternalRef() (terra.Reference, error)
- func (rc ReadinessCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc ReadinessCheckAttributes) InternalWithRef(ref terra.Reference) ReadinessCheckAttributes
- func (rc ReadinessCheckAttributes) Path() terra.StringValue
- func (rc ReadinessCheckAttributes) SuccessThreshold() terra.NumberValue
- func (rc ReadinessCheckAttributes) Timeout() terra.StringValue
- type ReadinessCheckState
- type Resource
- func (gaefav *Resource) Attributes() googleAppEngineFlexibleAppVersionAttributes
- func (gaefav *Resource) Configuration() interface{}
- func (gaefav *Resource) DependOn() terra.Reference
- func (gaefav *Resource) Dependencies() terra.Dependencies
- func (gaefav *Resource) ImportState(state io.Reader) error
- func (gaefav *Resource) LifecycleManagement() *terra.Lifecycle
- func (gaefav *Resource) LocalName() string
- func (gaefav *Resource) State() (*googleAppEngineFlexibleAppVersionState, bool)
- func (gaefav *Resource) StateMust() *googleAppEngineFlexibleAppVersionState
- func (gaefav *Resource) Type() string
- type Resources
- type ResourcesAttributes
- func (r ResourcesAttributes) Cpu() terra.NumberValue
- func (r ResourcesAttributes) DiskGb() terra.NumberValue
- func (r ResourcesAttributes) InternalRef() (terra.Reference, error)
- func (r ResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r ResourcesAttributes) InternalWithRef(ref terra.Reference) ResourcesAttributes
- func (r ResourcesAttributes) MemoryGb() terra.NumberValue
- func (r ResourcesAttributes) Volumes() terra.ListValue[ResourcesVolumesAttributes]
- type ResourcesState
- type ResourcesVolumes
- type ResourcesVolumesAttributes
- func (v ResourcesVolumesAttributes) InternalRef() (terra.Reference, error)
- func (v ResourcesVolumesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v ResourcesVolumesAttributes) InternalWithRef(ref terra.Reference) ResourcesVolumesAttributes
- func (v ResourcesVolumesAttributes) Name() terra.StringValue
- func (v ResourcesVolumesAttributes) SizeGb() terra.NumberValue
- func (v ResourcesVolumesAttributes) VolumeType() terra.StringValue
- type ResourcesVolumesState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type VpcAccessConnector
- type VpcAccessConnectorAttributes
- func (vac VpcAccessConnectorAttributes) InternalRef() (terra.Reference, error)
- func (vac VpcAccessConnectorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vac VpcAccessConnectorAttributes) InternalWithRef(ref terra.Reference) VpcAccessConnectorAttributes
- func (vac VpcAccessConnectorAttributes) Name() terra.StringValue
- type VpcAccessConnectorState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiConfig ¶
type ApiConfig struct { // AuthFailAction: string, optional AuthFailAction terra.StringValue `hcl:"auth_fail_action,attr"` // Login: string, optional Login terra.StringValue `hcl:"login,attr"` // Script: string, required Script terra.StringValue `hcl:"script,attr" validate:"required"` // SecurityLevel: string, optional SecurityLevel terra.StringValue `hcl:"security_level,attr"` // Url: string, optional Url terra.StringValue `hcl:"url,attr"` }
type ApiConfigAttributes ¶
type ApiConfigAttributes struct {
// contains filtered or unexported fields
}
func (ApiConfigAttributes) AuthFailAction ¶
func (ac ApiConfigAttributes) AuthFailAction() terra.StringValue
func (ApiConfigAttributes) InternalRef ¶
func (ac ApiConfigAttributes) InternalRef() (terra.Reference, error)
func (ApiConfigAttributes) InternalTokens ¶
func (ac ApiConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ApiConfigAttributes) InternalWithRef ¶
func (ac ApiConfigAttributes) InternalWithRef(ref terra.Reference) ApiConfigAttributes
func (ApiConfigAttributes) Login ¶
func (ac ApiConfigAttributes) Login() terra.StringValue
func (ApiConfigAttributes) Script ¶
func (ac ApiConfigAttributes) Script() terra.StringValue
func (ApiConfigAttributes) SecurityLevel ¶
func (ac ApiConfigAttributes) SecurityLevel() terra.StringValue
func (ApiConfigAttributes) Url ¶
func (ac ApiConfigAttributes) Url() terra.StringValue
type ApiConfigState ¶
type Args ¶
type Args struct { // BetaSettings: map of string, optional BetaSettings terra.MapValue[terra.StringValue] `hcl:"beta_settings,attr"` // DefaultExpiration: string, optional DefaultExpiration terra.StringValue `hcl:"default_expiration,attr"` // DeleteServiceOnDestroy: bool, optional DeleteServiceOnDestroy terra.BoolValue `hcl:"delete_service_on_destroy,attr"` // EnvVariables: map of string, optional EnvVariables terra.MapValue[terra.StringValue] `hcl:"env_variables,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InboundServices: set of string, optional InboundServices terra.SetValue[terra.StringValue] `hcl:"inbound_services,attr"` // InstanceClass: string, optional InstanceClass terra.StringValue `hcl:"instance_class,attr"` // NobuildFilesRegex: string, optional NobuildFilesRegex terra.StringValue `hcl:"nobuild_files_regex,attr"` // NoopOnDestroy: bool, optional NoopOnDestroy terra.BoolValue `hcl:"noop_on_destroy,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Runtime: string, required Runtime terra.StringValue `hcl:"runtime,attr" validate:"required"` // RuntimeApiVersion: string, optional RuntimeApiVersion terra.StringValue `hcl:"runtime_api_version,attr"` // RuntimeChannel: string, optional RuntimeChannel terra.StringValue `hcl:"runtime_channel,attr"` // RuntimeMainExecutablePath: string, optional RuntimeMainExecutablePath terra.StringValue `hcl:"runtime_main_executable_path,attr"` // Service: string, required Service terra.StringValue `hcl:"service,attr" validate:"required"` // ServiceAccount: string, optional ServiceAccount terra.StringValue `hcl:"service_account,attr"` // ServingStatus: string, optional ServingStatus terra.StringValue `hcl:"serving_status,attr"` // VersionId: string, optional VersionId terra.StringValue `hcl:"version_id,attr"` // ApiConfig: optional ApiConfig *ApiConfig `hcl:"api_config,block"` // AutomaticScaling: optional AutomaticScaling *AutomaticScaling `hcl:"automatic_scaling,block"` // Deployment: optional Deployment *Deployment `hcl:"deployment,block"` // EndpointsApiService: optional EndpointsApiService *EndpointsApiService `hcl:"endpoints_api_service,block"` // Entrypoint: optional Entrypoint *Entrypoint `hcl:"entrypoint,block"` // Handlers: min=0 Handlers []Handlers `hcl:"handlers,block" validate:"min=0"` // LivenessCheck: required LivenessCheck *LivenessCheck `hcl:"liveness_check,block" validate:"required"` // ManualScaling: optional ManualScaling *ManualScaling `hcl:"manual_scaling,block"` // Network: optional Network *Network `hcl:"network,block"` // ReadinessCheck: required ReadinessCheck *ReadinessCheck `hcl:"readiness_check,block" validate:"required"` // Resources: optional Resources *Resources `hcl:"resources,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // VpcAccessConnector: optional VpcAccessConnector *VpcAccessConnector `hcl:"vpc_access_connector,block"` }
Args contains the configurations for google_app_engine_flexible_app_version.
type AutomaticScaling ¶
type AutomaticScaling struct { // CoolDownPeriod: string, optional CoolDownPeriod terra.StringValue `hcl:"cool_down_period,attr"` // MaxConcurrentRequests: number, optional MaxConcurrentRequests terra.NumberValue `hcl:"max_concurrent_requests,attr"` // MaxIdleInstances: number, optional MaxIdleInstances terra.NumberValue `hcl:"max_idle_instances,attr"` // MaxPendingLatency: string, optional MaxPendingLatency terra.StringValue `hcl:"max_pending_latency,attr"` // MaxTotalInstances: number, optional MaxTotalInstances terra.NumberValue `hcl:"max_total_instances,attr"` // MinIdleInstances: number, optional MinIdleInstances terra.NumberValue `hcl:"min_idle_instances,attr"` // MinPendingLatency: string, optional MinPendingLatency terra.StringValue `hcl:"min_pending_latency,attr"` // MinTotalInstances: number, optional MinTotalInstances terra.NumberValue `hcl:"min_total_instances,attr"` // AutomaticScalingCpuUtilization: required CpuUtilization *AutomaticScalingCpuUtilization `hcl:"cpu_utilization,block" validate:"required"` // AutomaticScalingDiskUtilization: optional DiskUtilization *AutomaticScalingDiskUtilization `hcl:"disk_utilization,block"` // AutomaticScalingNetworkUtilization: optional NetworkUtilization *AutomaticScalingNetworkUtilization `hcl:"network_utilization,block"` // AutomaticScalingRequestUtilization: optional RequestUtilization *AutomaticScalingRequestUtilization `hcl:"request_utilization,block"` }
type AutomaticScalingAttributes ¶
type AutomaticScalingAttributes struct {
// contains filtered or unexported fields
}
func (AutomaticScalingAttributes) CoolDownPeriod ¶
func (as AutomaticScalingAttributes) CoolDownPeriod() terra.StringValue
func (AutomaticScalingAttributes) CpuUtilization ¶
func (as AutomaticScalingAttributes) CpuUtilization() terra.ListValue[AutomaticScalingCpuUtilizationAttributes]
func (AutomaticScalingAttributes) DiskUtilization ¶
func (as AutomaticScalingAttributes) DiskUtilization() terra.ListValue[AutomaticScalingDiskUtilizationAttributes]
func (AutomaticScalingAttributes) InternalRef ¶
func (as AutomaticScalingAttributes) InternalRef() (terra.Reference, error)
func (AutomaticScalingAttributes) InternalTokens ¶
func (as AutomaticScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutomaticScalingAttributes) InternalWithRef ¶
func (as AutomaticScalingAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingAttributes
func (AutomaticScalingAttributes) MaxConcurrentRequests ¶
func (as AutomaticScalingAttributes) MaxConcurrentRequests() terra.NumberValue
func (AutomaticScalingAttributes) MaxIdleInstances ¶
func (as AutomaticScalingAttributes) MaxIdleInstances() terra.NumberValue
func (AutomaticScalingAttributes) MaxPendingLatency ¶
func (as AutomaticScalingAttributes) MaxPendingLatency() terra.StringValue
func (AutomaticScalingAttributes) MaxTotalInstances ¶
func (as AutomaticScalingAttributes) MaxTotalInstances() terra.NumberValue
func (AutomaticScalingAttributes) MinIdleInstances ¶
func (as AutomaticScalingAttributes) MinIdleInstances() terra.NumberValue
func (AutomaticScalingAttributes) MinPendingLatency ¶
func (as AutomaticScalingAttributes) MinPendingLatency() terra.StringValue
func (AutomaticScalingAttributes) MinTotalInstances ¶
func (as AutomaticScalingAttributes) MinTotalInstances() terra.NumberValue
func (AutomaticScalingAttributes) NetworkUtilization ¶
func (as AutomaticScalingAttributes) NetworkUtilization() terra.ListValue[AutomaticScalingNetworkUtilizationAttributes]
func (AutomaticScalingAttributes) RequestUtilization ¶
func (as AutomaticScalingAttributes) RequestUtilization() terra.ListValue[AutomaticScalingRequestUtilizationAttributes]
type AutomaticScalingCpuUtilization ¶
type AutomaticScalingCpuUtilization struct { // AggregationWindowLength: string, optional AggregationWindowLength terra.StringValue `hcl:"aggregation_window_length,attr"` // TargetUtilization: number, required TargetUtilization terra.NumberValue `hcl:"target_utilization,attr" validate:"required"` }
type AutomaticScalingCpuUtilizationAttributes ¶
type AutomaticScalingCpuUtilizationAttributes struct {
// contains filtered or unexported fields
}
func (AutomaticScalingCpuUtilizationAttributes) AggregationWindowLength ¶
func (cu AutomaticScalingCpuUtilizationAttributes) AggregationWindowLength() terra.StringValue
func (AutomaticScalingCpuUtilizationAttributes) InternalRef ¶
func (cu AutomaticScalingCpuUtilizationAttributes) InternalRef() (terra.Reference, error)
func (AutomaticScalingCpuUtilizationAttributes) InternalTokens ¶
func (cu AutomaticScalingCpuUtilizationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutomaticScalingCpuUtilizationAttributes) InternalWithRef ¶
func (cu AutomaticScalingCpuUtilizationAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingCpuUtilizationAttributes
func (AutomaticScalingCpuUtilizationAttributes) TargetUtilization ¶
func (cu AutomaticScalingCpuUtilizationAttributes) TargetUtilization() terra.NumberValue
type AutomaticScalingDiskUtilization ¶
type AutomaticScalingDiskUtilization struct { // TargetReadBytesPerSecond: number, optional TargetReadBytesPerSecond terra.NumberValue `hcl:"target_read_bytes_per_second,attr"` // TargetReadOpsPerSecond: number, optional TargetReadOpsPerSecond terra.NumberValue `hcl:"target_read_ops_per_second,attr"` // TargetWriteBytesPerSecond: number, optional TargetWriteBytesPerSecond terra.NumberValue `hcl:"target_write_bytes_per_second,attr"` // TargetWriteOpsPerSecond: number, optional TargetWriteOpsPerSecond terra.NumberValue `hcl:"target_write_ops_per_second,attr"` }
type AutomaticScalingDiskUtilizationAttributes ¶
type AutomaticScalingDiskUtilizationAttributes struct {
// contains filtered or unexported fields
}
func (AutomaticScalingDiskUtilizationAttributes) InternalRef ¶
func (du AutomaticScalingDiskUtilizationAttributes) InternalRef() (terra.Reference, error)
func (AutomaticScalingDiskUtilizationAttributes) InternalTokens ¶
func (du AutomaticScalingDiskUtilizationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutomaticScalingDiskUtilizationAttributes) InternalWithRef ¶
func (du AutomaticScalingDiskUtilizationAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingDiskUtilizationAttributes
func (AutomaticScalingDiskUtilizationAttributes) TargetReadBytesPerSecond ¶
func (du AutomaticScalingDiskUtilizationAttributes) TargetReadBytesPerSecond() terra.NumberValue
func (AutomaticScalingDiskUtilizationAttributes) TargetReadOpsPerSecond ¶
func (du AutomaticScalingDiskUtilizationAttributes) TargetReadOpsPerSecond() terra.NumberValue
func (AutomaticScalingDiskUtilizationAttributes) TargetWriteBytesPerSecond ¶
func (du AutomaticScalingDiskUtilizationAttributes) TargetWriteBytesPerSecond() terra.NumberValue
func (AutomaticScalingDiskUtilizationAttributes) TargetWriteOpsPerSecond ¶
func (du AutomaticScalingDiskUtilizationAttributes) TargetWriteOpsPerSecond() terra.NumberValue
type AutomaticScalingDiskUtilizationState ¶
type AutomaticScalingDiskUtilizationState struct { TargetReadBytesPerSecond float64 `json:"target_read_bytes_per_second"` TargetReadOpsPerSecond float64 `json:"target_read_ops_per_second"` TargetWriteBytesPerSecond float64 `json:"target_write_bytes_per_second"` TargetWriteOpsPerSecond float64 `json:"target_write_ops_per_second"` }
type AutomaticScalingNetworkUtilization ¶
type AutomaticScalingNetworkUtilization struct { // TargetReceivedBytesPerSecond: number, optional TargetReceivedBytesPerSecond terra.NumberValue `hcl:"target_received_bytes_per_second,attr"` // TargetReceivedPacketsPerSecond: number, optional TargetReceivedPacketsPerSecond terra.NumberValue `hcl:"target_received_packets_per_second,attr"` // TargetSentBytesPerSecond: number, optional TargetSentBytesPerSecond terra.NumberValue `hcl:"target_sent_bytes_per_second,attr"` // TargetSentPacketsPerSecond: number, optional TargetSentPacketsPerSecond terra.NumberValue `hcl:"target_sent_packets_per_second,attr"` }
type AutomaticScalingNetworkUtilizationAttributes ¶
type AutomaticScalingNetworkUtilizationAttributes struct {
// contains filtered or unexported fields
}
func (AutomaticScalingNetworkUtilizationAttributes) InternalRef ¶
func (nu AutomaticScalingNetworkUtilizationAttributes) InternalRef() (terra.Reference, error)
func (AutomaticScalingNetworkUtilizationAttributes) InternalTokens ¶
func (nu AutomaticScalingNetworkUtilizationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutomaticScalingNetworkUtilizationAttributes) InternalWithRef ¶
func (nu AutomaticScalingNetworkUtilizationAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingNetworkUtilizationAttributes
func (AutomaticScalingNetworkUtilizationAttributes) TargetReceivedBytesPerSecond ¶
func (nu AutomaticScalingNetworkUtilizationAttributes) TargetReceivedBytesPerSecond() terra.NumberValue
func (AutomaticScalingNetworkUtilizationAttributes) TargetReceivedPacketsPerSecond ¶
func (nu AutomaticScalingNetworkUtilizationAttributes) TargetReceivedPacketsPerSecond() terra.NumberValue
func (AutomaticScalingNetworkUtilizationAttributes) TargetSentBytesPerSecond ¶
func (nu AutomaticScalingNetworkUtilizationAttributes) TargetSentBytesPerSecond() terra.NumberValue
func (AutomaticScalingNetworkUtilizationAttributes) TargetSentPacketsPerSecond ¶
func (nu AutomaticScalingNetworkUtilizationAttributes) TargetSentPacketsPerSecond() terra.NumberValue
type AutomaticScalingNetworkUtilizationState ¶
type AutomaticScalingNetworkUtilizationState struct { TargetReceivedBytesPerSecond float64 `json:"target_received_bytes_per_second"` TargetReceivedPacketsPerSecond float64 `json:"target_received_packets_per_second"` TargetSentBytesPerSecond float64 `json:"target_sent_bytes_per_second"` TargetSentPacketsPerSecond float64 `json:"target_sent_packets_per_second"` }
type AutomaticScalingRequestUtilization ¶
type AutomaticScalingRequestUtilization struct { // TargetConcurrentRequests: number, optional TargetConcurrentRequests terra.NumberValue `hcl:"target_concurrent_requests,attr"` // TargetRequestCountPerSecond: string, optional TargetRequestCountPerSecond terra.StringValue `hcl:"target_request_count_per_second,attr"` }
type AutomaticScalingRequestUtilizationAttributes ¶
type AutomaticScalingRequestUtilizationAttributes struct {
// contains filtered or unexported fields
}
func (AutomaticScalingRequestUtilizationAttributes) InternalRef ¶
func (ru AutomaticScalingRequestUtilizationAttributes) InternalRef() (terra.Reference, error)
func (AutomaticScalingRequestUtilizationAttributes) InternalTokens ¶
func (ru AutomaticScalingRequestUtilizationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutomaticScalingRequestUtilizationAttributes) InternalWithRef ¶
func (ru AutomaticScalingRequestUtilizationAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingRequestUtilizationAttributes
func (AutomaticScalingRequestUtilizationAttributes) TargetConcurrentRequests ¶
func (ru AutomaticScalingRequestUtilizationAttributes) TargetConcurrentRequests() terra.NumberValue
func (AutomaticScalingRequestUtilizationAttributes) TargetRequestCountPerSecond ¶
func (ru AutomaticScalingRequestUtilizationAttributes) TargetRequestCountPerSecond() terra.StringValue
type AutomaticScalingState ¶
type AutomaticScalingState struct { CoolDownPeriod string `json:"cool_down_period"` MaxConcurrentRequests float64 `json:"max_concurrent_requests"` MaxIdleInstances float64 `json:"max_idle_instances"` MaxPendingLatency string `json:"max_pending_latency"` MaxTotalInstances float64 `json:"max_total_instances"` MinIdleInstances float64 `json:"min_idle_instances"` MinPendingLatency string `json:"min_pending_latency"` MinTotalInstances float64 `json:"min_total_instances"` CpuUtilization []AutomaticScalingCpuUtilizationState `json:"cpu_utilization"` DiskUtilization []AutomaticScalingDiskUtilizationState `json:"disk_utilization"` NetworkUtilization []AutomaticScalingNetworkUtilizationState `json:"network_utilization"` RequestUtilization []AutomaticScalingRequestUtilizationState `json:"request_utilization"` }
type Deployment ¶
type Deployment struct { // DeploymentCloudBuildOptions: optional CloudBuildOptions *DeploymentCloudBuildOptions `hcl:"cloud_build_options,block"` // DeploymentContainer: optional Container *DeploymentContainer `hcl:"container,block"` // DeploymentFiles: min=0 Files []DeploymentFiles `hcl:"files,block" validate:"min=0"` // DeploymentZip: optional Zip *DeploymentZip `hcl:"zip,block"` }
type DeploymentAttributes ¶
type DeploymentAttributes struct {
// contains filtered or unexported fields
}
func (DeploymentAttributes) CloudBuildOptions ¶
func (d DeploymentAttributes) CloudBuildOptions() terra.ListValue[DeploymentCloudBuildOptionsAttributes]
func (DeploymentAttributes) Container ¶
func (d DeploymentAttributes) Container() terra.ListValue[DeploymentContainerAttributes]
func (DeploymentAttributes) Files ¶
func (d DeploymentAttributes) Files() terra.SetValue[DeploymentFilesAttributes]
func (DeploymentAttributes) InternalRef ¶
func (d DeploymentAttributes) InternalRef() (terra.Reference, error)
func (DeploymentAttributes) InternalTokens ¶
func (d DeploymentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeploymentAttributes) InternalWithRef ¶
func (d DeploymentAttributes) InternalWithRef(ref terra.Reference) DeploymentAttributes
func (DeploymentAttributes) Zip ¶
func (d DeploymentAttributes) Zip() terra.ListValue[DeploymentZipAttributes]
type DeploymentCloudBuildOptions ¶
type DeploymentCloudBuildOptions struct { // AppYamlPath: string, required AppYamlPath terra.StringValue `hcl:"app_yaml_path,attr" validate:"required"` // CloudBuildTimeout: string, optional CloudBuildTimeout terra.StringValue `hcl:"cloud_build_timeout,attr"` }
type DeploymentCloudBuildOptionsAttributes ¶
type DeploymentCloudBuildOptionsAttributes struct {
// contains filtered or unexported fields
}
func (DeploymentCloudBuildOptionsAttributes) AppYamlPath ¶
func (cbo DeploymentCloudBuildOptionsAttributes) AppYamlPath() terra.StringValue
func (DeploymentCloudBuildOptionsAttributes) CloudBuildTimeout ¶
func (cbo DeploymentCloudBuildOptionsAttributes) CloudBuildTimeout() terra.StringValue
func (DeploymentCloudBuildOptionsAttributes) InternalRef ¶
func (cbo DeploymentCloudBuildOptionsAttributes) InternalRef() (terra.Reference, error)
func (DeploymentCloudBuildOptionsAttributes) InternalTokens ¶
func (cbo DeploymentCloudBuildOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeploymentCloudBuildOptionsAttributes) InternalWithRef ¶
func (cbo DeploymentCloudBuildOptionsAttributes) InternalWithRef(ref terra.Reference) DeploymentCloudBuildOptionsAttributes
type DeploymentContainer ¶
type DeploymentContainer struct { // Image: string, required Image terra.StringValue `hcl:"image,attr" validate:"required"` }
type DeploymentContainerAttributes ¶
type DeploymentContainerAttributes struct {
// contains filtered or unexported fields
}
func (DeploymentContainerAttributes) Image ¶
func (c DeploymentContainerAttributes) Image() terra.StringValue
func (DeploymentContainerAttributes) InternalRef ¶
func (c DeploymentContainerAttributes) InternalRef() (terra.Reference, error)
func (DeploymentContainerAttributes) InternalTokens ¶
func (c DeploymentContainerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeploymentContainerAttributes) InternalWithRef ¶
func (c DeploymentContainerAttributes) InternalWithRef(ref terra.Reference) DeploymentContainerAttributes
type DeploymentContainerState ¶
type DeploymentContainerState struct {
Image string `json:"image"`
}
type DeploymentFiles ¶
type DeploymentFiles struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Sha1Sum: string, optional Sha1Sum terra.StringValue `hcl:"sha1_sum,attr"` // SourceUrl: string, required SourceUrl terra.StringValue `hcl:"source_url,attr" validate:"required"` }
type DeploymentFilesAttributes ¶
type DeploymentFilesAttributes struct {
// contains filtered or unexported fields
}
func (DeploymentFilesAttributes) InternalRef ¶
func (f DeploymentFilesAttributes) InternalRef() (terra.Reference, error)
func (DeploymentFilesAttributes) InternalTokens ¶
func (f DeploymentFilesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeploymentFilesAttributes) InternalWithRef ¶
func (f DeploymentFilesAttributes) InternalWithRef(ref terra.Reference) DeploymentFilesAttributes
func (DeploymentFilesAttributes) Name ¶
func (f DeploymentFilesAttributes) Name() terra.StringValue
func (DeploymentFilesAttributes) Sha1Sum ¶
func (f DeploymentFilesAttributes) Sha1Sum() terra.StringValue
func (DeploymentFilesAttributes) SourceUrl ¶
func (f DeploymentFilesAttributes) SourceUrl() terra.StringValue
type DeploymentFilesState ¶
type DeploymentState ¶
type DeploymentState struct { CloudBuildOptions []DeploymentCloudBuildOptionsState `json:"cloud_build_options"` Container []DeploymentContainerState `json:"container"` Files []DeploymentFilesState `json:"files"` Zip []DeploymentZipState `json:"zip"` }
type DeploymentZip ¶
type DeploymentZip struct { // FilesCount: number, optional FilesCount terra.NumberValue `hcl:"files_count,attr"` // SourceUrl: string, required SourceUrl terra.StringValue `hcl:"source_url,attr" validate:"required"` }
type DeploymentZipAttributes ¶
type DeploymentZipAttributes struct {
// contains filtered or unexported fields
}
func (DeploymentZipAttributes) FilesCount ¶
func (z DeploymentZipAttributes) FilesCount() terra.NumberValue
func (DeploymentZipAttributes) InternalRef ¶
func (z DeploymentZipAttributes) InternalRef() (terra.Reference, error)
func (DeploymentZipAttributes) InternalTokens ¶
func (z DeploymentZipAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeploymentZipAttributes) InternalWithRef ¶
func (z DeploymentZipAttributes) InternalWithRef(ref terra.Reference) DeploymentZipAttributes
func (DeploymentZipAttributes) SourceUrl ¶
func (z DeploymentZipAttributes) SourceUrl() terra.StringValue
type DeploymentZipState ¶
type EndpointsApiService ¶
type EndpointsApiService struct { // ConfigId: string, optional ConfigId terra.StringValue `hcl:"config_id,attr"` // DisableTraceSampling: bool, optional DisableTraceSampling terra.BoolValue `hcl:"disable_trace_sampling,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RolloutStrategy: string, optional RolloutStrategy terra.StringValue `hcl:"rollout_strategy,attr"` }
type EndpointsApiServiceAttributes ¶
type EndpointsApiServiceAttributes struct {
// contains filtered or unexported fields
}
func (EndpointsApiServiceAttributes) ConfigId ¶
func (eas EndpointsApiServiceAttributes) ConfigId() terra.StringValue
func (EndpointsApiServiceAttributes) DisableTraceSampling ¶
func (eas EndpointsApiServiceAttributes) DisableTraceSampling() terra.BoolValue
func (EndpointsApiServiceAttributes) InternalRef ¶
func (eas EndpointsApiServiceAttributes) InternalRef() (terra.Reference, error)
func (EndpointsApiServiceAttributes) InternalTokens ¶
func (eas EndpointsApiServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EndpointsApiServiceAttributes) InternalWithRef ¶
func (eas EndpointsApiServiceAttributes) InternalWithRef(ref terra.Reference) EndpointsApiServiceAttributes
func (EndpointsApiServiceAttributes) Name ¶
func (eas EndpointsApiServiceAttributes) Name() terra.StringValue
func (EndpointsApiServiceAttributes) RolloutStrategy ¶
func (eas EndpointsApiServiceAttributes) RolloutStrategy() terra.StringValue
type Entrypoint ¶
type Entrypoint struct { // Shell: string, required Shell terra.StringValue `hcl:"shell,attr" validate:"required"` }
type EntrypointAttributes ¶
type EntrypointAttributes struct {
// contains filtered or unexported fields
}
func (EntrypointAttributes) InternalRef ¶
func (e EntrypointAttributes) InternalRef() (terra.Reference, error)
func (EntrypointAttributes) InternalTokens ¶
func (e EntrypointAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EntrypointAttributes) InternalWithRef ¶
func (e EntrypointAttributes) InternalWithRef(ref terra.Reference) EntrypointAttributes
func (EntrypointAttributes) Shell ¶
func (e EntrypointAttributes) Shell() terra.StringValue
type EntrypointState ¶
type EntrypointState struct {
Shell string `json:"shell"`
}
type Handlers ¶
type Handlers struct { // AuthFailAction: string, optional AuthFailAction terra.StringValue `hcl:"auth_fail_action,attr"` // Login: string, optional Login terra.StringValue `hcl:"login,attr"` // RedirectHttpResponseCode: string, optional RedirectHttpResponseCode terra.StringValue `hcl:"redirect_http_response_code,attr"` // SecurityLevel: string, optional SecurityLevel terra.StringValue `hcl:"security_level,attr"` // UrlRegex: string, optional UrlRegex terra.StringValue `hcl:"url_regex,attr"` // HandlersScript: optional Script *HandlersScript `hcl:"script,block"` // HandlersStaticFiles: optional StaticFiles *HandlersStaticFiles `hcl:"static_files,block"` }
type HandlersAttributes ¶
type HandlersAttributes struct {
// contains filtered or unexported fields
}
func (HandlersAttributes) AuthFailAction ¶
func (h HandlersAttributes) AuthFailAction() terra.StringValue
func (HandlersAttributes) InternalRef ¶
func (h HandlersAttributes) InternalRef() (terra.Reference, error)
func (HandlersAttributes) InternalTokens ¶
func (h HandlersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HandlersAttributes) InternalWithRef ¶
func (h HandlersAttributes) InternalWithRef(ref terra.Reference) HandlersAttributes
func (HandlersAttributes) Login ¶
func (h HandlersAttributes) Login() terra.StringValue
func (HandlersAttributes) RedirectHttpResponseCode ¶
func (h HandlersAttributes) RedirectHttpResponseCode() terra.StringValue
func (HandlersAttributes) Script ¶
func (h HandlersAttributes) Script() terra.ListValue[HandlersScriptAttributes]
func (HandlersAttributes) SecurityLevel ¶
func (h HandlersAttributes) SecurityLevel() terra.StringValue
func (HandlersAttributes) StaticFiles ¶
func (h HandlersAttributes) StaticFiles() terra.ListValue[HandlersStaticFilesAttributes]
func (HandlersAttributes) UrlRegex ¶
func (h HandlersAttributes) UrlRegex() terra.StringValue
type HandlersScript ¶
type HandlersScript struct { // ScriptPath: string, required ScriptPath terra.StringValue `hcl:"script_path,attr" validate:"required"` }
type HandlersScriptAttributes ¶
type HandlersScriptAttributes struct {
// contains filtered or unexported fields
}
func (HandlersScriptAttributes) InternalRef ¶
func (s HandlersScriptAttributes) InternalRef() (terra.Reference, error)
func (HandlersScriptAttributes) InternalTokens ¶
func (s HandlersScriptAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HandlersScriptAttributes) InternalWithRef ¶
func (s HandlersScriptAttributes) InternalWithRef(ref terra.Reference) HandlersScriptAttributes
func (HandlersScriptAttributes) ScriptPath ¶
func (s HandlersScriptAttributes) ScriptPath() terra.StringValue
type HandlersScriptState ¶
type HandlersScriptState struct {
ScriptPath string `json:"script_path"`
}
type HandlersState ¶
type HandlersState struct { AuthFailAction string `json:"auth_fail_action"` Login string `json:"login"` RedirectHttpResponseCode string `json:"redirect_http_response_code"` SecurityLevel string `json:"security_level"` UrlRegex string `json:"url_regex"` Script []HandlersScriptState `json:"script"` StaticFiles []HandlersStaticFilesState `json:"static_files"` }
type HandlersStaticFiles ¶
type HandlersStaticFiles struct { // ApplicationReadable: bool, optional ApplicationReadable terra.BoolValue `hcl:"application_readable,attr"` // Expiration: string, optional Expiration terra.StringValue `hcl:"expiration,attr"` // HttpHeaders: map of string, optional HttpHeaders terra.MapValue[terra.StringValue] `hcl:"http_headers,attr"` // MimeType: string, optional MimeType terra.StringValue `hcl:"mime_type,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // RequireMatchingFile: bool, optional RequireMatchingFile terra.BoolValue `hcl:"require_matching_file,attr"` // UploadPathRegex: string, optional UploadPathRegex terra.StringValue `hcl:"upload_path_regex,attr"` }
type HandlersStaticFilesAttributes ¶
type HandlersStaticFilesAttributes struct {
// contains filtered or unexported fields
}
func (HandlersStaticFilesAttributes) ApplicationReadable ¶
func (sf HandlersStaticFilesAttributes) ApplicationReadable() terra.BoolValue
func (HandlersStaticFilesAttributes) Expiration ¶
func (sf HandlersStaticFilesAttributes) Expiration() terra.StringValue
func (HandlersStaticFilesAttributes) HttpHeaders ¶
func (sf HandlersStaticFilesAttributes) HttpHeaders() terra.MapValue[terra.StringValue]
func (HandlersStaticFilesAttributes) InternalRef ¶
func (sf HandlersStaticFilesAttributes) InternalRef() (terra.Reference, error)
func (HandlersStaticFilesAttributes) InternalTokens ¶
func (sf HandlersStaticFilesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HandlersStaticFilesAttributes) InternalWithRef ¶
func (sf HandlersStaticFilesAttributes) InternalWithRef(ref terra.Reference) HandlersStaticFilesAttributes
func (HandlersStaticFilesAttributes) MimeType ¶
func (sf HandlersStaticFilesAttributes) MimeType() terra.StringValue
func (HandlersStaticFilesAttributes) Path ¶
func (sf HandlersStaticFilesAttributes) Path() terra.StringValue
func (HandlersStaticFilesAttributes) RequireMatchingFile ¶
func (sf HandlersStaticFilesAttributes) RequireMatchingFile() terra.BoolValue
func (HandlersStaticFilesAttributes) UploadPathRegex ¶
func (sf HandlersStaticFilesAttributes) UploadPathRegex() terra.StringValue
type HandlersStaticFilesState ¶
type HandlersStaticFilesState struct { ApplicationReadable bool `json:"application_readable"` Expiration string `json:"expiration"` HttpHeaders map[string]string `json:"http_headers"` MimeType string `json:"mime_type"` Path string `json:"path"` RequireMatchingFile bool `json:"require_matching_file"` UploadPathRegex string `json:"upload_path_regex"` }
type LivenessCheck ¶
type LivenessCheck struct { // CheckInterval: string, optional CheckInterval terra.StringValue `hcl:"check_interval,attr"` // FailureThreshold: number, optional FailureThreshold terra.NumberValue `hcl:"failure_threshold,attr"` // Host: string, optional Host terra.StringValue `hcl:"host,attr"` // InitialDelay: string, optional InitialDelay terra.StringValue `hcl:"initial_delay,attr"` // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` // SuccessThreshold: number, optional SuccessThreshold terra.NumberValue `hcl:"success_threshold,attr"` // Timeout: string, optional Timeout terra.StringValue `hcl:"timeout,attr"` }
type LivenessCheckAttributes ¶
type LivenessCheckAttributes struct {
// contains filtered or unexported fields
}
func (LivenessCheckAttributes) CheckInterval ¶
func (lc LivenessCheckAttributes) CheckInterval() terra.StringValue
func (LivenessCheckAttributes) FailureThreshold ¶
func (lc LivenessCheckAttributes) FailureThreshold() terra.NumberValue
func (LivenessCheckAttributes) Host ¶
func (lc LivenessCheckAttributes) Host() terra.StringValue
func (LivenessCheckAttributes) InitialDelay ¶
func (lc LivenessCheckAttributes) InitialDelay() terra.StringValue
func (LivenessCheckAttributes) InternalRef ¶
func (lc LivenessCheckAttributes) InternalRef() (terra.Reference, error)
func (LivenessCheckAttributes) InternalTokens ¶
func (lc LivenessCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LivenessCheckAttributes) InternalWithRef ¶
func (lc LivenessCheckAttributes) InternalWithRef(ref terra.Reference) LivenessCheckAttributes
func (LivenessCheckAttributes) Path ¶
func (lc LivenessCheckAttributes) Path() terra.StringValue
func (LivenessCheckAttributes) SuccessThreshold ¶
func (lc LivenessCheckAttributes) SuccessThreshold() terra.NumberValue
func (LivenessCheckAttributes) Timeout ¶
func (lc LivenessCheckAttributes) Timeout() terra.StringValue
type LivenessCheckState ¶
type LivenessCheckState struct { CheckInterval string `json:"check_interval"` FailureThreshold float64 `json:"failure_threshold"` Host string `json:"host"` InitialDelay string `json:"initial_delay"` Path string `json:"path"` SuccessThreshold float64 `json:"success_threshold"` Timeout string `json:"timeout"` }
type ManualScaling ¶
type ManualScaling struct { // Instances: number, required Instances terra.NumberValue `hcl:"instances,attr" validate:"required"` }
type ManualScalingAttributes ¶
type ManualScalingAttributes struct {
// contains filtered or unexported fields
}
func (ManualScalingAttributes) Instances ¶
func (ms ManualScalingAttributes) Instances() terra.NumberValue
func (ManualScalingAttributes) InternalRef ¶
func (ms ManualScalingAttributes) InternalRef() (terra.Reference, error)
func (ManualScalingAttributes) InternalTokens ¶
func (ms ManualScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManualScalingAttributes) InternalWithRef ¶
func (ms ManualScalingAttributes) InternalWithRef(ref terra.Reference) ManualScalingAttributes
type ManualScalingState ¶
type ManualScalingState struct {
Instances float64 `json:"instances"`
}
type Network ¶
type Network struct { // ForwardedPorts: list of string, optional ForwardedPorts terra.ListValue[terra.StringValue] `hcl:"forwarded_ports,attr"` // InstanceTag: string, optional InstanceTag terra.StringValue `hcl:"instance_tag,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // SessionAffinity: bool, optional SessionAffinity terra.BoolValue `hcl:"session_affinity,attr"` // Subnetwork: string, optional Subnetwork terra.StringValue `hcl:"subnetwork,attr"` }
type NetworkAttributes ¶
type NetworkAttributes struct {
// contains filtered or unexported fields
}
func (NetworkAttributes) ForwardedPorts ¶
func (n NetworkAttributes) ForwardedPorts() terra.ListValue[terra.StringValue]
func (NetworkAttributes) InstanceTag ¶
func (n NetworkAttributes) InstanceTag() terra.StringValue
func (NetworkAttributes) InternalRef ¶
func (n NetworkAttributes) InternalRef() (terra.Reference, error)
func (NetworkAttributes) InternalTokens ¶
func (n NetworkAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkAttributes) InternalWithRef ¶
func (n NetworkAttributes) InternalWithRef(ref terra.Reference) NetworkAttributes
func (NetworkAttributes) Name ¶
func (n NetworkAttributes) Name() terra.StringValue
func (NetworkAttributes) SessionAffinity ¶
func (n NetworkAttributes) SessionAffinity() terra.BoolValue
func (NetworkAttributes) Subnetwork ¶
func (n NetworkAttributes) Subnetwork() terra.StringValue
type NetworkState ¶
type ReadinessCheck ¶
type ReadinessCheck struct { // AppStartTimeout: string, optional AppStartTimeout terra.StringValue `hcl:"app_start_timeout,attr"` // CheckInterval: string, optional CheckInterval terra.StringValue `hcl:"check_interval,attr"` // FailureThreshold: number, optional FailureThreshold terra.NumberValue `hcl:"failure_threshold,attr"` // Host: string, optional Host terra.StringValue `hcl:"host,attr"` // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` // SuccessThreshold: number, optional SuccessThreshold terra.NumberValue `hcl:"success_threshold,attr"` // Timeout: string, optional Timeout terra.StringValue `hcl:"timeout,attr"` }
type ReadinessCheckAttributes ¶
type ReadinessCheckAttributes struct {
// contains filtered or unexported fields
}
func (ReadinessCheckAttributes) AppStartTimeout ¶
func (rc ReadinessCheckAttributes) AppStartTimeout() terra.StringValue
func (ReadinessCheckAttributes) CheckInterval ¶
func (rc ReadinessCheckAttributes) CheckInterval() terra.StringValue
func (ReadinessCheckAttributes) FailureThreshold ¶
func (rc ReadinessCheckAttributes) FailureThreshold() terra.NumberValue
func (ReadinessCheckAttributes) Host ¶
func (rc ReadinessCheckAttributes) Host() terra.StringValue
func (ReadinessCheckAttributes) InternalRef ¶
func (rc ReadinessCheckAttributes) InternalRef() (terra.Reference, error)
func (ReadinessCheckAttributes) InternalTokens ¶
func (rc ReadinessCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReadinessCheckAttributes) InternalWithRef ¶
func (rc ReadinessCheckAttributes) InternalWithRef(ref terra.Reference) ReadinessCheckAttributes
func (ReadinessCheckAttributes) Path ¶
func (rc ReadinessCheckAttributes) Path() terra.StringValue
func (ReadinessCheckAttributes) SuccessThreshold ¶
func (rc ReadinessCheckAttributes) SuccessThreshold() terra.NumberValue
func (ReadinessCheckAttributes) Timeout ¶
func (rc ReadinessCheckAttributes) Timeout() terra.StringValue
type ReadinessCheckState ¶
type ReadinessCheckState struct { AppStartTimeout string `json:"app_start_timeout"` CheckInterval string `json:"check_interval"` FailureThreshold float64 `json:"failure_threshold"` Host string `json:"host"` Path string `json:"path"` SuccessThreshold float64 `json:"success_threshold"` Timeout string `json:"timeout"` }
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_app_engine_flexible_app_version.
func (*Resource) Attributes ¶
func (gaefav *Resource) Attributes() googleAppEngineFlexibleAppVersionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gaefav *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gaefav *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Resources ¶
type Resources struct { // Cpu: number, optional Cpu terra.NumberValue `hcl:"cpu,attr"` // DiskGb: number, optional DiskGb terra.NumberValue `hcl:"disk_gb,attr"` // MemoryGb: number, optional MemoryGb terra.NumberValue `hcl:"memory_gb,attr"` // ResourcesVolumes: min=0 Volumes []ResourcesVolumes `hcl:"volumes,block" validate:"min=0"` }
type ResourcesAttributes ¶
type ResourcesAttributes struct {
// contains filtered or unexported fields
}
func (ResourcesAttributes) Cpu ¶
func (r ResourcesAttributes) Cpu() terra.NumberValue
func (ResourcesAttributes) DiskGb ¶
func (r ResourcesAttributes) DiskGb() terra.NumberValue
func (ResourcesAttributes) InternalRef ¶
func (r ResourcesAttributes) InternalRef() (terra.Reference, error)
func (ResourcesAttributes) InternalTokens ¶
func (r ResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ResourcesAttributes) InternalWithRef ¶
func (r ResourcesAttributes) InternalWithRef(ref terra.Reference) ResourcesAttributes
func (ResourcesAttributes) MemoryGb ¶
func (r ResourcesAttributes) MemoryGb() terra.NumberValue
func (ResourcesAttributes) Volumes ¶
func (r ResourcesAttributes) Volumes() terra.ListValue[ResourcesVolumesAttributes]
type ResourcesState ¶
type ResourcesState struct { Cpu float64 `json:"cpu"` DiskGb float64 `json:"disk_gb"` MemoryGb float64 `json:"memory_gb"` Volumes []ResourcesVolumesState `json:"volumes"` }
type ResourcesVolumes ¶
type ResourcesVolumes struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // SizeGb: number, required SizeGb terra.NumberValue `hcl:"size_gb,attr" validate:"required"` // VolumeType: string, required VolumeType terra.StringValue `hcl:"volume_type,attr" validate:"required"` }
type ResourcesVolumesAttributes ¶
type ResourcesVolumesAttributes struct {
// contains filtered or unexported fields
}
func (ResourcesVolumesAttributes) InternalRef ¶
func (v ResourcesVolumesAttributes) InternalRef() (terra.Reference, error)
func (ResourcesVolumesAttributes) InternalTokens ¶
func (v ResourcesVolumesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ResourcesVolumesAttributes) InternalWithRef ¶
func (v ResourcesVolumesAttributes) InternalWithRef(ref terra.Reference) ResourcesVolumesAttributes
func (ResourcesVolumesAttributes) Name ¶
func (v ResourcesVolumesAttributes) Name() terra.StringValue
func (ResourcesVolumesAttributes) SizeGb ¶
func (v ResourcesVolumesAttributes) SizeGb() terra.NumberValue
func (ResourcesVolumesAttributes) VolumeType ¶
func (v ResourcesVolumesAttributes) VolumeType() terra.StringValue
type ResourcesVolumesState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type VpcAccessConnector ¶
type VpcAccessConnector struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type VpcAccessConnectorAttributes ¶
type VpcAccessConnectorAttributes struct {
// contains filtered or unexported fields
}
func (VpcAccessConnectorAttributes) InternalRef ¶
func (vac VpcAccessConnectorAttributes) InternalRef() (terra.Reference, error)
func (VpcAccessConnectorAttributes) InternalTokens ¶
func (vac VpcAccessConnectorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VpcAccessConnectorAttributes) InternalWithRef ¶
func (vac VpcAccessConnectorAttributes) InternalWithRef(ref terra.Reference) VpcAccessConnectorAttributes
func (VpcAccessConnectorAttributes) Name ¶
func (vac VpcAccessConnectorAttributes) Name() terra.StringValue
type VpcAccessConnectorState ¶
type VpcAccessConnectorState struct {
Name string `json:"name"`
}
Click to show internal directories.
Click to hide internal directories.