common

package
v1.1.0-beta23 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Variables

This section is empty.

Functions

func IsDiscoveryContainer

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

func IsOperatorContainer(_, container string) bool

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

func IsProxyContainer

func IsProxyContainer(_, container string) bool

IsProxyContainer reports whether container is an istio proxy container.

func IstiodDebugURLs

func IstiodDebugURLs(clusterVersion string) []string

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

func LogAndPrintf

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

func ProxyDebugURLs

func ProxyDebugURLs(clusterVersion string) []string

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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