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

heketi / heketi / 4655
63%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2020 10:42PM UTC
Jobs 3
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%. Remained the same
4655

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

2140.23 hits per line

Jobs
ID Job ID Ran Files Coverage
5 4655.5 (COVERALLS_TOKEN=[secure]) 01 Oct 2020 10:42PM UTC 0
62.59
Travis Job 4655.5
6 4655.6 (COVERALLS_TOKEN=[secure]) 01 Oct 2020 10:43PM UTC 0
62.59
Travis Job 4655.6
7 4655.7 (COVERALLS_TOKEN=[secure]) 01 Oct 2020 10:43PM UTC 0
62.59
Travis Job 4655.7
Source Files on build 4655
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4655
  • 2965e1c0 on github
  • Prev Build on master (#4654)
  • Next Build on master (#4657)
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