struct

Cloud::Instance

Inherits JSON::Serializable < Struct < Value < Object

A running instance

Constructors

new(id : Int64, status : String, gpu_name : String, price_per_hour : Float64, ssh_host : Nil | String = nil, ssh_port : Int32 | Nil = nil, label : Nil | String = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

gpu_name
Source
label
Source
price_per_hour
Source
ready?
Source
ssh_host
Source
ssh_port
Source
status
Source
to_s(io : IO)

Same as #inspect(io).

Source