Documentation ¶
Index ¶
Constants ¶
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" )
const (
ACME_CHALLENGE_PROVIDER_NETSCALER_ADNS = "netscaler-adns"
)
const (
ACME_CHALLENGE_PROVIDER_NETSCALER_HTTP_GLOBAL = "netscaler-http-global"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADnsProvider ¶
type ADnsProvider struct {
// contains filtered or unexported fields
}
ADnsProvider manages ACME requests for NetScaler ADC Authoritative DNS service
func NewADnsProvider ¶
func NewADnsProvider(e registry.Environment, maxRetries int) (*ADnsProvider, error)
NewADnsProvider returns an Authoritative DNS Provider from a configured list of hosts
func NewADnsProviderFromEnv ¶ added in v0.4.0
func NewADnsProviderFromEnv(maxRetries int) (*ADnsProvider, error)
NewADnsProvider returns an Authoritative DNS Provider from environment variable settings
func (*ADnsProvider) CleanUp ¶
func (p *ADnsProvider) CleanUp(domain string, token string, keyAuth string) error
func (*ADnsProvider) Present ¶
func (p *ADnsProvider) Present(domain string, token string, keyAuth string) error
Present the ACME challenge to the provider. domain is the fqdn for which the challenge will be provided Parameter endpoint is the path to which ACME will look for the challenge (/.well-known/acme-challenge/<token>) Parameter keyAuth is the value which must be returned for a successful challenge
type GlobalHttpProvider ¶
type GlobalHttpProvider struct {
// contains filtered or unexported fields
}
GlobalHttpProvider manages ACME requests for NetScaler ADC using globally bound responder policies
func NewGlobalHttpProvider ¶
func NewGlobalHttpProvider(e registry.Environment, maxRetries int, timestamp string) (*GlobalHttpProvider, error)
NewGlobalHttpProvider returns a HTTPProvider instance with a configured list of hosts
func NewGlobalHttpProviderFromEnv ¶ added in v0.4.0
func NewGlobalHttpProviderFromEnv(maxRetries int, timestamp string) (*GlobalHttpProvider, error)
NewGlobalHttpProvider returns an HTTPProvider instance from environment variable settings
func (*GlobalHttpProvider) CleanUp ¶
func (p *GlobalHttpProvider) 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 (*GlobalHttpProvider) Present ¶
func (p *GlobalHttpProvider) 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