auth

package
v3.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindDomainID

func FindDomainID(identityClient *gophercloud.ServiceClient, nameOrID string) (string, error)

FindDomainID tries to find a domain id using the provided nameOrID.

func FindDomainName

func FindDomainName(identityClient *gophercloud.ServiceClient, id string) (string, error)

FindDomainName returns the name of a domain.

Types

type ProjectInfo

type ProjectInfo struct {
	ID         string
	DomainID   string
	DomainName string
}

ProjectInfo identifies a specific project.

func FindProject

func FindProject(identityClient *gophercloud.ServiceClient, domainNameOrID, projectNameOrID string) (*ProjectInfo, error)

FindProject tries to find a project using the provided name/ID(s).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL