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.
golangsdk
✓ github.com/huaweicloud/golangsdk
Authenticate to an OpenStack cloud.
package main
import (
"fmt"
"github.com/huaweicloud/golangsdk"
)
func main() {
opts := golangsdk.AuthOptions{
IdentityEndpoint: "https://example.com:5000/v3",
Username: "user",
Password: "pass",
TenantName: "project",
}
provider, err := golangsdk.AuthenticatedClient(opts)
if err != nil {
fmt.Println(err)
}
_ = provider
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20210831081626-d823fe11cebalatest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.