mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
fix(deps): update github.com/docker/go-connections digest to 0b8c1f4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
2
go.mod
2
go.mod
@ -28,7 +28,7 @@ require (
|
|||||||
github.com/digitalocean/go-qemu v0.0.0-20230711162256-2e3d0186973e
|
github.com/digitalocean/go-qemu v0.0.0-20230711162256-2e3d0186973e
|
||||||
github.com/docker/distribution v2.8.3+incompatible
|
github.com/docker/distribution v2.8.3+incompatible
|
||||||
github.com/docker/docker v24.0.7+incompatible
|
github.com/docker/docker v24.0.7+incompatible
|
||||||
github.com/docker/go-connections v0.4.1-0.20210727194412-58542c764a11
|
github.com/docker/go-connections v0.4.1-0.20231031175723-0b8c1f4e07a0
|
||||||
github.com/docker/go-plugins-helpers v0.0.0-20211224144127-6eecb7beb651
|
github.com/docker/go-plugins-helpers v0.0.0-20211224144127-6eecb7beb651
|
||||||
github.com/docker/go-units v0.5.0
|
github.com/docker/go-units v0.5.0
|
||||||
github.com/godbus/dbus/v5 v5.1.1-0.20230522191255-76236955d466
|
github.com/godbus/dbus/v5 v5.1.1-0.20230522191255-76236955d466
|
||||||
|
4
go.sum
4
go.sum
@ -345,8 +345,8 @@ github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avu
|
|||||||
github.com/docker/docker-credential-helpers v0.8.0 h1:YQFtbBQb4VrpoPxhFuzEBPQ9E16qz5SpHLS+uswaCp8=
|
github.com/docker/docker-credential-helpers v0.8.0 h1:YQFtbBQb4VrpoPxhFuzEBPQ9E16qz5SpHLS+uswaCp8=
|
||||||
github.com/docker/docker-credential-helpers v0.8.0/go.mod h1:UGFXcuoQ5TxPiB54nHOZ32AWRqQdECoh/Mg0AlEYb40=
|
github.com/docker/docker-credential-helpers v0.8.0/go.mod h1:UGFXcuoQ5TxPiB54nHOZ32AWRqQdECoh/Mg0AlEYb40=
|
||||||
github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
|
github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
|
||||||
github.com/docker/go-connections v0.4.1-0.20210727194412-58542c764a11 h1:IPrmumsT9t5BS7XcPhgsCTlkWbYg80SEXUzDpReaU6Y=
|
github.com/docker/go-connections v0.4.1-0.20231031175723-0b8c1f4e07a0 h1:dPD5pdqsujF9jz2NQMQCDzrBSAF3M6kIxmfU98IOp9c=
|
||||||
github.com/docker/go-connections v0.4.1-0.20210727194412-58542c764a11/go.mod h1:a6bNUGTbQBsY6VRHTr4h/rkOXjl244DyRD0tx3fgq4Q=
|
github.com/docker/go-connections v0.4.1-0.20231031175723-0b8c1f4e07a0/go.mod h1:a6bNUGTbQBsY6VRHTr4h/rkOXjl244DyRD0tx3fgq4Q=
|
||||||
github.com/docker/go-events v0.0.0-20170721190031-9461782956ad/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA=
|
github.com/docker/go-events v0.0.0-20170721190031-9461782956ad/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA=
|
||||||
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA=
|
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA=
|
||||||
github.com/docker/go-metrics v0.0.0-20180209012529-399ea8c73916/go.mod h1:/u0gXw0Gay3ceNrsHubL3BtdOL2fHf93USgMTe0W5dI=
|
github.com/docker/go-metrics v0.0.0-20180209012529-399ea8c73916/go.mod h1:/u0gXw0Gay3ceNrsHubL3BtdOL2fHf93USgMTe0W5dI=
|
||||||
|
19
vendor/github.com/docker/go-connections/sockets/sockets.go
generated
vendored
19
vendor/github.com/docker/go-connections/sockets/sockets.go
generated
vendored
@ -3,16 +3,23 @@ package sockets
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const defaultTimeout = 10 * time.Second
|
||||||
|
|
||||||
// ErrProtocolNotAvailable is returned when a given transport protocol is not provided by the operating system.
|
// ErrProtocolNotAvailable is returned when a given transport protocol is not provided by the operating system.
|
||||||
var ErrProtocolNotAvailable = errors.New("protocol not available")
|
var ErrProtocolNotAvailable = errors.New("protocol not available")
|
||||||
|
|
||||||
// ConfigureTransport configures the specified Transport according to the
|
// ConfigureTransport configures the specified [http.Transport] according to the specified proto
|
||||||
// specified proto and addr.
|
// and addr.
|
||||||
// If the proto is unix (using a unix socket to communicate) or npipe the
|
//
|
||||||
// compression is disabled.
|
// If the proto is unix (using a unix socket to communicate) or npipe the compression is disabled.
|
||||||
|
// For other protos, compression is enabled. If you want to manually enable/disable compression,
|
||||||
|
// make sure you do it _after_ any subsequent calls to ConfigureTransport is made against the same
|
||||||
|
// [http.Transport].
|
||||||
func ConfigureTransport(tr *http.Transport, proto, addr string) error {
|
func ConfigureTransport(tr *http.Transport, proto, addr string) error {
|
||||||
switch proto {
|
switch proto {
|
||||||
case "unix":
|
case "unix":
|
||||||
@ -21,6 +28,10 @@ func ConfigureTransport(tr *http.Transport, proto, addr string) error {
|
|||||||
return configureNpipeTransport(tr, proto, addr)
|
return configureNpipeTransport(tr, proto, addr)
|
||||||
default:
|
default:
|
||||||
tr.Proxy = http.ProxyFromEnvironment
|
tr.Proxy = http.ProxyFromEnvironment
|
||||||
|
tr.DisableCompression = false
|
||||||
|
tr.DialContext = (&net.Dialer{
|
||||||
|
Timeout: defaultTimeout,
|
||||||
|
}).DialContext
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
5
vendor/github.com/docker/go-connections/sockets/sockets_unix.go
generated
vendored
5
vendor/github.com/docker/go-connections/sockets/sockets_unix.go
generated
vendored
@ -11,10 +11,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const maxUnixSocketPathSize = len(syscall.RawSockaddrUnix{}.Path)
|
||||||
defaultTimeout = 10 * time.Second
|
|
||||||
maxUnixSocketPathSize = len(syscall.RawSockaddrUnix{}.Path)
|
|
||||||
)
|
|
||||||
|
|
||||||
func configureUnixTransport(tr *http.Transport, proto, addr string) error {
|
func configureUnixTransport(tr *http.Transport, proto, addr string) error {
|
||||||
if len(addr) > maxUnixSocketPathSize {
|
if len(addr) > maxUnixSocketPathSize {
|
||||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -491,7 +491,7 @@ github.com/docker/docker/pkg/system
|
|||||||
## explicit; go 1.19
|
## explicit; go 1.19
|
||||||
github.com/docker/docker-credential-helpers/client
|
github.com/docker/docker-credential-helpers/client
|
||||||
github.com/docker/docker-credential-helpers/credentials
|
github.com/docker/docker-credential-helpers/credentials
|
||||||
# github.com/docker/go-connections v0.4.1-0.20210727194412-58542c764a11
|
# github.com/docker/go-connections v0.4.1-0.20231031175723-0b8c1f4e07a0
|
||||||
## explicit; go 1.13
|
## explicit; go 1.13
|
||||||
github.com/docker/go-connections/nat
|
github.com/docker/go-connections/nat
|
||||||
github.com/docker/go-connections/sockets
|
github.com/docker/go-connections/sockets
|
||||||
|
Reference in New Issue
Block a user