A ruby client wrapper for the Pachyderm API
$ gem install pachyderm
The Major.Minor.Point.Micro
versioning is aligned with versioned releases of Pachyderm.
So version 1.7.3.9
of this gem, was built against version 1.7.3
of the Pachyderm API (proto / grpc definitions).
require 'pachyderm'
client = Pachyderm::Client.new(address)
req = Google::Protobuf::Empty.new
res = client.list_repo(req)
res.repo_info.each {|r| puts r}
Or to specify session / use a logged in client, specify your authentication token:
require 'pachyderm'
client = Pachyderm::Client.new(address, token)
client.get_admins(Pachyderm::Auth::GetAdminsRequest.new)