package
0.62.0
Repository: https://github.com/containers/common.git
Documentation: pkg.go.dev

# Functions

Add adds the given entries to the hosts file, entries are only added if they are not already present.
AddIfExists will add the given entries only if one of the existsEntries is in the hosts file.
GetBaseHostFile return the hosts file which should be used as base.
GetHostContainersInternalIP returns the host.containers.internal ip.
GetHostContainersInternalIPExcluding returns the host.containers.internal ip Exclude are ips that should not be returned, this is useful to prevent returning the same ip as in the container.
GetNetworkHostEntries returns HostEntries for all ips in the network status with the given hostnames.
New will create a new hosts file and write this to the target file.
Remove will remove the given entries from the file.

# Constants

No description provided by the author
No description provided by the author

# Structs

HostContainersInternalOptions contains the options for GetHostContainersInternalIP().
No description provided by the author
Params for the New() function call.

# Type aliases

No description provided by the author