Documentation ¶
Index ¶
Constants ¶
View Source
const VirtualCheckerType = "virtualservice"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker interface {
Check() ([]*models.IstioCheck, bool)
}
type GroupChecker ¶ added in v0.5.0
type GroupChecker interface {
Check() models.IstioValidations
}
type NoServiceChecker ¶
type NoServiceChecker struct { Namespace string IstioDetails *kubernetes.IstioDetails ServiceList *v1.ServiceList }
func (NoServiceChecker) Check ¶
func (in NoServiceChecker) Check() models.IstioValidations
type PodChecker ¶
func (PodChecker) Check ¶
func (checker PodChecker) Check() models.IstioValidations
Check runs all checkers for Pod objects passed into the PodChecker
type VirtualServiceChecker ¶ added in v0.5.0
type VirtualServiceChecker struct { Namespace string DestinationRules []kubernetes.IstioObject VirtualServices []kubernetes.IstioObject }
func (VirtualServiceChecker) Check ¶ added in v0.5.0
func (in VirtualServiceChecker) Check() models.IstioValidations
An Object Checker runs all checkers for an specific object type (i.e.: pod, route rule,...) It run two kinds of checkers: 1. Individual checks: validating individual objects. 2. Group checks: validating behaviour between configurations.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.