istio: Index | Files

package handlers

import ""


Package Files


func HandleNamespace Uses

func HandleNamespace(ns, defaultNamespace string) string

HandleNamespace returns the defaultNamespace if the namespace is empty

func InferPodInfo Uses

func InferPodInfo(name, defaultNS string) (string, string)

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

func InferPodInfoFromTypedResource Uses

func InferPodInfoFromTypedResource(name, defaultNS string, factory cmdutil.Factory) (string, string, error)

InferPodInfoFromTypedResource gets a pod name, from an expression like Deployment/httpbin, or Deployment/productpage-v1.bookinfo

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