// GetConnectorConfig returns the configuration for the connector.
GetConnectorConfig returns the configuration for the connector.
// GetConnectorConfig returns the configuration for the connector .
func (c *Client) GetConnectorConfig(clusterName, name string) (cfg ConnectorConfig, err error) {
	if clusterName == "" {
		err = errRequired("clusterName")
		return
	}
	if name == "" {
		err = errRequired("name")
		return
	}
	path := fmt.Sprintf(connectorPath, clusterName, name)
	resp, respErr := c.Do(http.MethodGet, path, contentTypeJSON, nil)
	if respErr != nil {
		err = respErr
		return
	}
	err = c.ReadJSON(resp, &cfg)
	return
}
func ( c * Client ) GetConnectorConfig ( clusterName , name string ) ( cfg ConnectorConfig , err error ) { if clusterName == " " { err = errRequired ( " " ) return } if name == " " { err = errRequired ( " " ) return } path := fmt . Sprintf ( connectorPath , clusterName , name ) resp , respErr := c . Do ( http . MethodGet , path , contentTypeJSON , nil ) if respErr != nil { err = respErr return } err = c . ReadJSON ( resp , & cfg ) return }
GetConnectorConfig returns the configuration for the connector.
GetConnectorConfig returns the configuration for the connector .
// # Get connector config // GET /api/proxy-connect/(string: clusterName)/connectors/(string: name)/config