code: func (_m *APIClient) ImageSearch(ctx context.Context, term string, options types.ImageSearchOptions) ([]registry.SearchResult, error) {
  	ret := _m.Called(ctx, term, options)
  
  	var r0 []registry.SearchResult
  	if rf, ok := ret.Get(0).(func(context.Context, string, types.ImageSearchOptions) []registry.SearchResult); ok {
  		r0 = rf(ctx, term, options)
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).([]registry.SearchResult)
  		}
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(context.Context, string, types.ImageSearchOptions) error); ok {
  		r1 = rf(ctx, term, options)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // ImageSearch provides a mock function with given fields: ctx, term, options