struct CrystaLXD::Operation
- CrystaLXD::Operation
- Struct
- Value
- Object
Overview
https://github.com/lxc/lxd/blob/master/doc/rest-api.md#10operations
Defined in:
client/operation.crConstructors
Instance Method Summary
-
#state : Success(BackgroundOperation) | Error
Returns the current state (https://github.com/lxc/lxd/blob/master/doc/rest-api.md#get-24).
- #uuid : String
-
#wait(timeout : Int32 | Nil = nil) : Success(BackgroundOperation) | Error
Wait for an operation to finish, with an optional timeout in seconds (https://github.com/lxc/lxd/blob/master/doc/rest-api.md#get-optional-timeout30).
-
#websocket(secret : String)
This connection is upgraded into a websocket connection speaking the protocol defined by the operation type.
Constructor Detail
Instance Method Detail
Returns the current state (https://github.com/lxc/lxd/blob/master/doc/rest-api.md#get-24).
Wait for an operation to finish, with an optional timeout in seconds (https://github.com/lxc/lxd/blob/master/doc/rest-api.md#get-optional-timeout30).
This connection is upgraded into a websocket connection speaking the protocol defined by the operation type. (https://github.com/lxc/lxd/blob/master/doc/rest-api.md#get-secretsecret).