Documentation ¶
Overview ¶
Package httpbasic provides support for http_basic bare metal endpoints.
Example of obtaining and using a client:
client, err := httpbasic.NewBareMetalHTTPBasic(httpbasic.Endpoints{ IronicEndpoing: "http://localhost:6385/v1/", IronicUser: "myUser", IronicUserPassword: "myPassword", }) if err != nil { panic(err) } client.Microversion = "1.50" nodes.ListDetail(client, nodes.listOpts{})
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBareMetalHTTPBasic ¶
func NewBareMetalHTTPBasic(eo EndpointOpts) (*gophercloud.ServiceClient, error)
NewBareMetalHTTPBasic creates a ServiceClient that may be used to access a "http_basic" bare metal service.
Types ¶
type EndpointOpts ¶
EndpointOpts specifies a "http_basic" Ironic Endpoint
Click to show internal directories.
Click to hide internal directories.