// DoGetSearchReindexClient gets and initialises the SearchReindex Client
DoGetSearchReindexClient gets and initialises the SearchReindex Client
// DoGetSearchReindexClient gets and initialises the SearchReindex Client
func (e *Init) DoGetSearchReindexClient(cfg *config.Config, httpClient dpHTTP.Clienter) (searchReindexSDK.Client, error) {
	healthClient := apiclientshealth.NewClientWithClienter("dp-search-data-finder", cfg.SearchReindexURL, httpClient)
	searchReindexClient, err := searchReindex.NewWithHealthClient(cfg.ServiceAuthToken, healthClient)
	if err != nil {
		return nil, err
	}
	return searchReindexClient, nil
}
func ( e * Init ) DoGetSearchReindexClient ( cfg * config . Config , httpClient dpHTTP . Clienter ) ( searchReindexSDK . Client , error ) { healthClient := apiclientshealth . NewClientWithClienter ( " " , cfg . SearchReindexURL , httpClient ) searchReindexClient , err := searchReindex . NewWithHealthClient ( cfg . ServiceAuthToken , healthClient ) if err != nil { return nil , err } return searchReindexClient , nil }
DoGetSearchReindexClient gets and initialises the SearchReindex Client
DoGetSearchReindexClient gets and initialises the SearchReindex Client