Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostnameRecords ¶
func NewHostnameRecords ¶
func NewHostnameRecords(hostsFilepath, domain string) (*HostnameRecords, error)
func (*HostnameRecords) CreateOrUpdateHostnameRecord ¶
func (h *HostnameRecords) CreateOrUpdateHostnameRecord(pod *api.Pod) error
func (*HostnameRecords) DeleteHostnameRecord ¶
func (h *HostnameRecords) DeleteHostnameRecord(pod *api.Pod) error
type HostnameWatcher ¶
type HostnameWatcher struct { Clientset *kubernetes.Clientset Hosts *HostnameRecords }
func NewHostnameWatcher ¶
func NewHostnameWatcher(restclient *restclient.Config, hostsPath, domain string) (h *HostnameWatcher, err error)
func (*HostnameWatcher) Run ¶
func (h *HostnameWatcher) Run(stopCh <-chan struct{})
Click to show internal directories.
Click to hide internal directories.