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

kedgeproject / kedge / 366
40%

Build:
DEFAULT BRANCH: master
Ran 01 Sep 2017 08:52AM UTC
Jobs 1
Files 9
Run time 1s
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
366

Pull #242

travis-ci

web-flow
add shortcut for portMappings

This commit adds a shortcut to ServiceSpec called portMappings.
This lets us set the port, targetPort and the protocol for a
service in a single line. This is parsed and converted to a
Kubernetes ServicePort object.

portMappings is an array of `port:targetPort/protocol`
definitions, so the syntax looks like -

portMappings:
- <port:targetPort/protocol>
- <port:targetPort/protocol>

Also, tests are added to test the added behavior.

The logic of auto populating names for the services has been moved
from fix.go to populators.go, because now the auto population
happens once the []ServicePort is populated from the both the
inputs, ServiceSpecMod.Ports and ServiceSpecMod.PortMappings

Fixes #216
Pull Request #242: introduce portMappings shortcut

322 of 799 relevant lines covered (40.3%)

1.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 366.1 01 Sep 2017 08:52AM UTC 0
40.3
Travis Job 366.1
Source Files on build 366
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #366
  • Pull Request #242
  • PR Base - master (#363)
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