github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/vpc/v1/publicips/urls.go (about) 1 package publicips 2 3 import ( 4 "github.com/huaweicloud/golangsdk" 5 ) 6 7 func CreateURL(c *golangsdk.ServiceClient) string { 8 return c.ServiceURL("publicips") 9 } 10 11 func DeleteURL(c *golangsdk.ServiceClient, publicipId string) string { 12 return c.ServiceURL("publicips", publicipId) 13 } 14 15 func GetURL(c *golangsdk.ServiceClient, publicipId string) string { 16 return c.ServiceURL("publicips", publicipId) 17 } 18 19 func ListURL(c *golangsdk.ServiceClient) string { 20 return c.ServiceURL("publicips") 21 } 22 23 func UpdateURL(c *golangsdk.ServiceClient, publicipId string) string { 24 return c.ServiceURL("publicips", publicipId) 25 }