定制 mauchede/rancher-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mauchede/rancher-api

Composer 安装命令:

composer require mauchede/rancher-api

包简介

Rancher API is a set of PHP classes for interacting with Rancher

README 文档

README

Rancher API is a set of PHP classes for interacting with Rancher.

⚠️ This project is no longer maintained. ⚠️

SensioLabsInsight

## Installation

Rancher API can be installed via composer:

composer require mauchede/rancher-api

Note: To use the JMS annotation, you may have to configure your autoload. You can find an example in bootstrap.php.dist.

Usage

use Mauchede\RancherApi\Client\Client;
use Mauchede\RancherApi\Resource\Project;

$client = new Client('access_key', 'secret_key');
$project = $client->get('endpoint', Project::class);
$containers = $project->getContainers();

endpoint and the API Keys (access_key and secret_key) can be found in Rancher settings ([Rancher URL]/settings/api).

Note: API keys are only available for one project/environment.

Links

统计信息

  • 总下载量: 1.8k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 15
  • Watchers: 2
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-31