MCPcopy Create free account

hub / github.com/docker/go-connections / functions

Functions176 in github.com/docker/go-connections

MethodRange
Range returns the start/end port numbers of a Port range as ints
nat/nat.go:87
MethodRun
()
proxy/network_proxy_test.go:53
MethodRun
()
proxy/network_proxy_test.go:73
MethodRun
Run starts forwarding the traffic using TCP.
proxy/tcp_proxy.go:85
MethodRun
Run does nothing.
proxy/stub_proxy.go:14
MethodRun
Run starts forwarding the traffic using UDP.
proxy/udp_proxy.go:113
MethodString
String returns the string form
sockets/inmem_socket.go:16
MethodSwap
(i, j int)
nat/sort.go:17
MethodSwap
(i, j int)
nat/sort.go:46
FunctionSystemCertPool
SystemCertPool returns a copy of the system cert pool. Deprecated: use [x509.SystemCertPool] instead. go:fix inline
tlsconfig/certpool.go:10
FunctionTestConfigClientDefaultWithTLSMinimumModifier
If we provide a modifier to the client's default TLS configuration generator, it should be applied accordingly
tlsconfig/config_test.go:278
FunctionTestConfigClientExclusiveRootPools
Exclusive root pools determines whether the CA pool will be a union of the system certificate pool and custom certs, or an exclusive or of the custom
tlsconfig/config_test.go:514
FunctionTestConfigClientTLSClientCertOrKeyInvalid
An error is returned if either the client cert or the key are provided but invalid or blank.
tlsconfig/config_test.go:437
FunctionTestConfigClientTLSEncryptedKey
(t *testing.T)
tlsconfig/config_test.go:493
FunctionTestConfigClientTLSMinVersionIsSetBasedOnOptions
If a valid MinVersion is specified in the options, the client's minimum version should be set accordingly
tlsconfig/config_test.go:590
FunctionTestConfigClientTLSMinVersionNotSetIfMinVersionIsInvalid
An error should be returned if an invalid minimum version for the client is in the options struct
tlsconfig/config_test.go:626
FunctionTestConfigClientTLSMinVersionNotSetIfMinVersionIsTooLow
An error should be returned if the specified minimum version for the client is too low, i.e. less than VersionTLS12
tlsconfig/config_test.go:610
FunctionTestConfigClientTLSNoRoot
The root CA is never set if InsecureSkipBoolean is set to false and root CA is not provided.
tlsconfig/config_test.go:381
FunctionTestConfigClientTLSNoVerify
The root CA is never set if InsecureSkipBoolean is set to true, but the default client options are set
tlsconfig/config_test.go:354
FunctionTestConfigClientTLSNonexistentRootCAFile
An error is returned if a root CA is provided but the file doesn't exist.
tlsconfig/config_test.go:427
FunctionTestConfigClientTLSRootCAFileWithOneCert
The RootCA is set if the file is provided and InsecureSkipVerify is false
tlsconfig/config_test.go:405
FunctionTestConfigClientTLSValidClientCertAndKey
The certificate is set if the client cert and client key are provided and valid.
tlsconfig/config_test.go:462
FunctionTestConfigServerDefaultWithTLSMinimumModifier
If we provide a modifier to the server's default TLS configuration generator, it should be applied accordingly
tlsconfig/config_test.go:259
FunctionTestConfigServerExclusiveRootPools
Exclusive root pools determines whether the CA pool will be a union of the system certificate pool and custom certs, or an exclusive or of the custom
tlsconfig/config_test.go:175
FunctionTestConfigServerTLSClientCANotSetIfClientAuthTooLow
If client CA is provided, it will only be used if the client auth is >= VerifyClientCertIfGiven
tlsconfig/config_test.go:110
FunctionTestConfigServerTLSClientCASet
If client CA is provided, it will only be used if the client auth is >= VerifyClientCertIfGiven
tlsconfig/config_test.go:138
FunctionTestConfigServerTLSFailsIfUnableToLoadCerts
If the cert files and directory are provided but are invalid, an error is returned.
tlsconfig/config_test.go:41
FunctionTestConfigServerTLSMinVersionIsSetBasedOnOptions
If a valid minimum version is specified in the options, the server's minimum version should be set accordingly
tlsconfig/config_test.go:297
FunctionTestConfigServerTLSMinVersionNotSetIfMinVersionIsInvalid
An error should be returned if an invalid minimum version for the server is in the options struct
tlsconfig/config_test.go:338
FunctionTestConfigServerTLSMinVersionNotSetIfMinVersionIsTooLow
An error should be returned if the specified minimum version for the server is too low, i.e. less than VersionTLS10
tlsconfig/config_test.go:322
FunctionTestConfigServerTLSServerCertsOnly
If server cert and key are provided and client auth and client CA are not set, a tls config with only the server certs will be returned.
tlsconfig/config_test.go:72
FunctionTestGetSecurityDescriptor
(t *testing.T)
sockets/unix_socket_windows_test.go:34
FunctionTestInmemSocket
(t *testing.T)
sockets/inmem_socket_test.go:9
FunctionTestNewUnixSocket
(t *testing.T)
sockets/unix_socket_windows_test.go:106
FunctionTestNewUnixSocket
TestNewUnixSocket run under root user.
sockets/unix_socket_unix_test.go:83
FunctionTestNewUnixSocketUnknownGroup
(t *testing.T)
sockets/unix_socket_windows_test.go:182
FunctionTestNewUnixSocketWithOptsAbstract
TestNewUnixSocketWithOptsAbstract verifies that abstract Unix sockets behave correctly. Unlike filesystem-backed sockets, they must not create a socke
sockets/unix_socket_windows_test.go:121
FunctionTestNewUnixSocketWithOptsAbstract
TestNewUnixSocketWithOptsAbstract verifies that abstract Unix sockets behave correctly. Unlike filesystem-backed sockets, they must not create a socke
sockets/unix_socket_unix_test.go:101
FunctionTestNewUnixSocketWithOptsRemovesExistingFile
TestNewUnixSocketWithOptsRemovesExistingFile verifies that a pre-existing regular file is removed before creating the socket.
sockets/unix_socket_test.go:64
FunctionTestParseNetworkOptsNegativePorts
(t *testing.T)
nat/nat_test.go:703
FunctionTestParseNetworkOptsPrivateOnly
(t *testing.T)
nat/nat_test.go:602
FunctionTestParseNetworkOptsPublic
(t *testing.T)
nat/nat_test.go:644
FunctionTestParseNetworkOptsPublicNoPort
(t *testing.T)
nat/nat_test.go:686
FunctionTestParseNetworkOptsSctp
(t *testing.T)
nat/nat_test.go:761
FunctionTestParseNetworkOptsUdp
(t *testing.T)
nat/nat_test.go:719
FunctionTestParsePort
(t *testing.T)
nat/nat_test.go:8
FunctionTestParsePortNumber
(t *testing.T)
nat/parse_test.go:124
FunctionTestParsePortRange
(t *testing.T)
nat/parse_test.go:5
FunctionTestParsePortRangeToInt
TestParsePortRangeToInt tests behavior that's specific to [ParsePortRangeToInt], which is a shallow wrapper around [ParsePortRange], except for return
nat/nat_test.go:87
FunctionTestParsePortSpecEmptyContainerPort
(t *testing.T)
nat/nat_test.go:244
FunctionTestParsePortSpecFull
(t *testing.T)
nat/nat_test.go:276
FunctionTestParsePortSpecs
(t *testing.T)
nat/nat_test.go:390
FunctionTestParsePortSpecsWithRange
(t *testing.T)
nat/nat_test.go:501
FunctionTestPartPortSpecIPV6
(t *testing.T)
nat/nat_test.go:304
FunctionTestPort
(t *testing.T)
nat/nat_test.go:104
FunctionTestSortPortMap
(t *testing.T)
nat/sort_test.go:44
FunctionTestSortSamePortWithDifferentProto
(t *testing.T)
nat/sort_test.go:26
FunctionTestSortUniquePorts
(t *testing.T)
nat/sort_test.go:9
FunctionTestSplitProtoPort
(t *testing.T)
nat/nat_test.go:146
FunctionTestStringer
(t *testing.T)
nat/nat_test.go:803
FunctionTestTCP4Proxy
(t *testing.T)
proxy/network_proxy_test.go:120
FunctionTestTCP6Proxy
(t *testing.T)
proxy/network_proxy_test.go:132
FunctionTestTCPDualStackProxy
(t *testing.T)
proxy/network_proxy_test.go:144
FunctionTestUDP4Proxy
(t *testing.T)
proxy/network_proxy_test.go:163
FunctionTestUDP6Proxy
(t *testing.T)
proxy/network_proxy_test.go:175
FunctionTestUDPWriteError
(t *testing.T)
proxy/network_proxy_test.go:187
FunctionTestUnixSocketWithOpts
(t *testing.T)
sockets/unix_socket_windows_test.go:94
FunctionTestUnixSocketWithOpts
(t *testing.T)
sockets/unix_socket_unix_test.go:13
FunctionTestUnixSocketWithOptsCleanupOnError
TestUnixSocketWithOptsCleanupOnError verifies that partially initialized sockets are cleaned up when a socket option returns an error.
sockets/unix_socket_unix_test.go:64
FunctionTestUnixSocketWithOptsDefaultPermissions
TestUnixSocketWithOptsDefaultPermissions verifies that sockets created without an explicit WithChmod option have permissions set to 0000.
sockets/unix_socket_unix_test.go:43
FunctionconfigureNpipeTransport
(tr *http.Transport, addr string)
sockets/sockets_windows.go:11
FunctionlistenUnix
(path string, opts ...SockOption)
sockets/unix_socket_windows.go:131
Functionmain
()
tlsconfig/fixtures/generate.go:109
FunctionmaxListenerBacklog
maxListenerBacklog is similar to the equivalent in stdlib; https://github.com/golang/go/blob/go1.26.3/src/net/sock_bsd.go#L14-L39
sockets/unix_socket_bsd.go:12
FunctionmaxListenerBacklog
maxListenerBacklog returns the maximum length of the queue of pending connections for a listening socket. It is similar to in stdlib, but without the
sockets/unix_socket_linux.go:15
FunctionmaxListenerBacklog
()
sockets/unix_socket_other.go:7
← previous101–176 of 176, ranked by callers