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

Method RegisterMetaCheck

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

Source from the content-addressed store, hash-verified

86}
87
88func (c *Checks) RegisterMetaCheck(name, comment string, fn CheckFunc[ks.BothMeta]) {
89 reg(c, "all", name, comment, false, fn, c.metas)
90}
91
92func (c *Checks) RegisterOptionalMetaCheck(name, comment string, fn CheckFunc[ks.BothMeta]) {
93 reg(c, "all", name, comment, true, fn, c.metas)

Callers 2

RegisterFunction · 0.80
RegisterFunction · 0.80

Calls 1

regFunction · 0.85

Tested by

no test coverage detected