destination_rules

package
v0.9.0-snapshot.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DestinationRulesCheckerType = "destinationrule"

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	Service   string
	Namespace string
	Cluster   string
}

type MultiMatchChecker

type MultiMatchChecker struct {
	DestinationRules []kubernetes.IstioObject
}

func (MultiMatchChecker) Check

Check validates that no two destinationRules target the same host+subset combination

type NoHostChecker

type NoHostChecker struct {
	Namespace       string
	ServiceNames    []string
	DestinationRule kubernetes.IstioObject
}

func (NoHostChecker) Check

func (destinationRule NoHostChecker) Check() ([]*models.IstioCheck, bool)

Jump to

Keyboard shortcuts

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