Documentation ¶
Index ¶
- Constants
- func BasicMeshInfo(mainPod *kubernetes.Pod, discoverySelector map[string]string, meshType string) *v1.Mesh
- func GetActiveInstalls(installs v1.InstallList, filterFunc InstallFilterFunc) v1.InstallList
- func GetMeshes(meshes v1.MeshList, filterFunc MeshFilterFunc) v1.MeshList
- func GetUpstreamsForInjectedPods(pods kubernetes.PodList, upstreams gloov1.UpstreamList) gloov1.UpstreamList
- func GetVersionFromPodWithMatchers(pod *kubernetes.Pod, podStringMatchers []string) (string, error)
- func ImageVersion(image string) (string, error)
- func InjectedPodsByNamespace(pods kubernetes.PodList, proxyContainerName string) kubernetes.PodsByNamespace
- func MeshWriteNamespace() string
- func SelectRunningPods(pods kubernetes.PodList) kubernetes.PodList
- type InstallFilterFunc
- type MeshFilterFunc
Constants ¶
View Source
const ( SelectorDiscoveredByPrefix = "discovered_by" SelectorCreatedByPrefix = "created_by" SelectorCreatedByValue = "mesh-discovery" )
Variables ¶
This section is empty.
Functions ¶
func BasicMeshInfo ¶
func GetActiveInstalls ¶
func GetActiveInstalls(installs v1.InstallList, filterFunc InstallFilterFunc) v1.InstallList
func GetUpstreamsForInjectedPods ¶
func GetUpstreamsForInjectedPods(pods kubernetes.PodList, upstreams gloov1.UpstreamList) gloov1.UpstreamList
func GetVersionFromPodWithMatchers ¶
func GetVersionFromPodWithMatchers(pod *kubernetes.Pod, podStringMatchers []string) (string, error)
func ImageVersion ¶
func InjectedPodsByNamespace ¶
func InjectedPodsByNamespace(pods kubernetes.PodList, proxyContainerName string) kubernetes.PodsByNamespace
func MeshWriteNamespace ¶
func MeshWriteNamespace() string
func SelectRunningPods ¶
func SelectRunningPods(pods kubernetes.PodList) kubernetes.PodList
Types ¶
type InstallFilterFunc ¶
type MeshFilterFunc ¶
Click to show internal directories.
Click to hide internal directories.