certificate

package
v0.38.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertCache

type CertCache struct {
	TLSConf tls.Config
	// contains filtered or unexported fields
}

CertCache caches certificates and CA pool.

func NewCertCache

func NewCertCache(ctx context.Context) *CertCache

NewCertCache starts secretInformer.

func (*CertCache) GetCertificate

func (cr *CertCache) GetCertificate(_ *tls.ClientHelloInfo) (*tls.Certificate, error)

GetCertificate returns the cached certificates.

Jump to

Keyboard shortcuts

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