class CB::Program
- CB::Program
- Reference
- Object
Defined in:
cb/program.crConstructors
Instance Method Summary
- #client
- #creds : CB::Creds
- #creds=(creds : CB::Creds | Nil)
- #destroy_cluster(id)
-
#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
- #host : String
- #host=(host : String)
- #info(id)
- #input : IO
- #input=(input : IO)
- #list_clusters
- #login
- #output : IO
- #output=(output : IO)
- #team_cert(team_id)
- #teams
- #token : CB::Token
- #token=(token : CB::Token | Nil)
Constructor Detail
Instance Method Detail
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