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

kedgeproject / kedge / 366 / 1
40%
master: 40%

Build:
DEFAULT BRANCH: master
Ran 01 Sep 2017 08:52AM UTC
Files 9
Run time 0s
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 Sep 2017 08:50AM UTC coverage: 40.3% (+5.0%) from 35.342%
366.1

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

Source Files on job 366.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 366
  • Travis Job 366.1
  • b96fc948 on github
  • Prev Job for on master (#363.2)
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