Registry /
cloud / gophercloud-gophercloud
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
gophercloud
✓ github.com/gophercloud/gophercloud
Authenticates to an OpenStack identity endpoint.
package main
import (
"fmt"
"github.com/gophercloud/gophercloud"
"github.com/gophercloud/gophercloud/openstack"
)
func main() {
opts, err := openstack.AuthenticatedClient(gophercloud.AuthOptions{
IdentityEndpoint: "https://identity.example.com/v3",
Username: "admin",
Password: "secret",
DomainName: "Default",
})
if err != nil {
panic(err)
}
fmt.Println("Authenticated")
_ = opts
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.14.1latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.