-
Python客户端client-python:适用于Rancher API
资源介绍
客户端python
Rancher API的Python客户端
正在安装
注意:此软件包需要Python 3+
pip install git+https://github.com/rancher/client-python.git@master
使用API
import rancher
client = rancher . Client ( url = 'https://localhost:8443/v3' ,
access_key = '' ,
secret_key = '' )
# curl -s https://localhost:8443/v3/users?me=true
client .
- 上一篇: unide.python
- 下一篇: 青云高效运维k8s集群.pdf