Documentation ¶
Index ¶
- type Kubeslice
- func (ks *Kubeslice) IsNameError(err error) bool
- func (ks *Kubeslice) Lookup(ctx context.Context, state request.Request, name string, typ uint16) (*dns.Msg, error)
- func (ks *Kubeslice) MinTTL(state request.Request) uint32
- func (e Kubeslice) Name() string
- func (ks Kubeslice) Ready() bool
- func (ks *Kubeslice) Records(ctx context.Context, state request.Request, exact bool) ([]msg.Service, error)
- func (ks *Kubeslice) Reverse(ctx context.Context, state request.Request, exact bool, opt plugin.Options) ([]msg.Service, error)
- func (ks *Kubeslice) Serial(state request.Request) uint32
- func (ks Kubeslice) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error)
- func (ks *Kubeslice) Services(ctx context.Context, state request.Request, exact bool, opt plugin.Options) ([]msg.Service, error)
- type ServiceImportReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kubeslice ¶
type Kubeslice struct { Next plugin.Handler EndpointsCache dnsCache.EndpointsCache }
implements plugin.servicebackend interface
func (*Kubeslice) Lookup ¶
func (ks *Kubeslice) Lookup(ctx context.Context, state request.Request, name string, typ uint16) (*dns.Msg, error)
TODO fill later
func (Kubeslice) Ready ¶
Ready implements the ready.Readiness interface, once this flips to true CoreDNS assumes this plugin is ready for queries; it is not checked again.
func (*Kubeslice) Records ¶
func (ks *Kubeslice) Records(ctx context.Context, state request.Request, exact bool) ([]msg.Service, error)
TODO fill later
func (*Kubeslice) Reverse ¶
func (ks *Kubeslice) Reverse(ctx context.Context, state request.Request, exact bool, opt plugin.Options) ([]msg.Service, error)
TODO fill later
type ServiceImportReconciler ¶
type ServiceImportReconciler struct { client.Client EndpointsCache dnsCache.EndpointsCache }
ReplicaSetReconciler is a simple ControllerManagedBy example implementation.
func (*ServiceImportReconciler) InjectClient ¶
func (r *ServiceImportReconciler) InjectClient(c client.Client) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.