Documentation
¶
Index ¶
- func Name() string
- type Kubernetai
- func (k8i Kubernetai) AutoPath(state request.Request) []string
- func (k8i Kubernetai) Federations(state request.Request, fname, fzone string) (msg.Service, error)
- func (k8i Kubernetai) Health() bool
- func (Kubernetai) Name() string
- func (k8i Kubernetai) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (rcode int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Kubernetai ¶
type Kubernetai struct {
Zones []string
Next plugin.Handler
Kubernetes []*kubernetes.Kubernetes
// contains filtered or unexported fields
}
Kubernetai handles multiple Kubernetes
func New ¶
func New(zones []string) (Kubernetai, *kubernetes.Kubernetes)
New creates a Kubernetai containing one Kubernetes with zones
func Parse ¶
func Parse(c *caddy.Controller) (*Kubernetai, error)
Parse parses multiple kubernetes into a kubernetai
func (Kubernetai) AutoPath ¶
func (k8i Kubernetai) AutoPath(state request.Request) []string
AutoPath routes AutoPath requests to the authoritative kubernetes.
func (Kubernetai) Federations ¶
Federations routes Federations requests to the authoritative kubernetes.
func (Kubernetai) Health ¶
func (k8i Kubernetai) Health() bool
Health implements the health.Healther interface.
Click to show internal directories.
Click to hide internal directories.