meshnames

command
v0.0.0-...-daa3d89 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 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

meshnames holds the mesh names a chart writes on its OWN pods to the code that reads them (#1589). It is the checker behind helm_mesh_names_test (//bazel/helm:defs.bzl).

charts/prober and charts/udsecho spell the mesh-managed label, the mesh annotations and the CSI driver of the socket volume as literals in their templates. A pattern test compares a literal in a BUILD file with a literal in a template; both keep agreeing while the constant the CNI plugin, the agent and the node plugin read has been renamed, and the chart's pods are then unmeshed, or without their upstreams or their socket volume, with every test passing. So the chart's BUILD file names what each workload's pod must carry by SYMBOL ("upstreams", "endpoint_port=8080", "csi") and this program resolves the symbols to the Go constants.

It is a program a test rule runs, not a go_test, on purpose: a go_test with a chart in its `data` cannot be analysed under --config=race (the chart's images are linked with cgo off), and the race job runs every go_test.

It never prints a render.

Jump to

Keyboard shortcuts

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