common

package
v1.43.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

type GenericMultiMatchChecker

type GenericMultiMatchChecker struct {
	SubjectType  string
	Keys         []models.IstioValidationKey
	Selectors    map[int]map[string]string
	WorkloadList models.WorkloadList
	Path         string
}

func PeerAuthenticationMultiMatchChecker added in v1.42.0

func PeerAuthenticationMultiMatchChecker(subjectType string, pa []security_v1beta.PeerAuthentication, workloadList models.WorkloadList) GenericMultiMatchChecker

func RequestAuthenticationMultiMatchChecker added in v1.42.0

func RequestAuthenticationMultiMatchChecker(subjectType string, ra []security_v1beta.RequestAuthentication, workloadList models.WorkloadList) GenericMultiMatchChecker

func SidecarSelectorMultiMatchChecker added in v1.42.0

func SidecarSelectorMultiMatchChecker(subjectType string, sc []networking_v1alpha3.Sidecar, workloadList models.WorkloadList) GenericMultiMatchChecker

func (GenericMultiMatchChecker) Check

type GenericNoWorkloadFoundChecker

type GenericNoWorkloadFoundChecker struct {
	SubjectType    string
	SelectorLabels map[string]string
	WorkloadList   models.WorkloadList
	Path           string
}

func SelectorNoWorkloadFoundChecker

func SelectorNoWorkloadFoundChecker(subjectType string, selectorLabels map[string]string, workloadList models.WorkloadList) GenericNoWorkloadFoundChecker

func WorkloadSelectorNoWorkloadFoundChecker

func WorkloadSelectorNoWorkloadFoundChecker(subjectType string, selectorLabels map[string]string, workloadList models.WorkloadList) GenericNoWorkloadFoundChecker

func (GenericNoWorkloadFoundChecker) Check

type KeyWithIndex

type KeyWithIndex struct {
	Index int
	Key   *models.IstioValidationKey
}

type ReferenceMap

func (ReferenceMap) Add

func (ws ReferenceMap) Add(wk, sk models.IstioValidationKey)

func (ReferenceMap) Get

func (ReferenceMap) HasMultipleReferences

func (ws ReferenceMap) HasMultipleReferences(wk models.IstioValidationKey) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL