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

kubevirt / kubevirt / 376540c8-a71e-4d41-9208-e23b8d9a2288

04 Jul 2025 12:42AM UTC coverage: 70.209%. Remained the same
376540c8-a71e-4d41-9208-e23b8d9a2288

push

prow

web-flow
Merge pull request #15038 from orelmisan/lint-passt-cni

passt BP CNI: Add linter coverage

4 of 6 new or added lines in 2 files covered. (66.67%)

67759 of 96511 relevant lines covered (70.21%)

0.78 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/cmd/cniplugins/passt-binding/pkg/plugin/sysctl/sysctl.go
1
package sysctl
2

3
import (
4
        "fmt"
5
        "strconv"
6

7
        "kubevirt.io/kubevirt/pkg/util/sysctl"
8
)
9

10
type sysControl struct{}
11

12
var sysCtl = sysctl.New()
13

14
func New() sysControl {
×
15
        return sysControl{}
×
16
}
×
17

NEW
18
func (sysControl) IPv4SetPingGroupRange(from, to int) error {
×
19
        return sysCtl.SetSysctl(sysctl.PingGroupRange, fmt.Sprintf("%d %d", from, to))
×
20
}
×
21

NEW
22
func (sysControl) IPv4SetUnprivilegedPortStart(port int) error {
×
23
        return sysCtl.SetSysctl(sysctl.UnprivilegedPortStart, strconv.Itoa(port))
×
24
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc