func (c *Client) UploadTools(r io.ReadSeeker, vers version.Binary, additionalSeries ...string) (tools.List, error) {
	endpoint := fmt.Sprintf("/tools?binaryVersion=%s&series=%s", vers, strings.Join(additionalSeries, ","))
	contentType := "application/x-tar-gz"
	var resp params.ToolsResult
	if err := c.httpPost(r, endpoint, contentType, &resp); err != nil {
		return nil, errors.Trace(err)
	}
	return resp.ToolsList, nil
}
// UploadTools uploads tools at the specified location to the API server over HTTPS.
UploadTools uploads tools at the specified location to the API server over HTTPS.
// UploadTools uploads tools at the specified location to the API server over HTTPS .
func (c *Client) UploadTools(r io.ReadSeeker, vers version.Binary, additionalSeries ...string) (tools.List, error) {
	endpoint := fmt.Sprintf("/tools?binaryVersion=%s&series=%s", vers, strings.Join(additionalSeries, ","))
	contentType := "application/x-tar-gz"
	var resp params.ToolsResult
	if err := c.httpPost(r, endpoint, contentType, &resp); err != nil {
		return nil, errors.Trace(err)
	}
	return resp.ToolsList, nil
}
func ( c * Client ) UploadTools ( r io . ReadSeeker , vers version . Binary , additionalSeries ... string ) ( tools . List , error ) { endpoint := fmt . Sprintf ( " " , vers , strings . Join ( additionalSeries , " " ) ) contentType := " " var resp params . ToolsResult if err := c . httpPost ( r , endpoint , contentType , & resp ) ; err != nil { return nil , errors . Trace ( err ) } return resp . ToolsList , nil }
UploadTools uploads tools at the specified location to the API server over HTTPS.
UploadTools uploads tools at the specified location to the API server over HTTPS .