• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

heketi / heketi / 4655 / 5
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2020 10:42PM UTC
Files 108
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Oct 2020 11:28AM UTC coverage: 62.585%. Remained the same
COVERALLS_TOKEN=[secure]

cron

travis-ci

phlogistonjohn
client: allow consumers of heketi api to customize the http client

This change allows consumers of the heketi api to fully customize the
http client. By default, heketi continues behaving as it has. However,
the SetClientFunc call can be used to pass a function to the client that
will be used to get a client every time one is needed. The client
function actually requires a new interface, one that matches all of
heketi's needs of http client (currently only Do), allowing for extra
customization by returning something other than a true http.Client.

With these changes consumers of the heketi api should not be limited
by the options that heketi provides by default as these low-level
elements in the client stack can now be tweaked freely.

The HeketiHttpClient function is exported so that one can get a client
just as heketi would by default, but further customize that, if needed
rather than requiring the consumer code to create the client wholesale.

Signed-off-by: John Mulligan <jmulligan@redhat.com>

10115 of 16162 relevant lines covered (62.59%)

712.74 hits per line

Source Files on job 4655.5 (COVERALLS_TOKEN=[secure])
  • Tree
  • List 0
  • Changed 28
  • Source Changed 0
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2644
  • Travis Job 4655.5
  • 2965e1c0 on github
  • Prev Job for COVERALLS_TOKEN=[secure] on master (#4654.7)
  • Next Job for COVERALLS_TOKEN=[secure] on master (#4657.6)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc