tls

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeTLSSecretLoader

type FakeTLSSecretLoader struct {
	FakeCerts map[string]*loadbalancers.TLSCerts
	// contains filtered or unexported fields
}

FakeTLSSecretLoader fakes out TLS loading.

func (*FakeTLSSecretLoader) Load

func (*FakeTLSSecretLoader) Validate

func (n *FakeTLSSecretLoader) Validate(certs *loadbalancers.TLSCerts) error

type TLSCertsFromSecretsLoader

type TLSCertsFromSecretsLoader struct {
	Client kubernetes.Interface
	// contains filtered or unexported fields
}

TLSCertsFromSecretsLoader loads TLS certs from kubernetes secrets.

func (*TLSCertsFromSecretsLoader) Load

func (*TLSCertsFromSecretsLoader) Validate

func (n *TLSCertsFromSecretsLoader) Validate(certs *loadbalancers.TLSCerts) error

type TlsLoader

type TlsLoader interface {
	// Load loads the relevant TLSCerts based on ing.Spec.TLS
	Load(ing *extensions.Ingress) ([]*loadbalancers.TLSCerts, error)
	// Validate validates the given TLSCerts and returns an error if they are invalid.
	Validate(certs *loadbalancers.TLSCerts) error
}

TlsLoader is the interface for loading the relevant TLSCerts for a given ingress.

Jump to

Keyboard shortcuts

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