Documentation ¶
Index ¶
- func InferPodInfo(name, defaultNS string) (string, string)
- func InferPodInfoFromTypedResource(name, defaultNS string, factory cmdutil.Factory) (string, string, error)
- func InferPodsFromTypedResource(name, defaultNS string, factory cmdutil.Factory) ([]string, string, error)
- func SelectorsForObject(object runtime.Object) (namespace string, selector labels.Selector, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InferPodInfo ¶
InferPodInfo Uses name to infer namespace if the passed name contains namespace information. Otherwise uses the namespace value passed into the function
func InferPodInfoFromTypedResource ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.