checkers

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

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 GroupChecker added in v0.5.0

type GroupChecker interface {
	Check() models.IstioValidations
}

type NoServiceChecker

type NoServiceChecker struct {
	Namespace    string
	IstioDetails *kubernetes.IstioDetails
	ServiceList  *v1.ServiceList
}

func (NoServiceChecker) Check

type PodChecker

type PodChecker struct {
	Pods []v1.Pod
}

func (PodChecker) Check

func (checker PodChecker) Check() models.IstioValidations

Runs all checkers for Pod objects passed into the PodChecker

type VirtualServiceChecker added in v0.5.0

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

func (VirtualServiceChecker) Check added in v0.5.0

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