Documentation ¶
Index ¶
- func Load(ctx context.Context, secrets v1controller.SecretController, ...) dynamiclistener.TLSStorage
- func LoadOrGenCA(secrets v1controller.SecretClient, namespace, name string) (*x509.Certificate, crypto.Signer, error)deprecated
- func LoadOrGenCAChain(secrets v1controller.SecretClient, namespace, name string) ([]*x509.Certificate, crypto.Signer, error)
- func LoadOrGenClient(secrets v1controller.SecretClient, namespace, name, cn string, ...) (*x509.Certificate, crypto.Signer, error)
- func New(ctx context.Context, core CoreGetter, namespace, name string, ...) dynamiclistener.TLSStorage
- type CoreGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶ added in v0.2.1
func Load(ctx context.Context, secrets v1controller.SecretController, namespace, name string, backing dynamiclistener.TLSStorage) dynamiclistener.TLSStorage
func LoadOrGenCA
deprecated
added in
v0.2.1
func LoadOrGenCA(secrets v1controller.SecretClient, namespace, name string) (*x509.Certificate, crypto.Signer, error)
Deprecated: Use LoadOrGenCAChain instead as it supports intermediate CAs
func LoadOrGenCAChain ¶ added in v0.3.6
func LoadOrGenCAChain(secrets v1controller.SecretClient, namespace, name string) ([]*x509.Certificate, crypto.Signer, error)
func LoadOrGenClient ¶ added in v0.2.1
func LoadOrGenClient(secrets v1controller.SecretClient, namespace, name, cn string, ca *x509.Certificate, key crypto.Signer) (*x509.Certificate, crypto.Signer, error)
func New ¶
func New(ctx context.Context, core CoreGetter, namespace, name string, backing dynamiclistener.TLSStorage) dynamiclistener.TLSStorage
Types ¶
type CoreGetter ¶
Click to show internal directories.
Click to hide internal directories.