Documentation ¶
Index ¶
- type CustomHeader
- type CustomHeaderAttributes
- func (ch CustomHeaderAttributes) InternalRef() (terra.Reference, error)
- func (ch CustomHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ch CustomHeaderAttributes) InternalWithRef(ref terra.Reference) CustomHeaderAttributes
- func (ch CustomHeaderAttributes) Name() terra.StringValue
- func (ch CustomHeaderAttributes) Value() terra.StringValue
- type CustomHeaderState
- type DnsConfig
- type DnsConfigAttributes
- func (dc DnsConfigAttributes) InternalRef() (terra.Reference, error)
- func (dc DnsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dc DnsConfigAttributes) InternalWithRef(ref terra.Reference) DnsConfigAttributes
- func (dc DnsConfigAttributes) RelativeName() terra.StringValue
- func (dc DnsConfigAttributes) Ttl() terra.NumberValue
- type DnsConfigState
- type MonitorConfig
- type MonitorConfigAttributes
- func (mc MonitorConfigAttributes) CustomHeader() terra.ListValue[CustomHeaderAttributes]
- func (mc MonitorConfigAttributes) ExpectedStatusCodeRanges() terra.ListValue[terra.StringValue]
- func (mc MonitorConfigAttributes) InternalRef() (terra.Reference, error)
- func (mc MonitorConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mc MonitorConfigAttributes) InternalWithRef(ref terra.Reference) MonitorConfigAttributes
- func (mc MonitorConfigAttributes) IntervalInSeconds() terra.NumberValue
- func (mc MonitorConfigAttributes) Path() terra.StringValue
- func (mc MonitorConfigAttributes) Port() terra.NumberValue
- func (mc MonitorConfigAttributes) Protocol() terra.StringValue
- func (mc MonitorConfigAttributes) TimeoutInSeconds() terra.NumberValue
- func (mc MonitorConfigAttributes) ToleratedNumberOfFailures() terra.NumberValue
- type MonitorConfigState
- type Timeouts
- type TimeoutsAttributes
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomHeader ¶
type CustomHeader struct{}
type CustomHeaderAttributes ¶
type CustomHeaderAttributes struct {
// contains filtered or unexported fields
}
func (CustomHeaderAttributes) InternalRef ¶
func (ch CustomHeaderAttributes) InternalRef() (terra.Reference, error)
func (CustomHeaderAttributes) InternalTokens ¶
func (ch CustomHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomHeaderAttributes) InternalWithRef ¶
func (ch CustomHeaderAttributes) InternalWithRef(ref terra.Reference) CustomHeaderAttributes
func (CustomHeaderAttributes) Name ¶
func (ch CustomHeaderAttributes) Name() terra.StringValue
func (CustomHeaderAttributes) Value ¶
func (ch CustomHeaderAttributes) Value() terra.StringValue
type CustomHeaderState ¶
type DnsConfigAttributes ¶
type DnsConfigAttributes struct {
// contains filtered or unexported fields
}
func (DnsConfigAttributes) InternalRef ¶
func (dc DnsConfigAttributes) InternalRef() (terra.Reference, error)
func (DnsConfigAttributes) InternalTokens ¶
func (dc DnsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DnsConfigAttributes) InternalWithRef ¶
func (dc DnsConfigAttributes) InternalWithRef(ref terra.Reference) DnsConfigAttributes
func (DnsConfigAttributes) RelativeName ¶
func (dc DnsConfigAttributes) RelativeName() terra.StringValue
func (DnsConfigAttributes) Ttl ¶
func (dc DnsConfigAttributes) Ttl() terra.NumberValue
type DnsConfigState ¶
type MonitorConfig ¶
type MonitorConfig struct { // CustomHeader: min=0 CustomHeader []CustomHeader `hcl:"custom_header,block" validate:"min=0"` }
type MonitorConfigAttributes ¶
type MonitorConfigAttributes struct {
// contains filtered or unexported fields
}
func (MonitorConfigAttributes) CustomHeader ¶
func (mc MonitorConfigAttributes) CustomHeader() terra.ListValue[CustomHeaderAttributes]
func (MonitorConfigAttributes) ExpectedStatusCodeRanges ¶
func (mc MonitorConfigAttributes) ExpectedStatusCodeRanges() terra.ListValue[terra.StringValue]
func (MonitorConfigAttributes) InternalRef ¶
func (mc MonitorConfigAttributes) InternalRef() (terra.Reference, error)
func (MonitorConfigAttributes) InternalTokens ¶
func (mc MonitorConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MonitorConfigAttributes) InternalWithRef ¶
func (mc MonitorConfigAttributes) InternalWithRef(ref terra.Reference) MonitorConfigAttributes
func (MonitorConfigAttributes) IntervalInSeconds ¶
func (mc MonitorConfigAttributes) IntervalInSeconds() terra.NumberValue
func (MonitorConfigAttributes) Path ¶
func (mc MonitorConfigAttributes) Path() terra.StringValue
func (MonitorConfigAttributes) Port ¶
func (mc MonitorConfigAttributes) Port() terra.NumberValue
func (MonitorConfigAttributes) Protocol ¶
func (mc MonitorConfigAttributes) Protocol() terra.StringValue
func (MonitorConfigAttributes) TimeoutInSeconds ¶
func (mc MonitorConfigAttributes) TimeoutInSeconds() terra.NumberValue
func (MonitorConfigAttributes) ToleratedNumberOfFailures ¶
func (mc MonitorConfigAttributes) ToleratedNumberOfFailures() terra.NumberValue
type MonitorConfigState ¶
type MonitorConfigState struct { ExpectedStatusCodeRanges []string `json:"expected_status_code_ranges"` IntervalInSeconds float64 `json:"interval_in_seconds"` Path string `json:"path"` Port float64 `json:"port"` Protocol string `json:"protocol"` TimeoutInSeconds float64 `json:"timeout_in_seconds"` ToleratedNumberOfFailures float64 `json:"tolerated_number_of_failures"` CustomHeader []CustomHeaderState `json:"custom_header"` }
type Timeouts ¶
type Timeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
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) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
type TimeoutsState ¶
type TimeoutsState struct {
Read string `json:"read"`
}
Click to show internal directories.
Click to hide internal directories.