2015-05-06 04:19:57 +00:00
|
|
|
package netlabel
|
|
|
|
|
|
|
|
const (
|
2015-06-14 09:03:42 -07:00
|
|
|
// Prefix constant marks the reserved label space for libnetwork
|
|
|
|
Prefix = "com.docker.network"
|
|
|
|
|
|
|
|
// DriverPrefix constant marks the reserved label space for libnetwork drivers
|
|
|
|
DriverPrefix = Prefix + ".driver"
|
|
|
|
|
2015-05-06 04:19:57 +00:00
|
|
|
// GenericData constant that helps to identify an option as a Generic constant
|
2015-06-14 09:03:42 -07:00
|
|
|
GenericData = Prefix + ".generic"
|
2015-05-06 04:19:57 +00:00
|
|
|
|
|
|
|
// PortMap constant represents Port Mapping
|
2015-06-14 09:03:42 -07:00
|
|
|
PortMap = Prefix + ".portmap"
|
2015-05-06 04:19:57 +00:00
|
|
|
|
|
|
|
// MacAddress constant represents Mac Address config of a Container
|
2015-06-14 09:03:42 -07:00
|
|
|
MacAddress = Prefix + ".endpoint.macaddress"
|
2015-05-06 04:19:57 +00:00
|
|
|
|
|
|
|
// ExposedPorts constant represents exposedports of a Container
|
2015-06-14 09:03:42 -07:00
|
|
|
ExposedPorts = Prefix + ".endpoint.exposedports"
|
2015-05-06 04:19:57 +00:00
|
|
|
|
|
|
|
//EnableIPv6 constant represents enabling IPV6 at network level
|
2015-06-14 09:03:42 -07:00
|
|
|
EnableIPv6 = Prefix + ".enable_ipv6"
|
2015-05-06 04:19:57 +00:00
|
|
|
)
|