Documentation ¶
Index ¶
- Constants
- Variables
- type SRegionDNS
- func (r *SRegionDNS) IsNameError(err error) bool
- func (r *SRegionDNS) Lookup(state request.Request, name string, typ uint16) (*dns.Msg, error)
- func (r *SRegionDNS) MinTTL(state request.Request) uint32
- func (r *SRegionDNS) Name() string
- func (r *SRegionDNS) Records(state request.Request, exact bool) ([]msg.Service, error)
- func (r *SRegionDNS) Reverse(state request.Request, exact bool, opt plugin.Options) (services []msg.Service, err error)
- func (r *SRegionDNS) Serial(state request.Request) uint32
- func (r *SRegionDNS) ServeDNS(ctx context.Context, w dns.ResponseWriter, rmsg *dns.Msg) (int, error)
- func (r *SRegionDNS) Services(state request.Request, exact bool, opt plugin.Options) ([]msg.Service, error)
- func (r *SRegionDNS) Transfer(ctx context.Context, state request.Request) (int, error)
Constants ¶
View Source
const (
PluginName string = "yunion"
)
Variables ¶
Functions ¶
This section is empty.
Types ¶
type SRegionDNS ¶
type SRegionDNS struct { Next plugin.Handler Fall fall.F Zones []string PrimaryZone string Upstream upstream.Upstream SqlConnection string AuthUrl string AdminProject string AdminUser string AdminDomain string AdminPassword string Region string AdminProjectDomain string InCloudOnly bool // contains filtered or unexported fields }
func New ¶
func New() *SRegionDNS
func (*SRegionDNS) IsNameError ¶
func (r *SRegionDNS) IsNameError(err error) bool
IsNameError implements the ServiceBackend interface
func (*SRegionDNS) MinTTL ¶
func (r *SRegionDNS) MinTTL(state request.Request) uint32
MinTTL implements the Transferer interface
func (*SRegionDNS) Name ¶
func (r *SRegionDNS) Name() string
func (*SRegionDNS) Reverse ¶
func (r *SRegionDNS) Reverse(state request.Request, exact bool, opt plugin.Options) (services []msg.Service, err error)
Reverse implements the ServiceBackend interface
func (*SRegionDNS) Serial ¶
func (r *SRegionDNS) Serial(state request.Request) uint32
Serial implements the Transferer interface
func (*SRegionDNS) ServeDNS ¶
func (r *SRegionDNS) ServeDNS(ctx context.Context, w dns.ResponseWriter, rmsg *dns.Msg) (int, error)
Click to show internal directories.
Click to hide internal directories.