Documentation ¶
Index ¶
Constants ¶
View Source
const DestinationRulesCheckerType = "destinationrule"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Host ¶
func FormatHostnameForPrefixSearch ¶
FormatHostnameForPrefixSearch formats given DR host information to a FQDN format
type MultiMatchChecker ¶
type MultiMatchChecker struct {
DestinationRules []kubernetes.IstioObject
}
func (MultiMatchChecker) Check ¶
func (m MultiMatchChecker) Check() models.IstioValidations
Check validates that no two destinationRules target the same host+subset combination
type NoDestinationChecker ¶
type NoDestinationChecker struct { Namespace string WorkloadList models.WorkloadList DestinationRule kubernetes.IstioObject ServiceEntries map[string]struct{} ServiceNames []string }
func (NoDestinationChecker) Check ¶
func (n NoDestinationChecker) Check() ([]*models.IstioCheck, bool)
Check parses the DestinationRule definitions and verifies that they point to an existing service, including any subset definitions
Click to show internal directories.
Click to hide internal directories.