istio: istio.io/istio/galley/pkg/config/analysis/analyzers/virtualservice Index | Files

package virtualservice

import "istio.io/istio/galley/pkg/config/analysis/analyzers/virtualservice"

Index

Package Files

conflictingmeshgatewayhosts.go destinationhosts.go destinationrules.go gateways.go matches.go regexes.go util.go

type AnnotatedDestination Uses

type AnnotatedDestination struct {
    RouteRule        string
    ServiceIndex     int
    DestinationIndex int
    Destination      *v1alpha3.Destination
}

AnnotatedDestination holds metadata about a Destination object that is used for analyzing

type ConflictingMeshGatewayHostsAnalyzer Uses

type ConflictingMeshGatewayHostsAnalyzer struct{}

ConflictingMeshGatewayHostsAnalyzer checks if multiple virtual services associated with the mesh gateway have conflicting hosts. The behavior is undefined if conflicts exist.

func (*ConflictingMeshGatewayHostsAnalyzer) Analyze Uses

func (c *ConflictingMeshGatewayHostsAnalyzer) Analyze(ctx analysis.Context)

Analyze implements Analyzer

func (*ConflictingMeshGatewayHostsAnalyzer) Metadata Uses

func (c *ConflictingMeshGatewayHostsAnalyzer) Metadata() analysis.Metadata

Metadata implements Analyzer

type DestinationHostAnalyzer Uses

type DestinationHostAnalyzer struct{}

DestinationHostAnalyzer checks the destination hosts associated with each virtual service

func (*DestinationHostAnalyzer) Analyze Uses

func (a *DestinationHostAnalyzer) Analyze(ctx analysis.Context)

Analyze implements Analyzer

func (*DestinationHostAnalyzer) Metadata Uses

func (a *DestinationHostAnalyzer) Metadata() analysis.Metadata

Metadata implements Analyzer

type DestinationRuleAnalyzer Uses

type DestinationRuleAnalyzer struct{}

DestinationRuleAnalyzer checks the destination rules associated with each virtual service

func (*DestinationRuleAnalyzer) Analyze Uses

func (d *DestinationRuleAnalyzer) Analyze(ctx analysis.Context)

Analyze implements Analyzer

func (*DestinationRuleAnalyzer) Metadata Uses

func (d *DestinationRuleAnalyzer) Metadata() analysis.Metadata

Metadata implements Analyzer

type GatewayAnalyzer Uses

type GatewayAnalyzer struct{}

GatewayAnalyzer checks the gateways associated with each virtual service

func (*GatewayAnalyzer) Analyze Uses

func (s *GatewayAnalyzer) Analyze(c analysis.Context)

Analyze implements Analyzer

func (*GatewayAnalyzer) Metadata Uses

func (s *GatewayAnalyzer) Metadata() analysis.Metadata

Metadata implements Analyzer

type MatchesAnalyzer Uses

type MatchesAnalyzer struct{}

MatchesAnalyzer checks if virtual services associated with the same gateway have duplicate matches.

func (*MatchesAnalyzer) Analyze Uses

func (ma *MatchesAnalyzer) Analyze(ctx analysis.Context)

Analyze implements Analyzer

func (*MatchesAnalyzer) Metadata Uses

func (ma *MatchesAnalyzer) Metadata() analysis.Metadata

Metadata implements Analyzer

type RegexAnalyzer Uses

type RegexAnalyzer struct{}

RegexAnalyzer checks all regexes in a virtual service

func (*RegexAnalyzer) Analyze Uses

func (a *RegexAnalyzer) Analyze(ctx analysis.Context)

Analyze implements Analyzer

func (*RegexAnalyzer) Metadata Uses

func (a *RegexAnalyzer) Metadata() analysis.Metadata

Metadata implements Analyzer

Package virtualservice imports 12 packages (graph) and is imported by 1 packages. Updated 2020-11-07. Refresh now. Tools for package owners.