istio: Index | Files

package common

import ""

Package common contains resource names, which may vary from version to version.


Package Files



const (
    ProxyContainerName     = "istio-proxy"
    DiscoveryContainerName = "discovery"
    OperatorContainerName  = "istio-operator"

func IsDiscoveryContainer Uses

func IsDiscoveryContainer(clusterVersion, container string, labels map[string]string) bool

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 Uses

func IsOperatorContainer(_, container string) bool

IsOperatorContainer reports whether the container is an istio-operator container.

func IsProxyContainer Uses

func IsProxyContainer(_, container string) bool

IsProxyContainer reports whether container is an istio proxy container.

func IstiodDebugURLs Uses

func IstiodDebugURLs(clusterVersion string) []string

IstiodDebugURLs returns a list of Istiod debug URLs for the given version.

func LogAndPrintf Uses

func LogAndPrintf(format string, a ...interface{})

func ProxyDebugURLs Uses

func ProxyDebugURLs(clusterVersion string) []string

ProxyDebugURLs returns a list of proxy debug URLs for the given version.

Package common imports 2 packages (graph) and is imported by 4 packages. Updated 2020-12-19. Refresh now. Tools for package owners.