httpbasic

package
Version: v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: Apache-2.0 Imports: 3 Imported by: 3

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL