common

package
v1.57.5 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 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
	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

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

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