certs

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: Apache-2.0, MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateConsumerUpdater

type CertificateConsumerUpdater interface {
	UpdateCertificate(info certmgmt.CertificateInfo)
}

type CertificateSource

type CertificateSource interface {
	GetCertificate(*tls.ClientHelloInfo) (*tls.Certificate, error)
	GetCertificateInfo() certmgmt.CertificateInfo
}

type CertificateUpdaterFunc

type CertificateUpdaterFunc func(info certmgmt.CertificateInfo)

func (CertificateUpdaterFunc) UpdateCertificate

func (this CertificateUpdaterFunc) UpdateCertificate(info certmgmt.CertificateInfo)

type CertificateWatch

type CertificateWatch interface {
	RegisterConsumer(h CertificateConsumerUpdater)
}

type Watchable

type Watchable interface {
	RegisterConsumer(h CertificateConsumerUpdater)
}

type WatchableSource

type WatchableSource struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*WatchableSource) NotifyUpdate

func (this *WatchableSource) NotifyUpdate(info certmgmt.CertificateInfo)

func (*WatchableSource) RegisterConsumer

func (this *WatchableSource) RegisterConsumer(h CertificateConsumerUpdater)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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