github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/bms/v1/baremetalservers/urls.go (about) 1 package baremetalservers 2 3 import "github.com/huaweicloud/golangsdk" 4 5 func createURL(sc *golangsdk.ServiceClient) string { 6 return sc.ServiceURL("baremetalservers") 7 } 8 9 func getURL(sc *golangsdk.ServiceClient, serverID string) string { 10 return sc.ServiceURL("baremetalservers", serverID) 11 } 12 13 func jobURL(sc *golangsdk.ServiceClient, jobId string) string { 14 return sc.ServiceURL("jobs", jobId) 15 } 16 17 func putURL(sc *golangsdk.ServiceClient, serverID string) string { 18 return sc.ServiceURL("baremetalservers", serverID) 19 }