我不熟悉CloudFoundry
。我想访问我的应用程序信息,甚至想尝试在CloudFoundry
中使用cloudfoundry-client
python模块创建一个使用python的应用程序。
cloudfoundry_client.CloudFoundryClient("https://api.run.pivotal.io","cf",'',None,False)
我在python命令行中使用了它,它显示了错误。
有人能帮我用python连接到我的CloudFoundry
来创建和管理我的应用程序吗。在
编辑
错误消息:
Traceback (most recent call last): File "<pyshell#17>", line 1, in <module> cloudfoundry_client.CloudFoundryClient("https://api.run.pivotal.io","cf",'',None,False) File "C:\Python27\lib\site-packages\cloudfoundry_client\client.py", line 25, in __init__ self.info = caller.get('%s/info' % self.target_endpoint).json() TypeError: 'dict' object is not callable
这就是连接到cf python客户机模块的方法
这就是你如何获得所有应用程序在目标终端的所有细节
^{pr2}$如果要使用用户名和密码登录,请执行以下操作:
它对我有用。在
相关问题 更多 >
编程相关推荐