Documentation
¶
Overview ¶
Copyright 2025 Nutanix. All rights reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Evaluator ¶
type Evaluator struct {
// contains filtered or unexported fields
}
Evaluator is used to determine which checks should be skipped, based on the cluster's annotations.
func (*Evaluator) For ¶
For checks if the specific check should be skipped. It returns true if the cluster skip annotation contains the check name. The check name is case-insensitive, so "CheckName1" and "checkname1" will both match. If the cluster has skipped all checks, For will return true for any check name.
For example, if the cluster has skipped "CheckName1", then calling For("CheckName1") or For("checkname1") will return true, but For("CheckName2") will return false.