Help us shape the future of Go! Take the 2026 Go Developer Survey

ssl

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateResult

type CertificateResult struct {
	Domain  string `json:"domain"`
	Success bool   `json:"success"`
	Message string `json:"message"`
}

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(cfg *config.CertbotConfig, deploymentsPath string) *Manager

func (*Manager) CertificateExists

func (m *Manager) CertificateExists(domain string) bool

func (*Manager) CertsPath

func (m *Manager) CertsPath() string

func (*Manager) DeleteCertificate

func (m *Manager) DeleteCertificate(domain string) error

func (*Manager) GetCertificate

func (m *Manager) GetCertificate(domain string) (*models.Certificate, error)

func (*Manager) GetExpiringCertificates

func (m *Manager) GetExpiringCertificates(daysThreshold int) ([]models.Certificate, error)

func (*Manager) ListCertificates

func (m *Manager) ListCertificates() ([]models.Certificate, error)

func (*Manager) RenewCertificates

func (m *Manager) RenewCertificates() (*RenewalResult, error)

func (*Manager) RequestCertificate

func (m *Manager) RequestCertificate(domain string) (*CertificateResult, error)

func (*Manager) RevokeCertificate

func (m *Manager) RevokeCertificate(domain string) error

func (*Manager) SetupAutoCertificate

func (m *Manager) SetupAutoCertificate(domain string) error

func (*Manager) ValidateDomain

func (m *Manager) ValidateDomain(domain string) error

type RenewalResult

type RenewalResult struct {
	Success        bool     `json:"success"`
	Message        string   `json:"message"`
	RenewedDomains []string `json:"renewed_domains,omitempty"`
}

Jump to

Keyboard shortcuts

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