Documentation
¶
Index ¶
- Variables
- func CreateTargetGroupName(scope, name string) (string, error)
- func GetListener(arn string, elb *elbv2.Client) (err error)
- func GetLoadbalancer(listenerArn string, elb *elbv2.Client) (loadbalancer string, err error)
- func ValidateString(s, alphabet string, min, max int) error
- type Listener
- type Loadbalancer
- type Rule
- type Target
- type TargetGroup
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-"
Functions ¶
func CreateTargetGroupName ¶
func GetLoadbalancer ¶
func ValidateString ¶
This might be a way to detailed way of handling validation
Types ¶
type Listener ¶
type Listener string
func CreateListener ¶
func GetListeners ¶
func (Listener) GetHighestPriority ¶
func (Listener) GetLoadbalancer ¶
type Loadbalancer ¶
type Loadbalancer struct { ARN string `json:"arn"` Name string SecurityGroup string `json:"security_group"` DNSName string `json:"dns_name"` ListenerARN string `json:"listener_arn"` Paths []string `json:"paths"` }
func CreateLoadbalancer ¶
func GetLoadbalancers ¶
func GetLoadbalancers(svc *elbv2.Client) (loadbalancers []Loadbalancer, err error)
type Rule ¶
type Rule struct { ARN string // contains filtered or unexported fields }
func CreateRule ¶
type TargetGroup ¶
type TargetGroup struct { Name string `json:"name"` UriPath string `json:"path"` Port int `json:"port"` ARN string `json:"arn"` }
func CreateTargetGroup ¶
func GetTargetGroup ¶
Click to show internal directories.
Click to hide internal directories.