Documentation ¶
Overview ¶
Package noauth provides support for noauth bare metal endpoints.
Example of obtaining and using a client:
client, err := noauth.NewBareMetalNoAuth(noauth.EndpointOpts{ IronicEndpoint: "http://localhost:6385/v1/", }) 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 NewBareMetalNoAuth ¶
func NewBareMetalNoAuth(eo EndpointOpts) (*gophercloud.ServiceClient, error)
NewBareMetalNoAuth creates a ServiceClient that may be used to access a "noauth" bare metal service.
Types ¶
type EndpointOpts ¶
type EndpointOpts struct { // IronicEndpoint [required] is currently only used with "noauth" Ironic. // An Ironic endpoint with "auth_strategy=noauth" is necessary, for example: // http://ironic.example.com:6385/v1. IronicEndpoint string }
EndpointOpts specifies a "noauth" Ironic Endpoint.
Click to show internal directories.
Click to hide internal directories.