Documentation ¶
Index ¶
- type Endpoint
- type EndpointAttributes
- func (e EndpointAttributes) Id() terra.StringValue
- func (e EndpointAttributes) InternalRef() (terra.Reference, error)
- func (e EndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e EndpointAttributes) InternalWithRef(ref terra.Reference) EndpointAttributes
- func (e EndpointAttributes) Region() terra.StringValue
- func (e EndpointAttributes) Type() terra.StringValue
- func (e EndpointAttributes) Value() terra.StringValue
- type EndpointState
- type GeoProximityLocation
- type GeoProximityLocationAttributes
- func (gpl GeoProximityLocationAttributes) Bias() terra.StringValue
- func (gpl GeoProximityLocationAttributes) EndpointReference() terra.StringValue
- func (gpl GeoProximityLocationAttributes) EvaluateTargetHealth() terra.BoolValue
- func (gpl GeoProximityLocationAttributes) HealthCheck() terra.StringValue
- func (gpl GeoProximityLocationAttributes) InternalRef() (terra.Reference, error)
- func (gpl GeoProximityLocationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gpl GeoProximityLocationAttributes) InternalWithRef(ref terra.Reference) GeoProximityLocationAttributes
- func (gpl GeoProximityLocationAttributes) Latitude() terra.StringValue
- func (gpl GeoProximityLocationAttributes) Longitude() terra.StringValue
- func (gpl GeoProximityLocationAttributes) Region() terra.StringValue
- func (gpl GeoProximityLocationAttributes) RuleReference() terra.StringValue
- type GeoProximityLocationState
- type Items
- type ItemsAttributes
- func (i ItemsAttributes) EndpointReference() terra.StringValue
- func (i ItemsAttributes) HealthCheck() terra.StringValue
- func (i ItemsAttributes) InternalRef() (terra.Reference, error)
- func (i ItemsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i ItemsAttributes) InternalWithRef(ref terra.Reference) ItemsAttributes
- type ItemsState
- type Location
- type LocationAttributes
- func (l LocationAttributes) Continent() terra.StringValue
- func (l LocationAttributes) Country() terra.StringValue
- func (l LocationAttributes) EndpointReference() terra.StringValue
- func (l LocationAttributes) EvaluateTargetHealth() terra.BoolValue
- func (l LocationAttributes) HealthCheck() terra.StringValue
- func (l LocationAttributes) InternalRef() (terra.Reference, error)
- func (l LocationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l LocationAttributes) InternalWithRef(ref terra.Reference) LocationAttributes
- func (l LocationAttributes) IsDefault() terra.BoolValue
- func (l LocationAttributes) RuleReference() terra.StringValue
- func (l LocationAttributes) Subdivision() terra.StringValue
- type LocationState
- type Primary
- type PrimaryAttributes
- func (p PrimaryAttributes) EndpointReference() terra.StringValue
- func (p PrimaryAttributes) EvaluateTargetHealth() terra.BoolValue
- func (p PrimaryAttributes) HealthCheck() terra.StringValue
- func (p PrimaryAttributes) InternalRef() (terra.Reference, error)
- func (p PrimaryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PrimaryAttributes) InternalWithRef(ref terra.Reference) PrimaryAttributes
- func (p PrimaryAttributes) RuleReference() terra.StringValue
- type PrimaryState
- type Region
- type RegionAttributes
- func (r RegionAttributes) EndpointReference() terra.StringValue
- func (r RegionAttributes) EvaluateTargetHealth() terra.BoolValue
- func (r RegionAttributes) HealthCheck() terra.StringValue
- func (r RegionAttributes) InternalRef() (terra.Reference, error)
- func (r RegionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RegionAttributes) InternalWithRef(ref terra.Reference) RegionAttributes
- func (r RegionAttributes) Region() terra.StringValue
- func (r RegionAttributes) RuleReference() terra.StringValue
- type RegionState
- type Rule
- type RuleAttributes
- func (r RuleAttributes) GeoProximityLocation() terra.SetValue[GeoProximityLocationAttributes]
- func (r RuleAttributes) Id() terra.StringValue
- func (r RuleAttributes) InternalRef() (terra.Reference, error)
- func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
- func (r RuleAttributes) Items() terra.SetValue[ItemsAttributes]
- func (r RuleAttributes) Location() terra.SetValue[LocationAttributes]
- func (r RuleAttributes) Primary() terra.ListValue[PrimaryAttributes]
- func (r RuleAttributes) Region() terra.SetValue[RegionAttributes]
- func (r RuleAttributes) Secondary() terra.ListValue[SecondaryAttributes]
- func (r RuleAttributes) Type() terra.StringValue
- type RuleState
- type Secondary
- type SecondaryAttributes
- func (s SecondaryAttributes) EndpointReference() terra.StringValue
- func (s SecondaryAttributes) EvaluateTargetHealth() terra.BoolValue
- func (s SecondaryAttributes) HealthCheck() terra.StringValue
- func (s SecondaryAttributes) InternalRef() (terra.Reference, error)
- func (s SecondaryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SecondaryAttributes) InternalWithRef(ref terra.Reference) SecondaryAttributes
- func (s SecondaryAttributes) RuleReference() terra.StringValue
- type SecondaryState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type EndpointAttributes ¶
type EndpointAttributes struct {
// contains filtered or unexported fields
}
func (EndpointAttributes) Id ¶
func (e EndpointAttributes) Id() terra.StringValue
func (EndpointAttributes) InternalRef ¶
func (e EndpointAttributes) InternalRef() (terra.Reference, error)
func (EndpointAttributes) InternalTokens ¶
func (e EndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EndpointAttributes) InternalWithRef ¶
func (e EndpointAttributes) InternalWithRef(ref terra.Reference) EndpointAttributes
func (EndpointAttributes) Region ¶
func (e EndpointAttributes) Region() terra.StringValue
func (EndpointAttributes) Type ¶
func (e EndpointAttributes) Type() terra.StringValue
func (EndpointAttributes) Value ¶
func (e EndpointAttributes) Value() terra.StringValue
type EndpointState ¶
type GeoProximityLocation ¶
type GeoProximityLocation struct { // Bias: string, optional Bias terra.StringValue `hcl:"bias,attr"` // EndpointReference: string, optional EndpointReference terra.StringValue `hcl:"endpoint_reference,attr"` // EvaluateTargetHealth: bool, optional EvaluateTargetHealth terra.BoolValue `hcl:"evaluate_target_health,attr"` // HealthCheck: string, optional HealthCheck terra.StringValue `hcl:"health_check,attr"` // Latitude: string, optional Latitude terra.StringValue `hcl:"latitude,attr"` // Longitude: string, optional Longitude terra.StringValue `hcl:"longitude,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // RuleReference: string, optional RuleReference terra.StringValue `hcl:"rule_reference,attr"` }
type GeoProximityLocationAttributes ¶
type GeoProximityLocationAttributes struct {
// contains filtered or unexported fields
}
func (GeoProximityLocationAttributes) Bias ¶
func (gpl GeoProximityLocationAttributes) Bias() terra.StringValue
func (GeoProximityLocationAttributes) EndpointReference ¶
func (gpl GeoProximityLocationAttributes) EndpointReference() terra.StringValue
func (GeoProximityLocationAttributes) EvaluateTargetHealth ¶
func (gpl GeoProximityLocationAttributes) EvaluateTargetHealth() terra.BoolValue
func (GeoProximityLocationAttributes) HealthCheck ¶
func (gpl GeoProximityLocationAttributes) HealthCheck() terra.StringValue
func (GeoProximityLocationAttributes) InternalRef ¶
func (gpl GeoProximityLocationAttributes) InternalRef() (terra.Reference, error)
func (GeoProximityLocationAttributes) InternalTokens ¶
func (gpl GeoProximityLocationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GeoProximityLocationAttributes) InternalWithRef ¶
func (gpl GeoProximityLocationAttributes) InternalWithRef(ref terra.Reference) GeoProximityLocationAttributes
func (GeoProximityLocationAttributes) Latitude ¶
func (gpl GeoProximityLocationAttributes) Latitude() terra.StringValue
func (GeoProximityLocationAttributes) Longitude ¶
func (gpl GeoProximityLocationAttributes) Longitude() terra.StringValue
func (GeoProximityLocationAttributes) Region ¶
func (gpl GeoProximityLocationAttributes) Region() terra.StringValue
func (GeoProximityLocationAttributes) RuleReference ¶
func (gpl GeoProximityLocationAttributes) RuleReference() terra.StringValue
type GeoProximityLocationState ¶
type GeoProximityLocationState struct { Bias string `json:"bias"` EndpointReference string `json:"endpoint_reference"` EvaluateTargetHealth bool `json:"evaluate_target_health"` HealthCheck string `json:"health_check"` Latitude string `json:"latitude"` Longitude string `json:"longitude"` Region string `json:"region"` RuleReference string `json:"rule_reference"` }
type Items ¶
type Items struct { // EndpointReference: string, optional EndpointReference terra.StringValue `hcl:"endpoint_reference,attr"` // HealthCheck: string, optional HealthCheck terra.StringValue `hcl:"health_check,attr"` }
type ItemsAttributes ¶
type ItemsAttributes struct {
// contains filtered or unexported fields
}
func (ItemsAttributes) EndpointReference ¶
func (i ItemsAttributes) EndpointReference() terra.StringValue
func (ItemsAttributes) HealthCheck ¶
func (i ItemsAttributes) HealthCheck() terra.StringValue
func (ItemsAttributes) InternalRef ¶
func (i ItemsAttributes) InternalRef() (terra.Reference, error)
func (ItemsAttributes) InternalTokens ¶
func (i ItemsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ItemsAttributes) InternalWithRef ¶
func (i ItemsAttributes) InternalWithRef(ref terra.Reference) ItemsAttributes
type ItemsState ¶
type Location ¶
type Location struct { // Continent: string, optional Continent terra.StringValue `hcl:"continent,attr"` // Country: string, optional Country terra.StringValue `hcl:"country,attr"` // EndpointReference: string, optional EndpointReference terra.StringValue `hcl:"endpoint_reference,attr"` // EvaluateTargetHealth: bool, optional EvaluateTargetHealth terra.BoolValue `hcl:"evaluate_target_health,attr"` // HealthCheck: string, optional HealthCheck terra.StringValue `hcl:"health_check,attr"` // IsDefault: bool, optional IsDefault terra.BoolValue `hcl:"is_default,attr"` // RuleReference: string, optional RuleReference terra.StringValue `hcl:"rule_reference,attr"` // Subdivision: string, optional Subdivision terra.StringValue `hcl:"subdivision,attr"` }
type LocationAttributes ¶
type LocationAttributes struct {
// contains filtered or unexported fields
}
func (LocationAttributes) Continent ¶
func (l LocationAttributes) Continent() terra.StringValue
func (LocationAttributes) Country ¶
func (l LocationAttributes) Country() terra.StringValue
func (LocationAttributes) EndpointReference ¶
func (l LocationAttributes) EndpointReference() terra.StringValue
func (LocationAttributes) EvaluateTargetHealth ¶
func (l LocationAttributes) EvaluateTargetHealth() terra.BoolValue
func (LocationAttributes) HealthCheck ¶
func (l LocationAttributes) HealthCheck() terra.StringValue
func (LocationAttributes) InternalRef ¶
func (l LocationAttributes) InternalRef() (terra.Reference, error)
func (LocationAttributes) InternalTokens ¶
func (l LocationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LocationAttributes) InternalWithRef ¶
func (l LocationAttributes) InternalWithRef(ref terra.Reference) LocationAttributes
func (LocationAttributes) IsDefault ¶
func (l LocationAttributes) IsDefault() terra.BoolValue
func (LocationAttributes) RuleReference ¶
func (l LocationAttributes) RuleReference() terra.StringValue
func (LocationAttributes) Subdivision ¶
func (l LocationAttributes) Subdivision() terra.StringValue
type LocationState ¶
type LocationState struct { Continent string `json:"continent"` Country string `json:"country"` EndpointReference string `json:"endpoint_reference"` EvaluateTargetHealth bool `json:"evaluate_target_health"` HealthCheck string `json:"health_check"` IsDefault bool `json:"is_default"` RuleReference string `json:"rule_reference"` Subdivision string `json:"subdivision"` }
type Primary ¶
type Primary struct { // EndpointReference: string, optional EndpointReference terra.StringValue `hcl:"endpoint_reference,attr"` // EvaluateTargetHealth: bool, optional EvaluateTargetHealth terra.BoolValue `hcl:"evaluate_target_health,attr"` // HealthCheck: string, optional HealthCheck terra.StringValue `hcl:"health_check,attr"` // RuleReference: string, optional RuleReference terra.StringValue `hcl:"rule_reference,attr"` }
type PrimaryAttributes ¶
type PrimaryAttributes struct {
// contains filtered or unexported fields
}
func (PrimaryAttributes) EndpointReference ¶
func (p PrimaryAttributes) EndpointReference() terra.StringValue
func (PrimaryAttributes) EvaluateTargetHealth ¶
func (p PrimaryAttributes) EvaluateTargetHealth() terra.BoolValue
func (PrimaryAttributes) HealthCheck ¶
func (p PrimaryAttributes) HealthCheck() terra.StringValue
func (PrimaryAttributes) InternalRef ¶
func (p PrimaryAttributes) InternalRef() (terra.Reference, error)
func (PrimaryAttributes) InternalTokens ¶
func (p PrimaryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PrimaryAttributes) InternalWithRef ¶
func (p PrimaryAttributes) InternalWithRef(ref terra.Reference) PrimaryAttributes
func (PrimaryAttributes) RuleReference ¶
func (p PrimaryAttributes) RuleReference() terra.StringValue
type PrimaryState ¶
type Region ¶
type Region struct { // EndpointReference: string, optional EndpointReference terra.StringValue `hcl:"endpoint_reference,attr"` // EvaluateTargetHealth: bool, optional EvaluateTargetHealth terra.BoolValue `hcl:"evaluate_target_health,attr"` // HealthCheck: string, optional HealthCheck terra.StringValue `hcl:"health_check,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // RuleReference: string, optional RuleReference terra.StringValue `hcl:"rule_reference,attr"` }
type RegionAttributes ¶
type RegionAttributes struct {
// contains filtered or unexported fields
}
func (RegionAttributes) EndpointReference ¶
func (r RegionAttributes) EndpointReference() terra.StringValue
func (RegionAttributes) EvaluateTargetHealth ¶
func (r RegionAttributes) EvaluateTargetHealth() terra.BoolValue
func (RegionAttributes) HealthCheck ¶
func (r RegionAttributes) HealthCheck() terra.StringValue
func (RegionAttributes) InternalRef ¶
func (r RegionAttributes) InternalRef() (terra.Reference, error)
func (RegionAttributes) InternalTokens ¶
func (r RegionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RegionAttributes) InternalWithRef ¶
func (r RegionAttributes) InternalWithRef(ref terra.Reference) RegionAttributes
func (RegionAttributes) Region ¶
func (r RegionAttributes) Region() terra.StringValue
func (RegionAttributes) RuleReference ¶
func (r RegionAttributes) RuleReference() terra.StringValue
type RegionState ¶
type Rule ¶
type Rule struct { // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // GeoProximityLocation: min=0 GeoProximityLocation []GeoProximityLocation `hcl:"geo_proximity_location,block" validate:"min=0"` // Items: min=0 Items []Items `hcl:"items,block" validate:"min=0"` // Location: min=0 Location []Location `hcl:"location,block" validate:"min=0"` // Primary: optional Primary *Primary `hcl:"primary,block"` // Region: min=0 Region []Region `hcl:"region,block" validate:"min=0"` // Secondary: optional Secondary *Secondary `hcl:"secondary,block"` }
type RuleAttributes ¶
type RuleAttributes struct {
// contains filtered or unexported fields
}
func (RuleAttributes) GeoProximityLocation ¶
func (r RuleAttributes) GeoProximityLocation() terra.SetValue[GeoProximityLocationAttributes]
func (RuleAttributes) Id ¶
func (r RuleAttributes) Id() terra.StringValue
func (RuleAttributes) InternalRef ¶
func (r RuleAttributes) InternalRef() (terra.Reference, error)
func (RuleAttributes) InternalTokens ¶
func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleAttributes) InternalWithRef ¶
func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
func (RuleAttributes) Items ¶
func (r RuleAttributes) Items() terra.SetValue[ItemsAttributes]
func (RuleAttributes) Location ¶
func (r RuleAttributes) Location() terra.SetValue[LocationAttributes]
func (RuleAttributes) Primary ¶
func (r RuleAttributes) Primary() terra.ListValue[PrimaryAttributes]
func (RuleAttributes) Region ¶
func (r RuleAttributes) Region() terra.SetValue[RegionAttributes]
func (RuleAttributes) Secondary ¶
func (r RuleAttributes) Secondary() terra.ListValue[SecondaryAttributes]
func (RuleAttributes) Type ¶
func (r RuleAttributes) Type() terra.StringValue
type RuleState ¶
type RuleState struct { Id string `json:"id"` Type string `json:"type"` GeoProximityLocation []GeoProximityLocationState `json:"geo_proximity_location"` Items []ItemsState `json:"items"` Location []LocationState `json:"location"` Primary []PrimaryState `json:"primary"` Region []RegionState `json:"region"` Secondary []SecondaryState `json:"secondary"` }
type Secondary ¶
type Secondary struct { // EndpointReference: string, optional EndpointReference terra.StringValue `hcl:"endpoint_reference,attr"` // EvaluateTargetHealth: bool, optional EvaluateTargetHealth terra.BoolValue `hcl:"evaluate_target_health,attr"` // HealthCheck: string, optional HealthCheck terra.StringValue `hcl:"health_check,attr"` // RuleReference: string, optional RuleReference terra.StringValue `hcl:"rule_reference,attr"` }
type SecondaryAttributes ¶
type SecondaryAttributes struct {
// contains filtered or unexported fields
}
func (SecondaryAttributes) EndpointReference ¶
func (s SecondaryAttributes) EndpointReference() terra.StringValue
func (SecondaryAttributes) EvaluateTargetHealth ¶
func (s SecondaryAttributes) EvaluateTargetHealth() terra.BoolValue
func (SecondaryAttributes) HealthCheck ¶
func (s SecondaryAttributes) HealthCheck() terra.StringValue
func (SecondaryAttributes) InternalRef ¶
func (s SecondaryAttributes) InternalRef() (terra.Reference, error)
func (SecondaryAttributes) InternalTokens ¶
func (s SecondaryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecondaryAttributes) InternalWithRef ¶
func (s SecondaryAttributes) InternalWithRef(ref terra.Reference) SecondaryAttributes
func (SecondaryAttributes) RuleReference ¶
func (s SecondaryAttributes) RuleReference() terra.StringValue
Click to show internal directories.
Click to hide internal directories.