// GetDeploymentTargets returns a list of all deployment target clusters
GetDeploymentTargets returns a list of all deployment target clusters
// GetDeploymentTargets returns a list of all deployment target clusters
func (c *Client) GetDeploymentTargets() (DeploymentTargets, error) {
	var res DeploymentTargets
	resp, err := c.Do(http.MethodGet, deploymentTargetPath, "", nil)
	if err != nil {
		return res, err
	}
	if err = c.ReadJSON(resp, &res); err != nil {
		return res, err
	}
	return res, nil
}
func ( c * Client ) GetDeploymentTargets ( ) ( DeploymentTargets , error ) { var res DeploymentTargets resp , err := c . Do ( http . MethodGet , deploymentTargetPath , " " , nil ) if err != nil { return res , err } if err = c . ReadJSON ( resp , & res ) ; err != nil { return res , err } return res , nil }
GetDeploymentTargets returns a list of all deployment target clusters
GetDeploymentTargets returns a list of all deployment target clusters