ls

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2020 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationSSLPolicy      = "ssl-policy"
	AnnotationCertificateARN = "certificate-arn"
)
View Source
const (
	DefaultSSLPolicy = "ELBSecurityPolicy-2016-08"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CertDiscovery added in v1.1.3

type CertDiscovery interface {
	// Discover will try to find valid certificates for each tlsHost.
	Discover(ctx context.Context, tlsHosts sets.String) ([]string, error)
}

func NewACMCertDiscovery added in v1.1.3

func NewACMCertDiscovery(cloud aws.CloudAPI) CertDiscovery

type Controller

type Controller interface {
	// Reconcile will make sure an AWS listener exists to satisfy requirements specified as options.
	Reconcile(ctx context.Context, options ReconcileOptions) error
}

func NewController

func NewController(cloud aws.CloudAPI, authModule auth.Module) Controller

type GroupController

type GroupController interface {
	// Reconcile ensures listeners exists in LB to satisfy ingress requirements.
	Reconcile(ctx context.Context, lbArn string, ingress *extensions.Ingress, tgGroup tg.TargetGroupGroup) error

	// Delete ensures all listeners are deleted
	Delete(ctx context.Context, lbArn string) error
}

func NewGroupController

func NewGroupController(store store.Storer, cloud aws.CloudAPI, authModule auth.Module) GroupController

type MockController

type MockController struct {
	mock.Mock
}

MockController is an autogenerated mock type for the Controller type

func (*MockController) Reconcile

func (_m *MockController) Reconcile(ctx context.Context, options ReconcileOptions) error

Reconcile provides a mock function with given fields: ctx, options

type MockRulesController added in v1.1.0

type MockRulesController struct {
	mock.Mock
}

MockRulesController is an autogenerated mock type for the RulesController type

func (*MockRulesController) Reconcile added in v1.1.0

func (_m *MockRulesController) Reconcile(ctx context.Context, listener *elbv2.Listener, ingress *v1beta1.Ingress, ingressAnnos *annotations.Ingress, tgGroup tg.TargetGroupGroup) error

Reconcile provides a mock function with given fields: ctx, listener, ingress, ingressAnnos, tgGroup

type ReconcileOptions

type ReconcileOptions struct {
	LBArn        string
	Ingress      *extensions.Ingress
	IngressAnnos *annotations.Ingress
	Port         loadbalancer.PortData
	TGGroup      tg.TargetGroupGroup

	// If instance is specified, reconcile will operate on this instance, otherwise new listener instance will be created.
	Instance *elbv2.Listener
}

type RulesController added in v1.1.0

type RulesController interface {
	// Reconcile ensures the listener rules in AWS match the rules configured in the Ingress resource.
	Reconcile(ctx context.Context, listener *elbv2.Listener, ingress *extensions.Ingress, ingressAnnos *annotations.Ingress, tgGroup tg.TargetGroupGroup) error
}

RulesController provides functionality to manage rules on listeners

func NewRulesController added in v1.1.0

func NewRulesController(cloud aws.CloudAPI, authModule auth.Module) RulesController

NewRulesController constructs RulesController

Jump to

Keyboard shortcuts

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