mirror of
https://github.com/containers/podman.git
synced 2025-12-03 19:59:39 +08:00
vendor of containers/(common, storage, image)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/common/libnetwork/netavark/exec.go
generated
vendored
2
vendor/github.com/containers/common/libnetwork/netavark/exec.go
generated
vendored
@@ -23,7 +23,7 @@ type netavarkError struct {
|
||||
|
||||
func (e *netavarkError) Error() string {
|
||||
ec := ""
|
||||
// only add the exit code the the error message if we have at least info log level
|
||||
// only add the exit code the error message if we have at least info log level
|
||||
// the normal user does not need to care about the number
|
||||
if e.exitCode > 0 && logrus.IsLevelEnabled(logrus.InfoLevel) {
|
||||
ec = " (exit code " + strconv.Itoa(e.exitCode) + ")"
|
||||
|
||||
2
vendor/github.com/containers/common/libnetwork/netavark/ipam.go
generated
vendored
2
vendor/github.com/containers/common/libnetwork/netavark/ipam.go
generated
vendored
@@ -65,7 +65,7 @@ func (n *netavarkNetwork) openDB() (*bbolt.DB, error) {
|
||||
return db, nil
|
||||
}
|
||||
|
||||
// allocIPs will allocate ips for the the container. It will change the
|
||||
// allocIPs will allocate ips for the container. It will change the
|
||||
// NetworkOptions in place. When static ips are given it will validate
|
||||
// that these are free to use and will allocate them to the container.
|
||||
func (n *netavarkNetwork) allocIPs(opts *types.NetworkOptions) error {
|
||||
|
||||
4
vendor/github.com/containers/common/libnetwork/netavark/network.go
generated
vendored
4
vendor/github.com/containers/common/libnetwork/netavark/network.go
generated
vendored
@@ -44,7 +44,7 @@ type netavarkNetwork struct {
|
||||
// defaultsubnetPools contains the subnets which must be used to allocate a free subnet by network create
|
||||
defaultsubnetPools []config.SubnetPool
|
||||
|
||||
// dnsBindPort is set the the port to pass to netavark for aardvark
|
||||
// dnsBindPort is set the port to pass to netavark for aardvark
|
||||
dnsBindPort uint16
|
||||
|
||||
// pluginDirs list of directories were netavark plugins are located
|
||||
@@ -87,7 +87,7 @@ type InitConfig struct {
|
||||
// DefaultsubnetPools contains the subnets which must be used to allocate a free subnet by network create
|
||||
DefaultsubnetPools []config.SubnetPool
|
||||
|
||||
// DNSBindPort is set the the port to pass to netavark for aardvark
|
||||
// DNSBindPort is set the port to pass to netavark for aardvark
|
||||
DNSBindPort uint16
|
||||
|
||||
// PluginDirs list of directories were netavark plugins are located
|
||||
|
||||
2
vendor/github.com/containers/common/libnetwork/network/interface.go
generated
vendored
2
vendor/github.com/containers/common/libnetwork/network/interface.go
generated
vendored
@@ -35,7 +35,7 @@ const (
|
||||
|
||||
// NetworkBackend returns the network backend name and interface
|
||||
// It returns either the CNI or netavark backend depending on what is set in the config.
|
||||
// If the the backend is set to "" we will automatically assign the backend on the following conditions:
|
||||
// If the backend is set to "" we will automatically assign the backend on the following conditions:
|
||||
// 1. read ${graphroot}/defaultNetworkBackend
|
||||
// 2. find netavark binary (if not installed use CNI)
|
||||
// 3. check containers, images and CNI networks and if there are some we have an existing install and should continue to use CNI
|
||||
|
||||
Reference in New Issue
Block a user