github.com/gophercloud/gophercloud@v1.11.0/openstack/baremetal/httpbasic/doc.go (about)

     1  /*
     2  Package httpbasic provides support for http_basic bare metal endpoints.
     3  
     4  Example of obtaining and using a client:
     5  
     6  	      client, err := httpbasic.NewBareMetalHTTPBasic(httpbasic.Endpoints{
     7  			IronicEndpoing:     "http://localhost:6385/v1/",
     8  			IronicUser:         "myUser",
     9  			IronicUserPassword: "myPassword",
    10  		})
    11  		if err != nil {
    12  			panic(err)
    13  		}
    14  
    15  		client.Microversion = "1.50"
    16  		nodes.ListDetail(client, nodes.listOpts{})
    17  */
    18  package httpbasic