Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvName = envNamespace + "NAME" EnvAddress = envNamespace + "ADDRESS" EnvUsername = envNamespace + "USER" EnvPassword = envNamespace + "PASS" EnvUseSsl = envNamespace + "USE_SSL" EnvValidateServerCertificate = envNamespace + "VALIDATE_SERVER_CERTIFICATE" EnvTimeout = envNamespace + "TIMEOUT" ACME_CHALLENGE_PROVIDER_NETSCALER_HTTP_GLOBAL = "netscaler-http-global" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpProvider ¶
type HttpProvider struct {
// contains filtered or unexported fields
}
func NewNetScalerGlobalHttpProvider ¶
func NewNetScalerGlobalHttpProvider(prefix string, maxRetries int, timestamp string) (*HttpProvider, error)
NewGlobalHttpProvider returns an HTTPProvider instance from environment variable settings
func (*HttpProvider) CleanUp ¶
func (p *HttpProvider) CleanUp(domain string, token string, keyAuth string) error
CleanUp the ACME challenge on the provider after validation
domain is the fqdn for which the challenge will be provided token is the path to which ACME will look for the challenge (/.well-known/acme-challenge/<token>) keyAuth is the value which must be returned for a successful challenge
func (*HttpProvider) Present ¶
func (p *HttpProvider) Present(domain string, token string, keyAuth string) error
Present the ACME challenge to the provider before validation
domain is the fqdn for which the challenge will be provided token is the path to which ACME will look for the challenge (/.well-known/acme-challenge/<token>) keyAuth is the value which must be returned for a successful challenge
Click to show internal directories.
Click to hide internal directories.