httpbasic

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 6

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

type EndpointOpts struct {
	IronicEndpoint     string
	IronicUser         string
	IronicUserPassword string
}

EndpointOpts specifies a "http_basic" Ironic Endpoint

Jump to

Keyboard shortcuts

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