class Docr::Types::NetworkConfig
  
  - Docr::Types::NetworkConfig
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
docr/types/network_config.crConstructors
- .new(pull : JSON::PullParser)
- .new(name : String, check_duplicate : Bool | Nil = nil, driver : String = "bridge", internal : Bool | Nil = nil, attachable : Bool | Nil = nil, ingress : Bool | Nil = nil, ipam : Nil | Docr::Types::IPAM = nil, enable_ipv6 : Bool | Nil = nil, options : Nil | Hash(String, String) = nil, labels : Nil | Hash(String, String) = nil)
Instance Method Summary
- 
        #attachable : Bool | Nil
        
          Globally scoped network is manually attachable by regular containers from workers in swarm mode. 
- 
        #attachable=(attachable : Bool | Nil)
        
          Globally scoped network is manually attachable by regular containers from workers in swarm mode. 
- 
        #check_duplicate : Bool | Nil
        
          Check for networks with duplicate names. 
- 
        #check_duplicate=(check_duplicate : Bool | Nil)
        
          Check for networks with duplicate names. 
- 
        #driver : String
        
          Name of the network driver plugin to use. 
- 
        #driver=(driver : String)
        
          Name of the network driver plugin to use. 
- 
        #enable_ipv6 : Bool | Nil
        
          Enable IPv6 on the network. 
- 
        #enable_ipv6=(enable_ipv6 : Bool | Nil)
        
          Enable IPv6 on the network. 
- 
        #ingress : Bool | Nil
        
          Ingress network is the network which provides the routing-mesh in swarm mode. 
- 
        #ingress=(ingress : Bool | Nil)
        
          Ingress network is the network which provides the routing-mesh in swarm mode. 
- 
        #internal : Bool | Nil
        
          Restrict external access to the network. 
- 
        #internal=(internal : Bool | Nil)
        
          Restrict external access to the network. 
- 
        #ipam : Docr::Types::IPAM | Nil
        
          Optional custom IP scheme for the network. 
- 
        #ipam=(ipam : Docr::Types::IPAM | Nil)
        
          Optional custom IP scheme for the network. 
- 
        #labels : Hash(String, String) | Nil
        
          User-defined key/value metadata. 
- 
        #labels=(labels : Hash(String, String) | Nil)
        
          User-defined key/value metadata. 
- 
        #name : String
        
          The network's name. 
- 
        #name=(name : String)
        
          The network's name. 
- 
        #options : Hash(String, String) | Nil
        
          Network specific options to be used by the drivers. 
- 
        #options=(options : Hash(String, String) | Nil)
        
          Network specific options to be used by the drivers. 
Constructor Detail
Instance Method Detail
Globally scoped network is manually attachable by regular containers from workers in swarm mode.
Globally scoped network is manually attachable by regular containers from workers in swarm mode.
Ingress network is the network which provides the routing-mesh in swarm mode.
Ingress network is the network which provides the routing-mesh in swarm mode.
Network specific options to be used by the drivers.