config

package
v0.0.0-...-53d1af7 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2017 License: Apache-2.0 Imports: 14 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
	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 Config

type Config struct {
	ClusterName string
	AWSDebug    bool
}

Config contains the ALB Ingress Controller configuration

type ListenerPort

type ListenerPort struct {
	HTTPS bool
	Port  int64
}

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.

Jump to

Keyboard shortcuts

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