class Docr::Types::NetworkConfig
- Docr::Types::NetworkConfig
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
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
- #attachable=(attachable : Bool | Nil)
- #check_duplicate : Bool | Nil
- #check_duplicate=(check_duplicate : Bool | Nil)
- #driver : String
- #driver=(driver : String)
- #enable_ipv6 : Bool | Nil
- #enable_ipv6=(enable_ipv6 : Bool | Nil)
- #ingress : Bool | Nil
- #ingress=(ingress : Bool | Nil)
- #internal : Bool | Nil
- #internal=(internal : Bool | Nil)
- #ipam : Docr::Types::IPAM | Nil
- #ipam=(ipam : Docr::Types::IPAM | Nil)
- #labels : Hash(String, String) | Nil
- #labels=(labels : Hash(String, String) | Nil)
- #name : String
- #name=(name : String)
- #options : Hash(String, String) | Nil
- #options=(options : Hash(String, String) | Nil)
Constructor Detail
def self.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)
#