#api #speak #binary #rpc #rpc-api #spacewalk #authkey

yanked spaceralk

library and binary to speak to the spacewalk RPC API

Uses old Rust 2015

0.1.0 Feb 10, 2017

#6 in #speak

MIT license

10KB
212 lines

Spaceralk

Speak to Spacewalk XML-RPC API with Rust.

$ cargo run -- -U https://<spacewalk_addr:port>/ -m auth.login -j '["admin", "admin"]'
Result: String("<authkey>")
$ cargo run -- -U https://<spacewalk_addr:port>/ -m channel.listAllChannels -j '["<authkey>"]'
$ cargo run -- -U https://<spacewalk_addr:port>/ -m channel.software.listAllPackages -j '["<authkey>", "channel_label"]'

TODO

Dependencies

~7MB
~161K SLoC