Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( latticeID v1.LatticeID, namespacePrefix string, internalDNSDomain string, dnsmasqConfigPath string, dnsmasqHostsFilePath string, serviceMeshOptions *servicemesh.Options, latticeClient latticeclientset.Interface, kubeClient kubeclientset.Interface, configInformer latticeinformers.ConfigInformer, addressInformer latticeinformers.AddressInformer, serviceInformer latticeinformers.ServiceInformer, ) *Controller
NewController returns a newly created DNS Controller.
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{})
Run triggers a goroutine to refresh the cache and rewrite the config at set intervals, until it receives from stopCh
Click to show internal directories.
Click to hide internal directories.