tls

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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) Serve

func (cm *CertManager) Serve(addr string) (net.Listener, error)

func (*CertManager) Start

func (cm *CertManager) Start() error

func (*CertManager) Stop

func (cm *CertManager) Stop() error

type State

type State int32
const (
	StateStopped State = iota
	StateStarting
	StateRunning
	StateStopping
)

Jump to

Keyboard shortcuts

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