Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSRecordController ¶
type DNSRecordController interface {
Run(stopCh <-chan struct{})
}
DNSRecordController interface defines the method for synchronizing the node dns records with k8s DNS component(such as CoreDNS)
func NewCoreDNSRecordController ¶
func NewCoreDNSRecordController(client clientset.Interface, informerFactory informers.SharedInformerFactory, listenInsecureAddr string, syncPeriod int) (DNSRecordController, error)
NewCoreDNSRecordController create a CoreDNSRecordController that synchronizes node dns records with CoreDNS configuration
type EventType ¶
type EventType string
const ( NodeAdd EventType = "NODE_ADD" NodeUpdate EventType = "NODE_UPDATE" NodeDelete EventType = "NODE_DELETE" ServiceAdd EventType = "SERVICE_ADD" ServiceUpdate EventType = "SERVICE_UPDATE" ServiceDelete EventType = "SERVICE_DELETE" ConfigMapAdd EventType = "CONFIGMAP_ADD" ConfigMapUpdate EventType = "CONFIGMAP_UPDATE" ConfigMapDelete EventType = "CONFIGMAP_DELETE" )
Click to show internal directories.
Click to hide internal directories.