istio

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 14 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package istio provides diagnostics for detecting Istio service mesh configuration, cross-cluster load balancing, and validating cluster ID settings.

Index

Constants

View Source
const (
	DiagnosticIstioXClusterLB = config.DiagnosticIstioXClusterLB
)

Variables

View Source
var (
	// Exported for testing
	MaxRetry      = 3
	RetryInterval = 5 * time.Second
)
View Source
var NewProvider = func(ctx context.Context, cfg *config.Settings) diagnostic.Provider {
	return &checker{
		cfg: cfg,
		logger: logging.NewLogger().
			WithContext(ctx).WithField(logging.OpField, "istio-xcluster"),
		configuredClusterID: cfg.Integrations.Istio.ClusterID,
		clusterName:         cfg.Deployment.ClusterName,
		topologyCluster:     os.Getenv(envIstioTopologyCluster),
		aggregatorService:   cfg.Services.CollectorService,
		namespace:           cfg.Services.Namespace,
		serverInfoURL:       envoyAdminServerInfoURL,
		clustersURL:         envoyAdminClustersURL,
	}
}

NewProvider creates a new Istio cross-cluster LB diagnostic provider

Functions

This section is empty.

Types

type IstioMode

type IstioMode string

IstioMode represents the detected Istio service mesh mode

const (
	// IstioModeNone indicates no Istio service mesh detected
	IstioModeNone IstioMode = "none"
	// IstioModeSidecar indicates traditional sidecar proxy mode
	IstioModeSidecar IstioMode = "sidecar"
	// IstioModeAmbient indicates ambient mode (sidecarless)
	IstioModeAmbient IstioMode = "ambient"
)

Jump to

Keyboard shortcuts

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