noauth

package
v1.1.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL