class Hetzner::Instance

Included Modules

Defined in:

hetzner/instance.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : Int32, status : String, instance_name : String, internal_ip : String, external_ip : String) #

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

[View source]

Instance Method Detail

def host_ip_address #

[View source]
def id : Int32 #

[View source]
def id=(id : Int32) #

[View source]
def master? #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def private_ip_address #

[View source]
def private_net : Array(Hetzner::NetworkInterface) | Nil #

[View source]
def public_ip_address #

[View source]
def public_net : PublicNet | Nil #

[View source]
def status : String #

[View source]
def status=(status : String) #

[View source]