github.com/gophercloud/gophercloud@v1.11.0/openstack/identity/v3/osinherit/urls.go (about) 1 package osinherit 2 3 import "github.com/gophercloud/gophercloud" 4 5 const ( 6 inheritPath = "OS-INHERIT" 7 ) 8 9 func assignURL(client *gophercloud.ServiceClient, targetType, targetID, actorType, actorID, roleID string) string { 10 return client.ServiceURL(inheritPath, targetType, targetID, actorType, actorID, "roles", roleID, "inherited_to_projects") 11 }