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 (f *FakeTLSSecretLoader) Load(ing *extensions.Ingress) ([]*loadbalancers.TLSCerts, error)
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 (t *TLSCertsFromSecretsLoader) Load(ing *extensions.Ingress) ([]*loadbalancers.TLSCerts, error)
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.
Click to show internal directories.
Click to hide internal directories.