github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/doc.go (about)

     1  /*
     2  Package openstack contains resources for the individual OpenStack projects
     3  supported in Gophercloud. It also includes functions to authenticate to an
     4  OpenStack cloud and for provisioning various service-level clients.
     5  
     6  Example of Creating a Service Client
     7  
     8  	ao, err := openstack.AuthOptionsFromEnv()
     9  	provider, err := openstack.AuthenticatedClient(ao)
    10  	client, err := openstack.NewNetworkV2(client, golangsdk.EndpointOpts{
    11  		Region: os.Getenv("OS_REGION_NAME"),
    12  	})
    13  */
    14  package openstack