// GetConnectorTasks returns a list of tasks currently running for the connector.
GetConnectorTasks returns a list of tasks currently running for the connector.
// GetConnectorTasks returns a list of tasks currently running for the connector .
func (c *Client) GetConnectorTasks(clusterName, name string) (m []map[string]interface{}, err error) {
	if clusterName == "" {
		return nil, errRequired("clusterName")
	}
	if name == "" {
		return nil, errRequired("name")
	}
	path := fmt.Sprintf(tasksPath, clusterName, name)
	resp, respErr := c.Do(http.MethodGet, path, "", nil)
	if respErr != nil {
		err = respErr
		return
	}
	err = c.ReadJSON(resp, &m)
	return
}
func ( c * Client ) GetConnectorTasks ( clusterName , name string ) ( m [ ] map [ string ] interface { } , err error ) { if clusterName == " " { return nil , errRequired ( " " ) } if name == " " { return nil , errRequired ( " " ) } path := fmt . Sprintf ( tasksPath , clusterName , name ) resp , respErr := c . Do ( http . MethodGet , path , " " , nil ) if respErr != nil { err = respErr return } err = c . ReadJSON ( resp , & m ) return }
GetConnectorTasks returns a list of tasks currently running for the connector.
GetConnectorTasks returns a list of tasks currently running for the connector .
// # Get list of connector tasks // GET /api/proxy-connect/(string: clusterName)/connectors/(string: name)/tasks