Back to godoc.org
istio.io/istio/galley/pkg/config/analysis/analyzers/injection

package injection

v0.0.0 (7af0740)
Latest Go to latest
Published: 2 hours ago | License: Apache-2.0 | Module: istio.io/istio

Index

Constants

const (
	InjectionLabelName         = "istio-injection"
	InjectionLabelEnableValue  = "enabled"
	RevisionInjectionLabelName = label.IstioRev
)

We assume that enablement is via an istio-injection=enabled or istio.io/rev namespace label In theory, there can be alternatives using Mutatingwebhookconfiguration, but they're very uncommon See https://istio.io/docs/ops/troubleshooting/injection/ for more info.

type Analyzer

type Analyzer struct{}

Analyzer checks conditions related to Istio sidecar injection.

func (*Analyzer) Analyze

func (a *Analyzer) Analyze(c analysis.Context)

Analyze implements Analyzer

func (*Analyzer) Metadata

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

Metadata implements Analyzer

type ImageAnalyzer

type ImageAnalyzer struct{}

ImageAnalyzer checks the image of auto-injection configured with the running proxies on pods.

func (*ImageAnalyzer) Analyze

func (a *ImageAnalyzer) Analyze(c analysis.Context)

Analyze implements Analyzer.

func (*ImageAnalyzer) Metadata

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

Metadata implements Analyzer.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier