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 ConnectionIdleTimeout int64 WafAclId *string HealthcheckIntervalSeconds *int64 HealthcheckPath *string HealthcheckPort *string HealthcheckProtocol *string HealthcheckTimeoutSeconds *int64 HealthyThresholdCount *int64 UnhealthyThresholdCount *int64 InboundCidrs util.Cidrs Ports []PortData Scheme *string IpAddressType *string SecurityGroups util.AWSStringSlice Subnets util.Subnets SuccessCodes *string Tags []*elbv2.Tag IgnoreHostHeader *bool VPCID *string Attributes []*elbv2.LoadBalancerAttribute }
Annotations contains all of the annotation configuration for an ingress
func ParseAnnotations ¶
func ParseAnnotations(annotations map[string]string, clusterName string, ingressNamespace string, ingressName 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.
func (*Annotations) ValidateScheme ¶
func (a *Annotations) ValidateScheme(ingressNamespace, ingressName string) bool
Click to show internal directories.
Click to hide internal directories.