iqual/rancher-api
Composer 安装命令:
composer require iqual/rancher-api
包简介
iqual version of Tyldar/rancher-api
README 文档
README
Bundle of PHP classes to interact with Rancher (Container Management System) API.
Installation
RancherAPI uses compose to make installation easier.
Install via composer
composer require tyldar/rancher-api
Usage
RancherAPI is incredibly intuitive to use.
Introduction
<?php require 'vendor/autoload.php'; use Tyldar\Rancher\Rancher; try { $rancher = new Rancher("RANCHERHOSTURL", "RANCHERACCESSKEY", "RANCHERSECRETKEY", "PROJECT"); echo json_encode($rancher->containers()->getAll()); } catch(Exception $e) { var_dump($e->getResponse()->getBody()->getContents()); } ?>
统计信息
- 总下载量: 888
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2022-07-27