class Companion::Docker::Client::Port
- Companion::Docker::Client::Port
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
docker/client/port.crConstructors
- .new(private_port : Int16, type : Companion::Docker::Client::Port::Type, ip : Nil | String = nil, public_port : Int16 | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #ip : String | Nil
- #ip=(ip : String | Nil)
- #private_port : Int16
- #private_port=(private_port : Int16)
- #public_port : Int16 | Nil
- #public_port=(public_port : Int16 | Nil)
- #type : Type
- #type=(type : Type)
Constructor Detail
def self.new(private_port : Int16, type : Companion::Docker::Client::Port::Type, ip : Nil | String = nil, public_port : Int16 | Nil = nil)
#