1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
/*
Package httpbasic provides support for http_basic bare metal introspection endpoints.
Example of obtaining and using a client:
client, err := httpbasic.NewBareMetalIntrospectionHTTPBasic(httpbasic.EndpointOpts{
IronicInspectorEndpoint: "http://localhost:5050/v1/",
IronicInspectorUser: "myUser",
IronicInspectorUserPassword: "myPassword",
})
if err != nil {
panic(err)
}
introspection.GetIntrospectionStatus(client, "a62b8495-52e2-407b-b3cb-62775d04c2b8")
*/
package httpbasic
|