2017 © Pedro Peláez
 

library yarn-resource-manager-api

PHP Yarn Resource Manager REST API library

image

degagne/yarn-resource-manager-api

PHP Yarn Resource Manager REST API library

  • Sunday, February 4, 2018
  • by ddegagne
  • Repository
  • 2 Watchers
  • 0 Stars
  • 246 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 811 % Grown

The README.md

Installation

Add yarn-resource-manager-api package to your composer.json file., (*1)

{
    "require": {
        "degagne/yarn-resource-manager-api": "~1.0"
    }
}

or run composer require degagne/yarn-resource-manager-api, (*2)

Basic Usage

require_once(__DIR__ . '/vendor/autoload.php');

use YarnResourceManager\ResourceManager;

$parameters = [
        'user'              => 'jdoe',
        'limit'             => 10,
        'states'            => 'KILLED,FAILED,FINISHED',
        'startedTimeBegin'  => '2017-10-10 02:23:12',
        'applicationTypes'  => 'TEZ,SPARK'
];

$rm = new ResourceManager('api_url', 'port', 'format');
$rm->applications($parameters);

The Versions

04/02 2018

dev-master

9999999-dev https://github.com/degagne/yarn-resource-manager-api

PHP Yarn Resource Manager REST API library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Deric Degagne

php

23/01 2018

dev-scrutinizer-patch-1

dev-scrutinizer-patch-1 https://github.com/degagne/yarn-resource-manager-api

PHP Yarn Resource Manager REST API library

  Sources   Download

The Requires

  • php >=5.4.0

 

by Deric Degagne

php

30/10 2017

v1.0

1.0.0.0 https://github.com/degagne/yarn-resource-manager-api

PHP Yarn Resource Manager REST API library

  Sources   Download

The Requires

  • php >=5.4.0

 

by Deric Degagne

php