lbtargetgroup

package
v0.0.0-...-917d9f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheck

type HealthCheck struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// HealthyThreshold: number, optional
	HealthyThreshold terra.NumberValue `hcl:"healthy_threshold,attr"`
	// Interval: number, optional
	Interval terra.NumberValue `hcl:"interval,attr"`
	// Matcher: string, optional
	Matcher terra.StringValue `hcl:"matcher,attr"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// Port: string, optional
	Port terra.StringValue `hcl:"port,attr"`
	// Protocol: string, optional
	Protocol terra.StringValue `hcl:"protocol,attr"`
	// Timeout: number, optional
	Timeout terra.NumberValue `hcl:"timeout,attr"`
	// UnhealthyThreshold: number, optional
	UnhealthyThreshold terra.NumberValue `hcl:"unhealthy_threshold,attr"`
}

type HealthCheckAttributes

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

func (HealthCheckAttributes) Enabled

func (hc HealthCheckAttributes) Enabled() terra.BoolValue

func (HealthCheckAttributes) HealthyThreshold

func (hc HealthCheckAttributes) HealthyThreshold() terra.NumberValue

func (HealthCheckAttributes) InternalRef

func (hc HealthCheckAttributes) InternalRef() (terra.Reference, error)

func (HealthCheckAttributes) InternalTokens

func (hc HealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HealthCheckAttributes) InternalWithRef

func (HealthCheckAttributes) Interval

func (hc HealthCheckAttributes) Interval() terra.NumberValue

func (HealthCheckAttributes) Matcher

func (HealthCheckAttributes) Path

func (HealthCheckAttributes) Port

func (HealthCheckAttributes) Protocol

func (hc HealthCheckAttributes) Protocol() terra.StringValue

func (HealthCheckAttributes) Timeout

func (HealthCheckAttributes) UnhealthyThreshold

func (hc HealthCheckAttributes) UnhealthyThreshold() terra.NumberValue

type HealthCheckState

type HealthCheckState struct {
	Enabled            bool    `json:"enabled"`
	HealthyThreshold   float64 `json:"healthy_threshold"`
	Interval           float64 `json:"interval"`
	Matcher            string  `json:"matcher"`
	Path               string  `json:"path"`
	Port               string  `json:"port"`
	Protocol           string  `json:"protocol"`
	Timeout            float64 `json:"timeout"`
	UnhealthyThreshold float64 `json:"unhealthy_threshold"`
}

type Stickiness

type Stickiness struct {
	// CookieDuration: number, optional
	CookieDuration terra.NumberValue `hcl:"cookie_duration,attr"`
	// CookieName: string, optional
	CookieName terra.StringValue `hcl:"cookie_name,attr"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type StickinessAttributes

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

func (StickinessAttributes) CookieDuration

func (s StickinessAttributes) CookieDuration() terra.NumberValue

func (StickinessAttributes) CookieName

func (s StickinessAttributes) CookieName() terra.StringValue

func (StickinessAttributes) Enabled

func (s StickinessAttributes) Enabled() terra.BoolValue

func (StickinessAttributes) InternalRef

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

func (StickinessAttributes) InternalTokens

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

func (StickinessAttributes) InternalWithRef

func (StickinessAttributes) Type

type StickinessState

type StickinessState struct {
	CookieDuration float64 `json:"cookie_duration"`
	CookieName     string  `json:"cookie_name"`
	Enabled        bool    `json:"enabled"`
	Type           string  `json:"type"`
}

type TargetFailover

type TargetFailover struct {
	// OnDeregistration: string, required
	OnDeregistration terra.StringValue `hcl:"on_deregistration,attr" validate:"required"`
	// OnUnhealthy: string, required
	OnUnhealthy terra.StringValue `hcl:"on_unhealthy,attr" validate:"required"`
}

type TargetFailoverAttributes

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

func (TargetFailoverAttributes) InternalRef

func (tf TargetFailoverAttributes) InternalRef() (terra.Reference, error)

func (TargetFailoverAttributes) InternalTokens

func (tf TargetFailoverAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TargetFailoverAttributes) InternalWithRef

func (TargetFailoverAttributes) OnDeregistration

func (tf TargetFailoverAttributes) OnDeregistration() terra.StringValue

func (TargetFailoverAttributes) OnUnhealthy

func (tf TargetFailoverAttributes) OnUnhealthy() terra.StringValue

type TargetFailoverState

type TargetFailoverState struct {
	OnDeregistration string `json:"on_deregistration"`
	OnUnhealthy      string `json:"on_unhealthy"`
}

type TargetHealthState

type TargetHealthState struct {
	// EnableUnhealthyConnectionTermination: bool, required
	EnableUnhealthyConnectionTermination terra.BoolValue `hcl:"enable_unhealthy_connection_termination,attr" validate:"required"`
}

type TargetHealthStateAttributes

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

func (TargetHealthStateAttributes) EnableUnhealthyConnectionTermination

func (ths TargetHealthStateAttributes) EnableUnhealthyConnectionTermination() terra.BoolValue

func (TargetHealthStateAttributes) InternalRef

func (ths TargetHealthStateAttributes) InternalRef() (terra.Reference, error)

func (TargetHealthStateAttributes) InternalTokens

func (ths TargetHealthStateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TargetHealthStateAttributes) InternalWithRef

type TargetHealthStateState

type TargetHealthStateState struct {
	EnableUnhealthyConnectionTermination bool `json:"enable_unhealthy_connection_termination"`
}

Jump to

Keyboard shortcuts

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