package etcd3
import "github.com/skynetservices/skydns/backends/etcd3"
Package etcd provides the default SkyDNS server Backend implementation, which looks up records stored under the `/skydns` key in etcd when queried. This one particularly concerns with the support of etcd version 3.
Index ¶
- type Backendv3
- func NewBackendv3(client etcdv3.Client, ctx context.Context, config *Config) *Backendv3
- func (g *Backendv3) Client() etcdv3.Client
- func (g *Backendv3) HasSynced() bool
- func (g *Backendv3) Records(name string, exact bool) ([]msg.Service, error)
- func (g *Backendv3) ReverseRecord(name string) (*msg.Service, error)
- type Config
Types ¶
type Backendv3 ¶
type Backendv3 struct {
// contains filtered or unexported fields
}
func NewBackendv3 ¶
NewBackendv3 returns a new Backend for SkyDNS, backed by etcd v3
func (*Backendv3) Client ¶
func (*Backendv3) HasSynced ¶
func (*Backendv3) Records ¶
func (*Backendv3) ReverseRecord ¶
type Config ¶
Source Files ¶
- Version
- v0.0.0-20191015171621-94b2ea0d8bfa (latest)
- Published
- Oct 15, 2019
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 1 month ago –
Tools for package owners.