Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoProjectMatchingScope = errors.New("no project matching scope found")
ErrNoProjectMatchingScope is an error which is returned when the task for finding models.Project project by client scope doesn't find a match.
Functions ¶
func IsValidDomainScope ¶
func IsValidDomainScope(scope openstackclients.ClientScope) error
IsValidDomainScope can be used to check the scope fields are set for usage on the domain level.
func IsValidProjectScope ¶
func IsValidProjectScope(scope openstackclients.ClientScope) error
IsValidProjectScope can be used to check the scope fields are set for usage on the project level.
func MatchScopeToProject ¶ added in v0.1.14
func MatchScopeToProject(scope openstackclients.ClientScope, projects []models.Project) (models.Project, error)
MatchScopeToProject matches the given scope to an OpenStack project.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.