Go library for accessing the Foreman API: https://theforeman.org/.
The general design and implementation (and some code) of this comes from the go-github library from Google (shout out to Will Norris!).
There's still a LOT to do. Consider this alpha status.
Of course! You can help by filing issues or PR's. Here are the API docs for Foreman.