Documentation ¶
Overview ¶
Package files provides internal methods to container platform to read files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadHostname ¶
func ReadHostname(path string) (network.HostnameSpecSpec, error)
ReadHostname reads and parses /etc/hostname file.
func ReadResolvConf ¶
func ReadResolvConf(path string) (network.ResolverSpecSpec, error)
ReadResolvConf reads and parses /etc/resolv.conf file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.