istio: Index | Files

package handlers

import ""


Package Files


func GetDefaultNamespace Uses

func GetDefaultNamespace(kubeconfig string) string

GetDefaultNamespace returns the default namespace for a kubeconfig

func HandleNamespace Uses

func HandleNamespace(ns, defaultNamespace string) string

HandleNamespace returns the defaultNamespace if the namespace is empty

func HandleNamespaces Uses

func HandleNamespaces(objectNamespace, namespace, defaultNamespace string) (string, error)

HandleNamespaces returns the correct namespace

func InferPodInfo Uses

func InferPodInfo(proxyName, namespace string) (string, string)

InferPodInfo Uses proxyName to infer namespace if the passed proxyName contains namespace information. Otherwise uses the namespace value passed into the function

Package handlers imports 4 packages (graph) and is imported by 5 packages. Updated 2019-09-13. Refresh now. Tools for package owners.