Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultConnectionTimeout = 30 * time.Second DefaultExecutionTimeout = 5 * time.Minute )
DefaultTimeout tells to use the timeout by default depending on context
Variables ¶
This section is empty.
Functions ¶
func DecorateError ¶
DecorateError changes the error to something more comprehensible when timeout occured
Types ¶
type Client ¶
type Client *Session
Client is a instance of Session used temporarily until the session logic in brokerd is implemented
type Session ¶
type Session struct { Bucket *bucket Host *host Network *network Ssh *ssh Tenant *tenant Volume *volume Template *template Image *image // contains filtered or unexported fields }
Session units the different resources proposed by brokerd as broker client
func (*Session) Disconnect ¶
func (s *Session) Disconnect()
Disconnect cuts the connection with brokerd
Click to show internal directories.
Click to hide internal directories.