Documentation
¶
Index ¶
- func NewCertManager(ctx context.Context, logger types.Logger, config types.ConfigManager) (types.TLSManager, error)
- type CertManager
- func (cm *CertManager) GetCertificateStatus() map[string]types.CertificateStatus
- func (cm *CertManager) GetTLSConfig() *tls.Config
- func (cm *CertManager) IsRunning() bool
- func (cm *CertManager) Serve(addr string) (net.Listener, error)
- func (cm *CertManager) Start() error
- func (cm *CertManager) Stop() error
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCertManager ¶
func NewCertManager(ctx context.Context, logger types.Logger, config types.ConfigManager) (types.TLSManager, error)
Types ¶
type CertManager ¶
type CertManager struct {
// contains filtered or unexported fields
}
func (*CertManager) GetCertificateStatus ¶
func (cm *CertManager) GetCertificateStatus() map[string]types.CertificateStatus
func (*CertManager) GetTLSConfig ¶
func (cm *CertManager) GetTLSConfig() *tls.Config
func (*CertManager) IsRunning ¶
func (cm *CertManager) IsRunning() bool
func (*CertManager) Start ¶
func (cm *CertManager) Start() error
func (*CertManager) Stop ¶
func (cm *CertManager) Stop() error
Click to show internal directories.
Click to hide internal directories.