# Functions

Create new default resolver; the inCluster parameter has to be set to true if this operator is running inside the target cluster; if at least one endpoint is supplied, the specified endpoint(s) will be used for DNS queries; otherwise, the pod endpoints of the kube-system/kube-dns service will be used.
Create new RewriteRule object (and validate input).
Create empty RewriteRuleSet; RewriteRuleSet gives the following guarantees: - uniquness of owners, that is, for a given owner, the set contains at most one RewriteRule with that owner - rewrite sources in the set are free of clashes; that is, for a given DNS name, there will be at most one RewriteRule matching that DNS name (via Matches()).
Parse RewriteRuleSet from a coredns config file format.

# Structs

Endpoint representation for a namesever to be used be the resolver; Address and Port are mandatory; InCluster has to be set to true if the nameserver is runnning as a pod inside the cluster; in that case, Address and Port must point to that pod, and also Namespace and Name are required, referring to the according pod.
Rewrite rule (usually derived from a MasqueradingRule object).
Set of RewriteRule.

# Interfaces

Resolver interface.