(name, comment string, fn CheckFunc[ks.HpaTargeter])
| 120 | } |
| 121 | |
| 122 | func (c *Checks) RegisterHorizontalPodAutoscalerCheck(name, comment string, fn CheckFunc[ks.HpaTargeter]) { |
| 123 | reg(c, "HorizontalPodAutoscaler", name, comment, false, fn, c.horizontalPodAutoscalers) |
| 124 | } |
| 125 | |
| 126 | func (c *Checks) RegisterOptionalHorizontalPodAutoscalerCheck(name, comment string, fn CheckFunc[ks.HpaTargeter]) { |
| 127 | reg(c, "HorizontalPodAutoscaler", name, comment, true, fn, c.horizontalPodAutoscalers) |