Documentation
¶
Index ¶
Constants ¶
View Source
const ( AuthorizationHeader = "Authorization" ContentTypeHeader = "Content-Type" ContentTypeJSON = "application/json" RdnsSecretName = "rdns-token" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DNSClient ¶
type DNSClient struct {
// contains filtered or unexported fields
}
func (*DNSClient) DeleteDNSRecord ¶
func (*DNSClient) SetTXTRecord ¶
type DNSProvider ¶
type DNSProvider struct {
// contains filtered or unexported fields
}
func NewDNSProvider ¶
func NewDNSProvider() (*DNSProvider, error)
func NewDNSProviderCredential ¶
func NewDNSProviderCredential(apiEndpoint, token string) (*DNSProvider, error)
func (*DNSProvider) CleanUp ¶
func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error
func (*DNSProvider) Present ¶
func (d *DNSProvider) Present(domain, token, keyAuth string) error
func (*DNSProvider) Timeout ¶
func (d *DNSProvider) Timeout() (timeout, interval time.Duration)
type User ¶
type User struct { Name string Email string Registration *registration.Resource Key crypto.PrivateKey URL string }
func (*User) GetPrivateKey ¶
func (u *User) GetPrivateKey() crypto.PrivateKey
func (User) GetRegistration ¶
func (u User) GetRegistration() *registration.Resource
Click to show internal directories.
Click to hide internal directories.