Using operator with redhat.local

Go integration

Install
go get github.com/janus-idp/operator
Quick start
import "operator"

// Initialize client
client := operator.NewClient("YOUR_API_KEY")
Show me all my systems
curl \
  -H "x-rh-identity: $API_KEY" \
  http://redhat.local/api/patch/v1/systems
Show me all installed packages across my systems
curl \
  -H "x-rh-identity: $API_KEY" \
  http://redhat.local/api/patch/v1/packages/
Show me all applicable advisories for all my systems
curl \
  -H "x-rh-identity: $API_KEY" \
  http://redhat.local/api/patch/v1/advisories
SDK on GitHub 📄 API Docs
SDK
operator
Go
API
redhat.local
redhat.local:patchman-engine
At a glance
Language Go
Endpoints21
Base URLhttp://redhat.local