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)
- 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 ¶
func Load(ctx context.Context, secrets v1controller.SecretController, namespace, name string, backing dynamiclistener.TLSStorage) dynamiclistener.TLSStorage
func LoadOrGenCA ¶
func LoadOrGenCA(secrets v1controller.SecretClient, namespace, name string) (*x509.Certificate, crypto.Signer, error)
func LoadOrGenClient ¶
func LoadOrGenClient(secrets v1controller.SecretClient, namespace, name, cn string, ca *x509.Certificate, key crypto.Signer) (*x509.Certificate, crypto.Signer, error)
Types ¶
type CoreGetter ¶
Click to show internal directories.
Click to hide internal directories.