noauth

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 2 Imported by: 11

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.

Jump to

Keyboard shortcuts

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