checkers

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2018 License: Apache-2.0 Imports: 6 Imported by: 11

Documentation

Index

Constants

View Source
const VirtualCheckerType = "virtualservice"

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker interface {
	Check() ([]*models.IstioCheck, bool)
}

type DestinationRulesChecker

type DestinationRulesChecker struct {
	DestinationRules []kubernetes.IstioObject
}

func (DestinationRulesChecker) Check

type GatewayChecker added in v0.11.0

type GatewayChecker struct {
	GatewaysPerNamespace [][]kubernetes.IstioObject
}

func (GatewayChecker) Check added in v0.11.0

type GroupChecker

type GroupChecker interface {
	Check() models.IstioValidations
}

type NoServiceChecker

type NoServiceChecker struct {
	Namespace    string
	IstioDetails *kubernetes.IstioDetails
	Services     []v1.Service
	WorkloadList models.WorkloadList
}

func (NoServiceChecker) Check

type VirtualServiceChecker

type VirtualServiceChecker struct {
	Namespace        string
	DestinationRules []kubernetes.IstioObject
	VirtualServices  []kubernetes.IstioObject
}

func (VirtualServiceChecker) Check

An Object Checker runs all checkers for an specific object type (i.e.: pod, route rule,...) It run two kinds of checkers: 1. Individual checks: validating individual objects. 2. Group checks: validating behaviour between configurations.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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