sidecars

package
v1.18.0-snapshot.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: Apache-2.0 Imports: 7 Imported by: 2

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 GlobalChecker added in v1.16.0

type GlobalChecker struct {
	Sidecar kubernetes.IstioObject
}

func (GlobalChecker) Check added in v1.16.0

func (gc GlobalChecker) Check() ([]*models.IstioCheck, 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

type ReferenceMap added in v1.16.0

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 (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)

Jump to

Keyboard shortcuts

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