Documentation ¶
Index ¶
- type ExportToNamespaceChecker
- type GenericMultiMatchChecker
- func PeerAuthenticationMultiMatchChecker(subjectType string, pa []*security_v1beta.PeerAuthentication, ...) GenericMultiMatchChecker
- func RequestAuthenticationMultiMatchChecker(subjectType string, ra []*security_v1beta.RequestAuthentication, ...) GenericMultiMatchChecker
- func SidecarSelectorMultiMatchChecker(subjectType string, sc []*networking_v1beta1.Sidecar, ...) GenericMultiMatchChecker
- type GenericNoWorkloadFoundChecker
- type KeyWithIndex
- type ReferenceMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExportToNamespaceChecker ¶ added in v1.38.1
type ExportToNamespaceChecker struct { ExportTo []string Namespaces models.Namespaces }
func (ExportToNamespaceChecker) Check ¶ added in v1.38.1
func (p ExportToNamespaceChecker) Check() ([]*models.IstioCheck, bool)
type GenericMultiMatchChecker ¶
type GenericMultiMatchChecker struct { SubjectType string Keys []models.IstioValidationKey Selectors map[int]map[string]string WorkloadsPerNamespace map[string]models.WorkloadList Path string // contains filtered or unexported fields }
func PeerAuthenticationMultiMatchChecker ¶ added in v1.42.0
func PeerAuthenticationMultiMatchChecker(subjectType string, pa []*security_v1beta.PeerAuthentication, workloadsPerNamespace map[string]models.WorkloadList) GenericMultiMatchChecker
func RequestAuthenticationMultiMatchChecker ¶ added in v1.42.0
func RequestAuthenticationMultiMatchChecker(subjectType string, ra []*security_v1beta.RequestAuthentication, workloadsPerNamespace map[string]models.WorkloadList) GenericMultiMatchChecker
func SidecarSelectorMultiMatchChecker ¶ added in v1.42.0
func SidecarSelectorMultiMatchChecker(subjectType string, sc []*networking_v1beta1.Sidecar, workloadsPerNamespace map[string]models.WorkloadList) GenericMultiMatchChecker
func (GenericMultiMatchChecker) Check ¶
func (m GenericMultiMatchChecker) Check() models.IstioValidations
type GenericNoWorkloadFoundChecker ¶
type GenericNoWorkloadFoundChecker struct { SubjectType string SelectorLabels map[string]string WorkloadsPerNamespace map[string]models.WorkloadList Path string }
func SelectorNoWorkloadFoundChecker ¶
func SelectorNoWorkloadFoundChecker(subjectType string, selectorLabels map[string]string, workloadsPerNamespace map[string]models.WorkloadList) GenericNoWorkloadFoundChecker
func WorkloadSelectorNoWorkloadFoundChecker ¶
func WorkloadSelectorNoWorkloadFoundChecker(subjectType string, selectorLabels map[string]string, workloadsPerNamespace map[string]models.WorkloadList) GenericNoWorkloadFoundChecker
func (GenericNoWorkloadFoundChecker) Check ¶
func (wsc GenericNoWorkloadFoundChecker) Check() ([]*models.IstioCheck, bool)
type KeyWithIndex ¶
type KeyWithIndex struct { Index int Key *models.IstioValidationKey }
type ReferenceMap ¶
type ReferenceMap map[models.IstioValidationKey][]models.IstioValidationKey
func (ReferenceMap) Add ¶
func (ws ReferenceMap) Add(wk, sk models.IstioValidationKey)
func (ReferenceMap) Get ¶
func (ws ReferenceMap) Get(wk models.IstioValidationKey) []models.IstioValidationKey
func (ReferenceMap) HasMultipleReferences ¶
func (ws ReferenceMap) HasMultipleReferences(wk models.IstioValidationKey) bool
Click to show internal directories.
Click to hide internal directories.