MCPcopy
hub / github.com/zegl/kube-score / RegisterPodCheck

Method RegisterPodCheck

score/checks/checks.go:110–112  ·  view source on GitHub ↗
(name, comment string, fn CheckFunc[ks.PodSpecer])

Source from the content-addressed store, hash-verified

108}
109
110func (c *Checks) RegisterPodCheck(name, comment string, fn CheckFunc[ks.PodSpecer]) {
111 reg(c, "Pod", name, comment, false, fn, c.pods)
112}
113
114func (c *Checks) RegisterOptionalPodCheck(name, comment string, fn CheckFunc[ks.PodSpecer]) {
115 reg(c, "Pod", name, comment, true, fn, c.pods)

Callers 5

RegisterFunction · 0.80
RegisterFunction · 0.80
RegisterFunction · 0.80
RegisterFunction · 0.80
RegisterFunction · 0.80

Calls 1

regFunction · 0.85

Tested by

no test coverage detected