- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getDNSConfig (1.18 sec)
-
pkg/kubelet/network/dns/dns_other.go
See the License for the specific language governing permissions and limitations under the License. */ package dns // Read the DNS configuration from a resolv.conf file.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 21 22:21:57 UTC 2023 - 715 bytes - Viewed (0) -
pkg/kubelet/network/dns/dns_windows.go
} return stat.Mode().IsRegular(), nil } func getHostDNSConfig(resolverConfig string) (*runtimeapi.DNSConfig, error) { if resolverConfig == "" { // This handles "" by returning defaults. return getDNSConfig(resolverConfig) } isFile, err := fileExists(resolverConfig) if err != nil { err = fmt.Errorf(`Unexpected error while getting os.Stat for "%s" resolver config. Error: %w`, resolverConfig, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 21 22:21:57 UTC 2023 - 6.3K bytes - Viewed (0) -
pkg/kubelet/network/dns/dns.go
} // Reads a resolv.conf-like file and returns the DNS config options from it. // Returns an empty DNSConfig if the given resolverConfigFile is an empty string. func getDNSConfig(resolverConfigFile string) (*runtimeapi.DNSConfig, error) { var hostDNS, hostSearch, hostOptions []string // Get host DNS settings if resolverConfigFile != "" { f, err := os.Open(resolverConfigFile)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 04 11:37:10 UTC 2023 - 16.1K bytes - Viewed (0)