Documentation ¶
Index ¶
Constants ¶
View Source
const ClusterCertFilename = "cluster.crt.new"
ClusterCertFilename describes the filename of the new certificate which is stored in case it cannot be distributed in a cluster due to offline members. Incus will try to distribute this certificate at a later stage.
Variables ¶
This section is empty.
Functions ¶
func UpdateCertificate ¶
func UpdateCertificate(s *state.State, provider HTTP01Provider, clustered bool, domain string, email string, caURL string, force bool) (*certificate.Resource, error)
UpdateCertificate updates the certificate.
Types ¶
type HTTP01Provider ¶
type HTTP01Provider interface { challenge.Provider Domain() string KeyAuth() string Token() string }
HTTP01Provider is an extension of the challenge.Provider interface.
func NewHTTP01Provider ¶
func NewHTTP01Provider() HTTP01Provider
NewHTTP01Provider returns a HTTP01Provider.
Click to show internal directories.
Click to hide internal directories.