github.com/Prakhar-Agarwal-byte/moby@v0.0.0-20231027092010-a14e3e8ab87e/libnetwork/netlabel/labels.go (about) 1 package netlabel 2 3 const ( 4 // Prefix constant marks the reserved label space for libnetwork 5 Prefix = "com.docker.network" 6 7 // DriverPrefix constant marks the reserved label space for libnetwork drivers 8 DriverPrefix = Prefix + ".driver" 9 10 // DriverPrivatePrefix constant marks the reserved label space 11 // for internal libnetwork drivers 12 DriverPrivatePrefix = DriverPrefix + ".private" 13 14 // GenericData constant that helps to identify an option as a Generic constant 15 GenericData = Prefix + ".generic" 16 17 // PortMap constant represents Port Mapping 18 PortMap = Prefix + ".portmap" 19 20 // MacAddress constant represents Mac Address config of a Container 21 MacAddress = Prefix + ".endpoint.macaddress" 22 23 // ExposedPorts constant represents the container's Exposed Ports 24 ExposedPorts = Prefix + ".endpoint.exposedports" 25 26 // DNSServers A list of DNS servers associated with the endpoint 27 DNSServers = Prefix + ".endpoint.dnsservers" 28 29 // EnableIPv6 constant represents enabling IPV6 at network level 30 EnableIPv6 = Prefix + ".enable_ipv6" 31 32 // DriverMTU constant represents the MTU size for the network driver 33 DriverMTU = DriverPrefix + ".mtu" 34 35 // OverlayVxlanIDList constant represents a list of VXLAN Ids as csv 36 OverlayVxlanIDList = DriverPrefix + ".overlay.vxlanid_list" 37 38 // Gateway represents the gateway for the network 39 Gateway = Prefix + ".gateway" 40 41 // Internal constant represents that the network is internal which disables default gateway service 42 Internal = Prefix + ".internal" 43 44 // ContainerIfacePrefix can be used to override the interface prefix used inside the container 45 ContainerIfacePrefix = Prefix + ".container_iface_prefix" 46 47 // HostIPv4 is the Source-IPv4 Address used to SNAT IPv4 container traffic 48 HostIPv4 = Prefix + ".host_ipv4" 49 50 // LocalKVClient constants represents the local kv store client 51 LocalKVClient = DriverPrivatePrefix + "localkv_client" 52 )