简体   繁体   English

pkgcloud和GCE(Google Compute Engine)

[英]pkgcloud and GCE (Google Compute Engine)

Is it possible to control GCE (Google Compute Engine) using pkgcloud for Node.js? 是否可以使用pkgcloud for Node.js控制GCE(Google Compute Engine)?

This page says "The GCE APIs are implemented as first-class citizens of OpenStack Compute": http://www.cloudscaling.com/blog/cloud-computing/why-google-compute-engine-for-openstack/ 本页显示“ GCE API是作为OpenStack Compute的一等公民实施的”: http ://www.cloudscaling.com/blog/cloud-computing/why-google-compute-engine-for-openstack/

...and pkgcloud supports OpenStack. ...而pkgcloud支持OpenStack。 But I haven't seen anywhere where support is explicitly affirmed for GCE and if OAuth is handled by pkgcloud (speaking somewhat uninformedly here) and haven't seen any sample code specifically for GCE. 但是我还没有见过任何地方明确确认对GCE的支持,以及OAuth是否由pkgcloud处理(在这里说得有些不客气),也没有见过任何专门针对GCE的示例代码。

Have you had a look at the Google APIs Node.js Client available at [1]? 您是否看过[1]中提供的Google API Node.js客户端? It has built-in support for OAuth 2.0. 它具有对OAuth 2.0的内置支持。

[1] - https://github.com/google/google-api-nodejs-client [1] -https://github.com/google/google-api-nodejs-client

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM