class CB::Program

Defined in:

cb/program.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(host = nil, input : IO = STDIN, output : IO = STDOUT) #

[View source]

Instance Method Detail

def client #

[View source]
def creds : CB::Creds #

[View source]
def creds=(creds : CB::Creds | Nil) #

[View source]
def destroy_cluster(id) #

[View source]
def ensure_token_still_good : Bool #

api may lose the token before it's actually expired returns false if the token didn't need to be refreshed true if refreshing the token worked and the user should retry it is assumed that the token will work after a refresh


[View source]
def host : String #

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

[View source]
def info(id) #

[View source]
def input : IO #

[View source]
def input=(input : IO) #

[View source]
def list_clusters #

[View source]
def login #

[View source]
def output : IO #

[View source]
def output=(output : IO) #

[View source]
def team_cert(team_id) #

[View source]
def teams #

[View source]
def token : CB::Token #

[View source]
def token=(token : CB::Token | Nil) #

[View source]