Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultConnectionTimeout = temporal.GetConnectSSHTimeout() DefaultExecutionTimeout = temporal.GetExecutionTimeout() )
DefaultTimeout tells to use the timeout by default depending on context
Functions ¶
func DecorateError ¶
DecorateError changes the error to something more comprehensible when timeout occurred
func IsProvisioningError ¶
IsProvisioningError detects provisioning errors
func IsTimeoutError ¶
IsTimeoutError tells if the err is a timeout kind
Types ¶
type Client ¶
type Client *Session
Client is a instance of Session used temporarily until the session logic in safescaled is implemented
type Session ¶
type Session struct { Bucket *bucket Data *data Host *host Image *image JobManager *jobManager Network *network SSH *ssh Template *template Tenant *tenant Volume *volume // contains filtered or unexported fields }
Session units the different resources proposed by safescaled as safescale client
func (*Session) Connect ¶
func (s *Session) Connect()
Connect establishes connection with safescaled
func (*Session) Disconnect ¶
func (s *Session) Disconnect()
Disconnect cuts the connection with safescaled
Click to show internal directories.
Click to hide internal directories.