Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessSource ¶
type AccessSource struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, logger logger.LogContext, access certmgmt.CertificateAccess, cfg *certmgmt.Config) (*AccessSource, error)
func (*AccessSource) GetCertificate ¶
func (this *AccessSource) GetCertificate(_ *tls.ClientHelloInfo) (*tls.Certificate, error)
GetCertificate fetches the currently loaded certificate, which may be nil.
func (*AccessSource) GetCertificateInfo ¶
func (this *AccessSource) GetCertificateInfo() certmgmt.CertificateInfo
func (*AccessSource) ReadCertificate ¶
func (this *AccessSource) ReadCertificate() error
func (*AccessSource) RegisterConsumer ¶
func (this *AccessSource) RegisterConsumer(h certs.CertificateConsumerUpdater)
Click to show internal directories.
Click to hide internal directories.