Documentation ¶
Overview ¶
Package common contains resource names, which may vary from version to version.
Index ¶
- Constants
- 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 ...interface{})
- func ProxyDebugURLs(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" )
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 LogAndPrintf(format string, a ...interface{})
func ProxyDebugURLs ¶
ProxyDebugURLs returns a list of proxy debug URLs for the given version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.