NetworkSetting
class NetworkSetting extends Alvine
Netzwerkeinstellungen
Diese Klasse bildet in der Rückgabe die Netzwerkeinstellungen von Docker ab.
"NetworkSettings": {
"Bridge": "",
"SandboxID": "",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": null,
"SandboxKey": "",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "", // deprecated
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "", // deprecated
"IPPrefixLen": 0, // deprecated
"IPv6Gateway": "",
"MacAddress": "", // deprecated
"Networks": {
"bridge": {
"NetworkID": "7ea29fc1412292a2d7bba362f9253545fecdfa8ce9a6e37dd10ba8bee7129812",
"EndpointID": "7587b82f0dada3656fda26588aee72630c6fab1536d36e394b2bfbcf898c971d",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:12:00:02"
}
}
Properties
protected string | $bridge | ||
protected IP4Address | $gateway | ||
protected IP4Address | $iPAddress | ||
protected integer | $iPPrefixLen | ||
protected MACAddress | $macAddress | ||
protected string | $sandboxID | ||
protected boolean | $hairpinMode | ||
protected IP6Address | $linkLocalIPv6Address | ||
protected integer | $linkLocalIPv6PrefixLen | ||
protected PortMapping> | $ports | ||
protected string | $sandboxKey | ||
protected mixed | $secondaryIPAddresses | ||
protected mixed | $secondaryIPv6Addresses | ||
protected string | $endpointID | ||
protected IP6Address | $globalIPv6Address | ||
protected integer | $globalIPv6PrefixLen | ||
protected IP6Address | $iPv6Gateway | ||
protected string | $networks |
Methods
__construct
getSandboxID
getHairpinMode
getLinkLocalIPv6Address
getLinkLocalIPv6PrefixLen
getPorts
getSandboxKey
getSecondaryIPAddresses
getSecondaryIPv6Addresses
getEndpointID
getGlobalIPv6Address
getGlobalIPv6PrefixLen
getIPPrefixLen
getIPv6Gateway
getNetworks
setSandboxID
setHairpinMode
setLinkLocalIPv6Address
setLinkLocalIPv6PrefixLen
setPorts
setSandboxKey
setSecondaryIPAddresses
setSecondaryIPv6Addresses
setEndpointID
setGlobalIPv6Address
setGlobalIPv6PrefixLen
setIPv6Gateway
setNetworks
getInstanceFromArray
Details
at line 172
__construct()
__construct
at line 185
string
getBridge()
deprecated
deprecated
getBridge
at line 194
string
getSandboxID()
getSandboxID
at line 203
boolean
getHairpinMode()
getHairpinMode
at line 212
IP6Address
getLinkLocalIPv6Address()
getLinkLocalIPv6Address
at line 221
integer
getLinkLocalIPv6PrefixLen()
getLinkLocalIPv6PrefixLen
at line 230
PortMapping>
getPorts()
getPorts
at line 239
string
getSandboxKey()
getSandboxKey
at line 248
mixed
getSecondaryIPAddresses()
getSecondaryIPAddresses
at line 257
mixed
getSecondaryIPv6Addresses()
getSecondaryIPv6Addresses
at line 266
string
getEndpointID()
getEndpointID
at line 277
string
getGateway()
deprecated
deprecated
getGateway
at line 286
IP6Address
getGlobalIPv6Address()
getGlobalIPv6Address
at line 295
integer
getGlobalIPv6PrefixLen()
getGlobalIPv6PrefixLen
at line 306
IP4Address
getIPAddress()
deprecated
deprecated
getIPAddress
at line 315
integer
getIPPrefixLen()
getIPPrefixLen
at line 324
IP6Address
getIPv6Gateway()
getIPv6Gateway
at line 335
MACAddress
getMacAddress()
deprecated
deprecated
getMacAddress
at line 344
Network>
getNetworks()
getNetworks
at line 357
NetworkSetting
setBridge(string $bridge)
deprecated
deprecated
setBridge
at line 369
NetworkSetting
setSandboxID(string $sandboxID)
setSandboxID
at line 381
NetworkSetting
setHairpinMode(boolean $hairpinMode)
setHairpinMode
at line 393
NetworkSetting
setLinkLocalIPv6Address(string $linkLocalIPv6Address)
setLinkLocalIPv6Address
at line 405
NetworkSetting
setLinkLocalIPv6PrefixLen(integer $linkLocalIPv6PrefixLen)
setLinkLocalIPv6PrefixLen
at line 417
NetworkSetting
setPorts(Collection $ports)
setPorts
at line 429
NetworkSetting
setSandboxKey(string $sandboxKey)
setSandboxKey
at line 441
NetworkSetting
setSecondaryIPAddresses(mixed $secondaryIPAddresses)
setSecondaryIPAddresses
at line 453
NetworkSetting
setSecondaryIPv6Addresses(mixed $secondaryIPv6Addresses)
setSecondaryIPv6Addresses
at line 465
NetworkSetting
setEndpointID(string $endpointID)
setEndpointID
at line 479
NetworkSetting
setGateway(IP4Address $gateway)
deprecated
deprecated
setGateway
at line 491
NetworkSetting
setGlobalIPv6Address(IP6Address $globalIPv6Address)
setGlobalIPv6Address
at line 503
NetworkSetting
setGlobalIPv6PrefixLen(integer $globalIPv6PrefixLen)
setGlobalIPv6PrefixLen
at line 517
NetworkSetting
setIPAddress(IP4Address $iPAddress)
deprecated
deprecated
setIPAddress
at line 531
NetworkSetting
setIPPrefixLen(integer $iPPrefixLen)
deprecated
deprecated
setIPPrefixLen
at line 543
NetworkSetting
setIPv6Gateway(IP6Address $iPv6Gateway)
setIPv6Gateway
at line 557
NetworkSetting
setMacAddress(MACAddress $macAddress)
deprecated
deprecated
setMacAddress
at line 569
NetworkSetting
setNetworks(Map $networks)
setNetworks
at line 631
static NetworkSetting
getInstanceFromArray(Array|ArrayHelper $array)
getInstanceFromArray