github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/iec/v1/deployments/urls.go (about)

     1  package deployments
     2  
     3  import (
     4  	"github.com/huaweicloud/golangsdk"
     5  )
     6  
     7  func CreateURL(c *golangsdk.ServiceClient) string {
     8  	return c.ServiceURL("deployments")
     9  }
    10  
    11  func DeployURL(c *golangsdk.ServiceClient, deploymentID string) string {
    12  	return c.ServiceURL("deployments", deploymentID, "deploy")
    13  }
    14  
    15  func ExpandURL(c *golangsdk.ServiceClient, deploymentID string) string {
    16  	return c.ServiceURL("deployments", deploymentID, "expand")
    17  }
    18  
    19  func DeleteURL(c *golangsdk.ServiceClient, deploymentID string) string {
    20  	return c.ServiceURL("deployments", deploymentID)
    21  }