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

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

Build:
DEFAULT BRANCH: master
Ran 14 Sep 2017 06:12AM UTC
Files 7
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

14 Sep 2017 06:10AM UTC coverage: 45.455% (+4.5%) from 40.954%
457.1

push

travis-ci

surajssd
introduce portMappings shortcut (#242)

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

355 of 781 relevant lines covered (45.45%)

1.88 hits per line

Source Files on job 457.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 457
  • Travis Job 457.1
  • 38b9d035 on github
  • Prev Job for on master (#450.1)
  • Next Job for on master (#458.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