handlers

package
v0.0.0-...-1d35728 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InferPodInfo

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

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

func InferPodsFromTypedResource

func InferPodsFromTypedResource(name, defaultNS string, factory cmdutil.Factory) ([]string, string, error)

func SelectorsForObject

func SelectorsForObject(object runtime.Object) (namespace string, selector labels.Selector, err error)

SelectorsForObject is a fork of upstream function to add additional Istio type support

Types

This section is empty.

Jump to

Keyboard shortcuts

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