Skip to content

Commit

Permalink
chore(.getWebSocket): stub Request backend (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
silasbw authored Jul 11, 2019
1 parent cf94ff6 commit 85e6b1c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions backends/request/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,17 @@ class Request {
return jsonStream
}

/**
* @param {object} options - Options object
* @param {Stream} options.stdin - optional stdin Readable stream
* @param {Stream} options.stdout - optional stdout Writeable stream
* @param {Stream} options.stderr - optional stdout Writeable stream
* @returns {Promise} Promise resolving to a Kubernetes V1 Status object and a WebSocket
*/
async getWebSocket (options) {
throw new Error('Request.getWebSocket not implemented')
}

/**
* @typedef {object} ApiRequestOptions
* @property {object} body - Request body
Expand Down

0 comments on commit 85e6b1c

Please sign in to comment.