Documentation
¶
Index ¶
Constants ¶
View Source
const ErrorCodeKeyNotFound = "key not found"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func NewBackend ¶
func NewBackend(clientv3 etcdv3.Client, ctx context.Context, timeOut int, ttl uint32, priority uint16) *Backend
NewBackend returns a new Backend for containerdns, backed by etcd.
func (*Backend) ReverseRecord ¶
func (g *Backend) ReverseRecord(name string) (*dnsServer.ServiceRecord, error)
Click to show internal directories.
Click to hide internal directories.