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

heketi / heketi / 4654
63%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2020 11:38AM UTC
Jobs 2
Files 108
Run time 1min
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% (+0.04%) from 62.543%
4654

push

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%)

1430.09 hits per line

Jobs
ID Job ID Ran Files Coverage
6 4654.6 (COVERALLS_TOKEN=[secure]) 01 Oct 2020 11:39AM UTC 0
62.59
Travis Job 4654.6
7 4654.7 (COVERALLS_TOKEN=[secure]) 01 Oct 2020 11:38AM UTC 0
62.59
Travis Job 4654.7
Source Files on build 4654
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4654
  • 2965e1c0 on github
  • Prev Build on master (#4653)
  • Next Build on master (#4655)
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