github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/css/v1/thesaurus/urls.go (about)

     1  package thesaurus
     2  
     3  import "github.com/chnsz/golangsdk"
     4  
     5  // loadIKThesaurusURL /v1.0/{project_id}/clusters/{cluster_id}/thesaurus
     6  func loadURL(c *golangsdk.ServiceClient, clusterId string) string {
     7  	return c.ServiceURL("clusters", clusterId, "thesaurus")
     8  }
     9  
    10  // queryIKThesaurusStatusURL /v1.0/{project_id}/clusters/{cluster_id}/thesaurus
    11  func getURL(c *golangsdk.ServiceClient, clusterId string) string {
    12  	return c.ServiceURL("clusters", clusterId, "thesaurus")
    13  }
    14  
    15  // deleteIKThesaurusURL /v1.0/{project_id}/clusters/{cluster_id}/thesaurus
    16  func deleteURL(c *golangsdk.ServiceClient, clusterId string) string {
    17  	return c.ServiceURL("clusters", clusterId, "thesaurus")
    18  }