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

coryodaniel / k8s_client / 17
56%
master: 77%

Build:
Build:
LAST BUILD BRANCH: routes-callback
DEFAULT BRANCH: master
Ran 14 Jan 2019 05:55PM UTC
Jobs 1
Files 7
Run time 2s
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

pending completion
17

Pull #11

travis-ci

web-flow
Partially implemented client w/o macros for routing.

This falls apart once you get to different scoping of resources.

It currently works, because the macro is agnostic about opts being
passed into the match. If it gets too much, interpolation doesnt find
anything to do with the param and moves on, if its missing params, it
returns an error with the param (at runtime) that it knows its missing.

In this approach, the route_map has the params built into the map, so
you have to know which params are required ahead of time.

This surfaces in `Client.create/1`. Since we are posting a resource body
the name of the resource is in the payload, so it infers that the name
(which is generally a part of the URL) should be as well. But since this
is a POST its on the collections URL, which doesnt have a name param.

*This needs to refactor routes_test to generate a test for each swagger
operation.*
Pull Request #11: WIP: macro-free route generation

48 of 48 new or added lines in 3 files covered. (100.0%)

79 of 170 relevant lines covered (46.47%)

46.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 17.1 14 Jan 2019 05:55PM UTC 0
46.47
Travis Job 17.1
Source Files on build 17
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #17
  • Pull Request #11
  • PR Base - master (#14)
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