Documentation ¶
Index ¶
- type BaseRegistrarProvider
- func (b BaseRegistrarProvider) GetDomain(ctx context.Context, domain string) (*Domain, error)
- func (b BaseRegistrarProvider) GetDomains(ctx context.Context) (domains []string, err error)
- func (b BaseRegistrarProvider) GetMasterIPs(ctx context.Context) (masterIps []string, err error)
- func (b BaseRegistrarProvider) GetServeAlgorithm(ctx context.Context, domain string) (string, error)
- func (b BaseRegistrarProvider) GetTsigKey(ctx context.Context, domain string) (*dns.TSIGKey, error)
- type Domain
- type PluginConfig
- type PluginFuncArgs
- type PluginFuncResult
- type PluginRegistrarProvider
- type RegistrarProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseRegistrarProvider ¶
type BaseRegistrarProvider struct { }
func (BaseRegistrarProvider) GetDomains ¶
func (b BaseRegistrarProvider) GetDomains(ctx context.Context) (domains []string, err error)
func (BaseRegistrarProvider) GetMasterIPs ¶
func (b BaseRegistrarProvider) GetMasterIPs(ctx context.Context) (masterIps []string, err error)
func (BaseRegistrarProvider) GetServeAlgorithm ¶
func (BaseRegistrarProvider) GetTsigKey ¶
type PluginConfig ¶
type PluginFuncArgs ¶
type PluginFuncArgs struct {
PluginArg interface{}
}
type PluginFuncResult ¶
type PluginFuncResult struct { PluginResult interface{} PluginError error }
type PluginRegistrarProvider ¶
type PluginRegistrarProvider interface { NewPluginLibRegistrar() GetDomains() GetDomain() GetTsigKey() GetServeAlgorithm() GetMasterIPs() }
type RegistrarProvider ¶
type RegistrarProvider interface { GetDomains(ctx context.Context) ([]string, error) GetDomain(ctx context.Context, domain string) (*Domain, error) GetTsigKey(ctx context.Context, domain string) (*dns.TSIGKey, error) GetServeAlgorithm(ctx context.Context, domain string) (string, error) GetMasterIPs(ctx context.Context) ([]string, error) }
Click to show internal directories.
Click to hide internal directories.