annotations

package
v0.0.0-...-0420b53 Latest Latest
Warning

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

Go to latest
Published: May 10, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

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

type PortData

type PortData struct {
	Port   int64
	Scheme string
}

Jump to

Keyboard shortcuts

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