code: func formatURL(endpoint string, cluster string, containerInstance string) string {
  	tcsURL := endpoint
  	if !strings.HasSuffix(tcsURL, "/") {
  		tcsURL += "/"
  	}
  	query := url.Values{}
  	query.Set("cluster", cluster)
  	query.Set("containerInstance", containerInstance)
  	return tcsURL + "ws?" + query.Encode()
  }
docs: // formatURL returns formatted url for tcs endpoint.