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