class Companion::Docker::Client::Port

Included Modules

Defined in:

docker/client/port.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(private_port : Int16, type : Companion::Docker::Client::Port::Type, ip : Nil | String = nil, public_port : Int16 | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ip : String | Nil #

def ip=(ip : String | Nil) #

def private_port : Int16 #

def private_port=(private_port : Int16) #

def public_port : Int16 | Nil #

def public_port=(public_port : Int16 | Nil) #

def type : Type #

def type=(type : Type) #