Documentation
¶
Index ¶
- func ACMEConfigChanged(oldCfg, newCfg api.SystemSecurityACME) bool
- func SetACMEDefaults(cfg api.SystemSecurityACME) api.SystemSecurityACME
- func UpdateCertificate(ctx context.Context, filesystem *sys.OS, cfg api.SystemSecurityACME, ...) (*api.SystemCertificatePost, error)
- func ValidateACMEConfig(s api.SystemSecurityACME) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ACMEConfigChanged ¶
func ACMEConfigChanged(oldCfg, newCfg api.SystemSecurityACME) bool
ACMEConfigChanged returns whether the new config has changed from the old one.
func SetACMEDefaults ¶
func SetACMEDefaults(cfg api.SystemSecurityACME) api.SystemSecurityACME
SetACMEDefaults applies defaults to system ACME configuration.
func UpdateCertificate ¶
func UpdateCertificate(ctx context.Context, filesystem *sys.OS, cfg api.SystemSecurityACME, force bool) (*api.SystemCertificatePost, error)
UpdateCertificate updates the certificate.
func ValidateACMEConfig ¶
func ValidateACMEConfig(s api.SystemSecurityACME) error
ValidateACMEConfig validates the system ACME configuration. Assumes SetDefaults has been called.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.