ruby-yarn:Ruby Yarn REST API客户端

时间:2021-05-09 01:16:16
【文件属性】:
文件名称:ruby-yarn:Ruby Yarn REST API客户端
文件大小:14KB
文件格式:ZIP
更新时间:2021-05-09 01:16:16
Ruby Ruby纱 这是用于访问的瑰宝,它基本上将其包装在rest-client和hashie中。 它可以检测到RM处于待机模式(在HA设置中),并将在Active RM上自动重试。 不支持身份验证(不过-欢迎PR!)。 也没有测试。 安装 将此行添加到您的应用程序的Gemfile中(直到我实际发布为止): gem 'ruby-yarn', :git => 'https://github.com/grisha/ruby-yarn.git' 用法 require 'ruby-yarn' 资源管理器API rm = RubyYarn :: Cluster . new ( 'http://resource-manager-host.example.com:8088/ws/v1' ) # nodes nodes = rm . nodes # nodes is an array of [Mashe
【文件预览】:
ruby-yarn-master
----.gitignore(162B)
----LICENSE.txt(11KB)
----README.md(3KB)
----ruby-yarn.gemspec(962B)
----lib()
--------ruby-yarn.rb(769B)
--------ruby-yarn()
----Gemfile(94B)
----Rakefile(28B)

网友评论