Documentation ¶
Overview ¶
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")
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBareMetalIntrospectionHTTPBasic ¶
func NewBareMetalIntrospectionHTTPBasic(eo EndpointOpts) (*gophercloud.ServiceClient, error)
NewBareMetalIntrospectionHTTPBasic creates a ServiceClient that may be used to access a "http_basic" bare metal introspection service.
Types ¶
type EndpointOpts ¶
type EndpointOpts struct { IronicInspectorEndpoint string IronicInspectorUser string IronicInspectorUserPassword string }
EndpointOpts specifies a "http_basic" Ironic Inspector Endpoint.
Click to show internal directories.
Click to hide internal directories.