var defaultDNSOptions …
type podDNSType …
const podDNSCluster …
const podDNSHost …
const podDNSNone …
const maxResolvConfLength …
type Configurer …
func NewConfigurer(recorder record.EventRecorder, nodeRef *v1.ObjectReference, nodeIPs []net.IP, clusterDNS []net.IP, clusterDomain, resolverConfig string) *Configurer { … }
func omitDuplicates(strs []string) []string { … }
func (c *Configurer) formDNSSearchFitsLimits(composedSearch []string, pod *v1.Pod) []string { … }
func (c *Configurer) formDNSNameserversFitsLimits(nameservers []string, pod *v1.Pod) []string { … }
func (c *Configurer) formDNSConfigFitsLimits(dnsConfig *runtimeapi.DNSConfig, pod *v1.Pod) *runtimeapi.DNSConfig { … }
func (c *Configurer) generateSearchesForDNSClusterFirst(hostSearch []string, pod *v1.Pod) []string { … }
func (c *Configurer) CheckLimitsForResolvConf() { … }
func parseResolvConf(reader io.Reader) (nameservers []string, searches []string, options []string, err error) { … }
func getDNSConfig(resolverConfigFile string) (*runtimeapi.DNSConfig, error) { … }
func getPodDNSType(pod *v1.Pod) (podDNSType, error) { … }
func mergeDNSOptions(existingDNSConfigOptions []string, dnsConfigOptions []v1.PodDNSConfigOption) []string { … }
func appendOptions(options []string, newOption ...string) []string { … }
func appendDNSConfig(existingDNSConfig *runtimeapi.DNSConfig, dnsConfig *v1.PodDNSConfig) *runtimeapi.DNSConfig { … }
func (c *Configurer) GetPodDNS(pod *v1.Pod) (*runtimeapi.DNSConfig, error) { … }
func (c *Configurer) SetupDNSinContainerizedMounter(mounterPath string) { … }