Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotations ¶
type Annotations struct { BackendProtocol *string CertificateArn *string HealthcheckPath *string Ports []ListenerPort Scheme *string SecurityGroups util.AWSStringSlice Subnets util.Subnets SuccessCodes *string Tags []*elbv2.Tag VPCID *string }
Annotations contains all of the annotation configuration for an ingress
func ParseAnnotations ¶
func ParseAnnotations(annotations map[string]string) (*Annotations, error)
ParseAnnotations validates and loads all the annotations provided into the Annotations struct. If there is an issue with an annotation, an error is returned. In the case of an error, the annotations are also cached, meaning there will be no reattempt to parse annotations until the cache expires or the value(s) change.
type ListenerPort ¶
ListenerPort represents a listener defined in an ingress annotation. Specifically, it represents a port that an ALB should listen on along with the protocol (HTTP or HTTPS). When HTTPS, it's expected the certificate reprsented by Annotations.CertificateArn will be applied.