How kgrvamsi/redfishapi works
Redfish API Go is a Go client library for managing Dell and HP servers that expose Redfish. The documented workflow is to create an IloClient with a host and credentials, call a vendor-specific method, and receive a result or error. Vendor methods issue Redfish requests and decode responses; the shared helper supplies authenticated HTTP transport. The README demonstrates Dell BIOS data and HP firmware retrieval. Sampled excerpts also show power control, health and inventory reads, configuration, account management, and event logs. Dell and HP excerpts are partial, so unsampled capabilities are grouped by vendor rather than individually mapped.
Main entry points: helper.go Authenticated requests · dell.go Dell operations · hp.go HP operations · client.go Client credentials
Components 7
Client setup
- Client credentials
client.go
Server operations
- Dell operations
dell.go - HP operations
hp.go - Redfish data types
types.go
HTTP transport
- Authenticated requests
helper.go
Other components
- Library user
- Redfish server
Connections 6
- Library user → Client credentials: creates client
README.md - Library user → Dell operations: calls Dell methods
README.md - Library user → HP operations: calls HP methods
README.md - Dell operations → Authenticated requests: sends requests
dell.go - HP operations → Authenticated requests: sends requests
hp.go - Authenticated requests → Redfish server: sends HTTP
helper.go