Documentation ¶
Index ¶
- type Args
- type GrpcHealthCheck
- type GrpcHealthCheckAttributes
- func (ghc GrpcHealthCheckAttributes) GrpcServiceName() terra.StringValue
- func (ghc GrpcHealthCheckAttributes) InternalRef() (terra.Reference, error)
- func (ghc GrpcHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ghc GrpcHealthCheckAttributes) InternalWithRef(ref terra.Reference) GrpcHealthCheckAttributes
- func (ghc GrpcHealthCheckAttributes) Port() terra.NumberValue
- func (ghc GrpcHealthCheckAttributes) PortName() terra.StringValue
- func (ghc GrpcHealthCheckAttributes) PortSpecification() terra.StringValue
- type GrpcHealthCheckState
- type Http2HealthCheck
- type Http2HealthCheckAttributes
- func (hhc Http2HealthCheckAttributes) Host() terra.StringValue
- func (hhc Http2HealthCheckAttributes) InternalRef() (terra.Reference, error)
- func (hhc Http2HealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hhc Http2HealthCheckAttributes) InternalWithRef(ref terra.Reference) Http2HealthCheckAttributes
- func (hhc Http2HealthCheckAttributes) Port() terra.NumberValue
- func (hhc Http2HealthCheckAttributes) PortName() terra.StringValue
- func (hhc Http2HealthCheckAttributes) PortSpecification() terra.StringValue
- func (hhc Http2HealthCheckAttributes) ProxyHeader() terra.StringValue
- func (hhc Http2HealthCheckAttributes) RequestPath() terra.StringValue
- func (hhc Http2HealthCheckAttributes) Response() terra.StringValue
- type Http2HealthCheckState
- type HttpHealthCheck
- type HttpHealthCheckAttributes
- func (hhc HttpHealthCheckAttributes) Host() terra.StringValue
- func (hhc HttpHealthCheckAttributes) InternalRef() (terra.Reference, error)
- func (hhc HttpHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hhc HttpHealthCheckAttributes) InternalWithRef(ref terra.Reference) HttpHealthCheckAttributes
- func (hhc HttpHealthCheckAttributes) Port() terra.NumberValue
- func (hhc HttpHealthCheckAttributes) PortName() terra.StringValue
- func (hhc HttpHealthCheckAttributes) PortSpecification() terra.StringValue
- func (hhc HttpHealthCheckAttributes) ProxyHeader() terra.StringValue
- func (hhc HttpHealthCheckAttributes) RequestPath() terra.StringValue
- func (hhc HttpHealthCheckAttributes) Response() terra.StringValue
- type HttpHealthCheckState
- type HttpsHealthCheck
- type HttpsHealthCheckAttributes
- func (hhc HttpsHealthCheckAttributes) Host() terra.StringValue
- func (hhc HttpsHealthCheckAttributes) InternalRef() (terra.Reference, error)
- func (hhc HttpsHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hhc HttpsHealthCheckAttributes) InternalWithRef(ref terra.Reference) HttpsHealthCheckAttributes
- func (hhc HttpsHealthCheckAttributes) Port() terra.NumberValue
- func (hhc HttpsHealthCheckAttributes) PortName() terra.StringValue
- func (hhc HttpsHealthCheckAttributes) PortSpecification() terra.StringValue
- func (hhc HttpsHealthCheckAttributes) ProxyHeader() terra.StringValue
- func (hhc HttpsHealthCheckAttributes) RequestPath() terra.StringValue
- func (hhc HttpsHealthCheckAttributes) Response() terra.StringValue
- type HttpsHealthCheckState
- type LogConfig
- type LogConfigAttributes
- type LogConfigState
- type Resource
- func (gcrhc *Resource) Attributes() googleComputeRegionHealthCheckAttributes
- func (gcrhc *Resource) Configuration() interface{}
- func (gcrhc *Resource) DependOn() terra.Reference
- func (gcrhc *Resource) Dependencies() terra.Dependencies
- func (gcrhc *Resource) ImportState(state io.Reader) error
- func (gcrhc *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcrhc *Resource) LocalName() string
- func (gcrhc *Resource) State() (*googleComputeRegionHealthCheckState, bool)
- func (gcrhc *Resource) StateMust() *googleComputeRegionHealthCheckState
- func (gcrhc *Resource) Type() string
- type SslHealthCheck
- type SslHealthCheckAttributes
- func (shc SslHealthCheckAttributes) InternalRef() (terra.Reference, error)
- func (shc SslHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (shc SslHealthCheckAttributes) InternalWithRef(ref terra.Reference) SslHealthCheckAttributes
- func (shc SslHealthCheckAttributes) Port() terra.NumberValue
- func (shc SslHealthCheckAttributes) PortName() terra.StringValue
- func (shc SslHealthCheckAttributes) PortSpecification() terra.StringValue
- func (shc SslHealthCheckAttributes) ProxyHeader() terra.StringValue
- func (shc SslHealthCheckAttributes) Request() terra.StringValue
- func (shc SslHealthCheckAttributes) Response() terra.StringValue
- type SslHealthCheckState
- type TcpHealthCheck
- type TcpHealthCheckAttributes
- func (thc TcpHealthCheckAttributes) InternalRef() (terra.Reference, error)
- func (thc TcpHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (thc TcpHealthCheckAttributes) InternalWithRef(ref terra.Reference) TcpHealthCheckAttributes
- func (thc TcpHealthCheckAttributes) Port() terra.NumberValue
- func (thc TcpHealthCheckAttributes) PortName() terra.StringValue
- func (thc TcpHealthCheckAttributes) PortSpecification() terra.StringValue
- func (thc TcpHealthCheckAttributes) ProxyHeader() terra.StringValue
- func (thc TcpHealthCheckAttributes) Request() terra.StringValue
- func (thc TcpHealthCheckAttributes) Response() terra.StringValue
- type TcpHealthCheckState
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // CheckIntervalSec: number, optional CheckIntervalSec terra.NumberValue `hcl:"check_interval_sec,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // HealthyThreshold: number, optional HealthyThreshold terra.NumberValue `hcl:"healthy_threshold,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // TimeoutSec: number, optional TimeoutSec terra.NumberValue `hcl:"timeout_sec,attr"` // UnhealthyThreshold: number, optional UnhealthyThreshold terra.NumberValue `hcl:"unhealthy_threshold,attr"` // GrpcHealthCheck: optional GrpcHealthCheck *GrpcHealthCheck `hcl:"grpc_health_check,block"` // Http2HealthCheck: optional Http2HealthCheck *Http2HealthCheck `hcl:"http2_health_check,block"` // HttpHealthCheck: optional HttpHealthCheck *HttpHealthCheck `hcl:"http_health_check,block"` // HttpsHealthCheck: optional HttpsHealthCheck *HttpsHealthCheck `hcl:"https_health_check,block"` // LogConfig: optional LogConfig *LogConfig `hcl:"log_config,block"` // SslHealthCheck: optional SslHealthCheck *SslHealthCheck `hcl:"ssl_health_check,block"` // TcpHealthCheck: optional TcpHealthCheck *TcpHealthCheck `hcl:"tcp_health_check,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_compute_region_health_check.
type GrpcHealthCheck ¶
type GrpcHealthCheck struct { // GrpcServiceName: string, optional GrpcServiceName terra.StringValue `hcl:"grpc_service_name,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // PortName: string, optional PortName terra.StringValue `hcl:"port_name,attr"` // PortSpecification: string, optional PortSpecification terra.StringValue `hcl:"port_specification,attr"` }
type GrpcHealthCheckAttributes ¶
type GrpcHealthCheckAttributes struct {
// contains filtered or unexported fields
}
func (GrpcHealthCheckAttributes) GrpcServiceName ¶
func (ghc GrpcHealthCheckAttributes) GrpcServiceName() terra.StringValue
func (GrpcHealthCheckAttributes) InternalRef ¶
func (ghc GrpcHealthCheckAttributes) InternalRef() (terra.Reference, error)
func (GrpcHealthCheckAttributes) InternalTokens ¶
func (ghc GrpcHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcHealthCheckAttributes) InternalWithRef ¶
func (ghc GrpcHealthCheckAttributes) InternalWithRef(ref terra.Reference) GrpcHealthCheckAttributes
func (GrpcHealthCheckAttributes) Port ¶
func (ghc GrpcHealthCheckAttributes) Port() terra.NumberValue
func (GrpcHealthCheckAttributes) PortName ¶
func (ghc GrpcHealthCheckAttributes) PortName() terra.StringValue
func (GrpcHealthCheckAttributes) PortSpecification ¶
func (ghc GrpcHealthCheckAttributes) PortSpecification() terra.StringValue
type GrpcHealthCheckState ¶
type Http2HealthCheck ¶
type Http2HealthCheck struct { // Host: string, optional Host terra.StringValue `hcl:"host,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // PortName: string, optional PortName terra.StringValue `hcl:"port_name,attr"` // PortSpecification: string, optional PortSpecification terra.StringValue `hcl:"port_specification,attr"` // ProxyHeader: string, optional ProxyHeader terra.StringValue `hcl:"proxy_header,attr"` // RequestPath: string, optional RequestPath terra.StringValue `hcl:"request_path,attr"` // Response: string, optional Response terra.StringValue `hcl:"response,attr"` }
type Http2HealthCheckAttributes ¶
type Http2HealthCheckAttributes struct {
// contains filtered or unexported fields
}
func (Http2HealthCheckAttributes) Host ¶
func (hhc Http2HealthCheckAttributes) Host() terra.StringValue
func (Http2HealthCheckAttributes) InternalRef ¶
func (hhc Http2HealthCheckAttributes) InternalRef() (terra.Reference, error)
func (Http2HealthCheckAttributes) InternalTokens ¶
func (hhc Http2HealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2HealthCheckAttributes) InternalWithRef ¶
func (hhc Http2HealthCheckAttributes) InternalWithRef(ref terra.Reference) Http2HealthCheckAttributes
func (Http2HealthCheckAttributes) Port ¶
func (hhc Http2HealthCheckAttributes) Port() terra.NumberValue
func (Http2HealthCheckAttributes) PortName ¶
func (hhc Http2HealthCheckAttributes) PortName() terra.StringValue
func (Http2HealthCheckAttributes) PortSpecification ¶
func (hhc Http2HealthCheckAttributes) PortSpecification() terra.StringValue
func (Http2HealthCheckAttributes) ProxyHeader ¶
func (hhc Http2HealthCheckAttributes) ProxyHeader() terra.StringValue
func (Http2HealthCheckAttributes) RequestPath ¶
func (hhc Http2HealthCheckAttributes) RequestPath() terra.StringValue
func (Http2HealthCheckAttributes) Response ¶
func (hhc Http2HealthCheckAttributes) Response() terra.StringValue
type Http2HealthCheckState ¶
type HttpHealthCheck ¶
type HttpHealthCheck struct { // Host: string, optional Host terra.StringValue `hcl:"host,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // PortName: string, optional PortName terra.StringValue `hcl:"port_name,attr"` // PortSpecification: string, optional PortSpecification terra.StringValue `hcl:"port_specification,attr"` // ProxyHeader: string, optional ProxyHeader terra.StringValue `hcl:"proxy_header,attr"` // RequestPath: string, optional RequestPath terra.StringValue `hcl:"request_path,attr"` // Response: string, optional Response terra.StringValue `hcl:"response,attr"` }
type HttpHealthCheckAttributes ¶
type HttpHealthCheckAttributes struct {
// contains filtered or unexported fields
}
func (HttpHealthCheckAttributes) Host ¶
func (hhc HttpHealthCheckAttributes) Host() terra.StringValue
func (HttpHealthCheckAttributes) InternalRef ¶
func (hhc HttpHealthCheckAttributes) InternalRef() (terra.Reference, error)
func (HttpHealthCheckAttributes) InternalTokens ¶
func (hhc HttpHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpHealthCheckAttributes) InternalWithRef ¶
func (hhc HttpHealthCheckAttributes) InternalWithRef(ref terra.Reference) HttpHealthCheckAttributes
func (HttpHealthCheckAttributes) Port ¶
func (hhc HttpHealthCheckAttributes) Port() terra.NumberValue
func (HttpHealthCheckAttributes) PortName ¶
func (hhc HttpHealthCheckAttributes) PortName() terra.StringValue
func (HttpHealthCheckAttributes) PortSpecification ¶
func (hhc HttpHealthCheckAttributes) PortSpecification() terra.StringValue
func (HttpHealthCheckAttributes) ProxyHeader ¶
func (hhc HttpHealthCheckAttributes) ProxyHeader() terra.StringValue
func (HttpHealthCheckAttributes) RequestPath ¶
func (hhc HttpHealthCheckAttributes) RequestPath() terra.StringValue
func (HttpHealthCheckAttributes) Response ¶
func (hhc HttpHealthCheckAttributes) Response() terra.StringValue
type HttpHealthCheckState ¶
type HttpsHealthCheck ¶
type HttpsHealthCheck struct { // Host: string, optional Host terra.StringValue `hcl:"host,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // PortName: string, optional PortName terra.StringValue `hcl:"port_name,attr"` // PortSpecification: string, optional PortSpecification terra.StringValue `hcl:"port_specification,attr"` // ProxyHeader: string, optional ProxyHeader terra.StringValue `hcl:"proxy_header,attr"` // RequestPath: string, optional RequestPath terra.StringValue `hcl:"request_path,attr"` // Response: string, optional Response terra.StringValue `hcl:"response,attr"` }
type HttpsHealthCheckAttributes ¶
type HttpsHealthCheckAttributes struct {
// contains filtered or unexported fields
}
func (HttpsHealthCheckAttributes) Host ¶
func (hhc HttpsHealthCheckAttributes) Host() terra.StringValue
func (HttpsHealthCheckAttributes) InternalRef ¶
func (hhc HttpsHealthCheckAttributes) InternalRef() (terra.Reference, error)
func (HttpsHealthCheckAttributes) InternalTokens ¶
func (hhc HttpsHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpsHealthCheckAttributes) InternalWithRef ¶
func (hhc HttpsHealthCheckAttributes) InternalWithRef(ref terra.Reference) HttpsHealthCheckAttributes
func (HttpsHealthCheckAttributes) Port ¶
func (hhc HttpsHealthCheckAttributes) Port() terra.NumberValue
func (HttpsHealthCheckAttributes) PortName ¶
func (hhc HttpsHealthCheckAttributes) PortName() terra.StringValue
func (HttpsHealthCheckAttributes) PortSpecification ¶
func (hhc HttpsHealthCheckAttributes) PortSpecification() terra.StringValue
func (HttpsHealthCheckAttributes) ProxyHeader ¶
func (hhc HttpsHealthCheckAttributes) ProxyHeader() terra.StringValue
func (HttpsHealthCheckAttributes) RequestPath ¶
func (hhc HttpsHealthCheckAttributes) RequestPath() terra.StringValue
func (HttpsHealthCheckAttributes) Response ¶
func (hhc HttpsHealthCheckAttributes) Response() terra.StringValue
type HttpsHealthCheckState ¶
type LogConfigAttributes ¶
type LogConfigAttributes struct {
// contains filtered or unexported fields
}
func (LogConfigAttributes) Enable ¶
func (lc LogConfigAttributes) Enable() terra.BoolValue
func (LogConfigAttributes) InternalRef ¶
func (lc LogConfigAttributes) InternalRef() (terra.Reference, error)
func (LogConfigAttributes) InternalTokens ¶
func (lc LogConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LogConfigAttributes) InternalWithRef ¶
func (lc LogConfigAttributes) InternalWithRef(ref terra.Reference) LogConfigAttributes
type LogConfigState ¶
type LogConfigState struct {
Enable bool `json:"enable"`
}
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_compute_region_health_check.
func (*Resource) Attributes ¶
func (gcrhc *Resource) Attributes() googleComputeRegionHealthCheckAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcrhc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcrhc *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 SslHealthCheck ¶
type SslHealthCheck struct { // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // PortName: string, optional PortName terra.StringValue `hcl:"port_name,attr"` // PortSpecification: string, optional PortSpecification terra.StringValue `hcl:"port_specification,attr"` // ProxyHeader: string, optional ProxyHeader terra.StringValue `hcl:"proxy_header,attr"` // Request: string, optional Request terra.StringValue `hcl:"request,attr"` // Response: string, optional Response terra.StringValue `hcl:"response,attr"` }
type SslHealthCheckAttributes ¶
type SslHealthCheckAttributes struct {
// contains filtered or unexported fields
}
func (SslHealthCheckAttributes) InternalRef ¶
func (shc SslHealthCheckAttributes) InternalRef() (terra.Reference, error)
func (SslHealthCheckAttributes) InternalTokens ¶
func (shc SslHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SslHealthCheckAttributes) InternalWithRef ¶
func (shc SslHealthCheckAttributes) InternalWithRef(ref terra.Reference) SslHealthCheckAttributes
func (SslHealthCheckAttributes) Port ¶
func (shc SslHealthCheckAttributes) Port() terra.NumberValue
func (SslHealthCheckAttributes) PortName ¶
func (shc SslHealthCheckAttributes) PortName() terra.StringValue
func (SslHealthCheckAttributes) PortSpecification ¶
func (shc SslHealthCheckAttributes) PortSpecification() terra.StringValue
func (SslHealthCheckAttributes) ProxyHeader ¶
func (shc SslHealthCheckAttributes) ProxyHeader() terra.StringValue
func (SslHealthCheckAttributes) Request ¶
func (shc SslHealthCheckAttributes) Request() terra.StringValue
func (SslHealthCheckAttributes) Response ¶
func (shc SslHealthCheckAttributes) Response() terra.StringValue
type SslHealthCheckState ¶
type TcpHealthCheck ¶
type TcpHealthCheck struct { // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // PortName: string, optional PortName terra.StringValue `hcl:"port_name,attr"` // PortSpecification: string, optional PortSpecification terra.StringValue `hcl:"port_specification,attr"` // ProxyHeader: string, optional ProxyHeader terra.StringValue `hcl:"proxy_header,attr"` // Request: string, optional Request terra.StringValue `hcl:"request,attr"` // Response: string, optional Response terra.StringValue `hcl:"response,attr"` }
type TcpHealthCheckAttributes ¶
type TcpHealthCheckAttributes struct {
// contains filtered or unexported fields
}
func (TcpHealthCheckAttributes) InternalRef ¶
func (thc TcpHealthCheckAttributes) InternalRef() (terra.Reference, error)
func (TcpHealthCheckAttributes) InternalTokens ¶
func (thc TcpHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TcpHealthCheckAttributes) InternalWithRef ¶
func (thc TcpHealthCheckAttributes) InternalWithRef(ref terra.Reference) TcpHealthCheckAttributes
func (TcpHealthCheckAttributes) Port ¶
func (thc TcpHealthCheckAttributes) Port() terra.NumberValue
func (TcpHealthCheckAttributes) PortName ¶
func (thc TcpHealthCheckAttributes) PortName() terra.StringValue
func (TcpHealthCheckAttributes) PortSpecification ¶
func (thc TcpHealthCheckAttributes) PortSpecification() terra.StringValue
func (TcpHealthCheckAttributes) ProxyHeader ¶
func (thc TcpHealthCheckAttributes) ProxyHeader() terra.StringValue
func (TcpHealthCheckAttributes) Request ¶
func (thc TcpHealthCheckAttributes) Request() terra.StringValue
func (TcpHealthCheckAttributes) Response ¶
func (thc TcpHealthCheckAttributes) Response() terra.StringValue
type TcpHealthCheckState ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.