Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSResolver ¶
func NewDefaultDnsResolver ¶
func NewDefaultDnsResolver() DNSResolver
type DomainIndexer ¶
type DomainIndexer interface { LookupIdentitiesForDomain(domain string) ([]DomainInfo, error) GetLastRun() time.Time }
func NewDefaultDomainIndexer ¶
func NewDefaultDomainIndexer(dnsResolver DNSResolver, domainStore DomainStore, domainCheckInterval time.Duration, domainRenewalInterval time.Duration, base64PrivateKeys []string) DomainIndexer
type DomainInfo ¶
type DomainInfo struct { Domain string // root domain for this record, can be invoking or identity domain IdentityDomains []string // used to map from invoking domain to parent identity domains // contains filtered or unexported fields }
func (*DomainInfo) GetAdsCertIdentityDomain ¶
func (c *DomainInfo) GetAdsCertIdentityDomain() string
func (*DomainInfo) GetSharedSecret ¶
func (c *DomainInfo) GetSharedSecret() (SharedSecret, bool)
func (*DomainInfo) GetStatus ¶
func (c *DomainInfo) GetStatus() DomainStatus
type DomainStatus ¶ added in v0.17.0
type DomainStatus int
const ( DomainStatusUnspecified DomainStatus = iota // this status is considered and handled as an error condition DomainStatusOK DomainStatusNotYetChecked DomainStatusKeyFetchPending DomainStatusErrorOnDNS DomainStatusErrorOnDNSSEC DomainStatusADPFParseError DomainStatusADCRTDParseError )
type DomainStore ¶
type DomainStore interface { GetAllDomains(ctx context.Context) ([]string, error) LookupDomainInfo(ctx context.Context, domain string) (DomainInfo, bool, error) StoreDomainInfo(ctx context.Context, domainInfo DomainInfo) error }
func NewDefaultDomainStore ¶
func NewDefaultDomainStore() DomainStore
type SharedSecret ¶
type SharedSecret interface {}
Click to show internal directories.
Click to hide internal directories.