Documentation ¶
Overview ¶
Package common contains resource names, which may vary from version to version.
Index ¶
- Constants
- func IsCniPod(pod string) bool
- func IsDiscoveryContainer(clusterVersion, container string, labels map[string]string) bool
- func IsOperatorContainer(_, container string) bool
- func IsProxyContainer(_, container string) bool
- func IstiodDebugURLs(clusterVersion string) []string
- func LogAndPrintf(format string, a ...any)
- func ProxyDebugURLs(clusterVersion string) []string
- func ZtunnelDebugURLs(clusterVersion string) []string
Constants ¶
View Source
const ( ProxyContainerName = "istio-proxy" DiscoveryContainerName = "discovery" OperatorContainerName = "istio-operator" // namespaceAll is the default argument of across all namespaces NamespaceAll = "" StrNamespaceAll = "allNamespaces" KubeSystemNamespace = "kube-system" )
Variables ¶
This section is empty.
Functions ¶
func IsDiscoveryContainer ¶
IsDiscoveryContainer reports whether the given container is an Istio discovery container for the given version. Labels are the labels for the given pod.
func IsOperatorContainer ¶
IsOperatorContainer reports whether the container is an istio-operator container.
func IsProxyContainer ¶
IsProxyContainer reports whether container is an istio proxy container.
func IstiodDebugURLs ¶
IstiodDebugURLs returns a list of Istiod debug URLs for the given version.
func LogAndPrintf ¶
func ProxyDebugURLs ¶
ProxyDebugURLs returns a list of proxy debug URLs for the given version.
func ZtunnelDebugURLs ¶
ZtunnelDebugURLs returns a list of ztunnel debug URLs for the given version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.