Documentation ¶
Index ¶
Constants ¶
View Source
const SidecarCheckerType = "sidecar"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EgressHostChecker ¶
type EgressHostChecker struct { Sidecar kubernetes.IstioObject ServiceEntries map[string][]string Services []core_v1.Service }
func (EgressHostChecker) Check ¶
func (elc EgressHostChecker) Check() ([]*models.IstioCheck, bool)
func (EgressHostChecker) HasMatchingService ¶
func (elc EgressHostChecker) HasMatchingService(host kubernetes.Host, itemNamespace string) bool
type HostWithIndex ¶
type HostWithIndex struct { Index int Hosts []interface{} }
type KeyWithIndex ¶
type KeyWithIndex struct { Index int Key *models.IstioValidationKey }
type MultiMatchChecker ¶
type MultiMatchChecker struct { Sidecars []kubernetes.IstioObject WorkloadList models.WorkloadList }
func (MultiMatchChecker) Check ¶
func (m MultiMatchChecker) Check() models.IstioValidations
type ReferenceMap ¶ added in v1.16.0
type ReferenceMap map[models.IstioValidationKey][]models.IstioValidationKey
func (ReferenceMap) Add ¶ added in v1.16.0
func (ws ReferenceMap) Add(wk, sk models.IstioValidationKey)
func (ReferenceMap) Get ¶ added in v1.16.0
func (ws ReferenceMap) Get(wk models.IstioValidationKey) []models.IstioValidationKey
func (ReferenceMap) HasMultipleReferences ¶ added in v1.16.0
func (ws ReferenceMap) HasMultipleReferences(wk models.IstioValidationKey) bool
type WorkloadSelectorChecker ¶
type WorkloadSelectorChecker struct { Sidecar kubernetes.IstioObject WorkloadList models.WorkloadList }
func (WorkloadSelectorChecker) Check ¶
func (wsc WorkloadSelectorChecker) Check() ([]*models.IstioCheck, bool)
Click to show internal directories.
Click to hide internal directories.