mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 07:10:05 +02:00
e71fc374bc
This brings the name of the application inline with the terminology in the Joyent triton / cloud api documentation.
26 lines
524 B
JavaScript
26 lines
524 B
JavaScript
const request = require('./request');
|
|
|
|
module.exports.list = (ctx) => {
|
|
return request('listImages', ctx);
|
|
};
|
|
|
|
module.exports.get = (ctx) => {
|
|
return request('getImage', ctx);
|
|
};
|
|
|
|
module.exports.create = (ctx) => {
|
|
return request('createImageFromMachine', ctx);
|
|
};
|
|
|
|
// module.exports.update = (ctx) => {
|
|
// return request('UpdateImage', ctx);
|
|
// };
|
|
|
|
module.exports.destroy = (uuid) => {
|
|
return request('deleteImage', uuid);
|
|
};
|
|
|
|
// module.exports.xport = (uuid) => {
|
|
// return request('deleteImage', uuid);
|
|
// };
|