Documentation ¶
Index ¶
- func GetNodeIPOrName(kubeClient clientset.Interface, name string, useInternalIP bool) string
- func LookupServicePort(service *apiv1.Service, port intstr.IntOrString) (*apiv1.ServicePort, error)
- func MetaNamespaceKey(obj interface{}) string
- func NamespacedName(obj metav1.Object) types.NamespacedName
- func ParseNameNS(input string) (string, string, error)
- type PodInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeIPOrName ¶
GetNodeIPOrName returns the IP address or the name of a node in the cluster
func LookupServicePort ¶ added in v1.1.0
func LookupServicePort(service *apiv1.Service, port intstr.IntOrString) (*apiv1.ServicePort, error)
func MetaNamespaceKey ¶
func MetaNamespaceKey(obj interface{}) string
MetaNamespaceKey knows how to make keys for API objects which implement meta.Interface.
func NamespacedName ¶ added in v1.1.3
func NamespacedName(obj metav1.Object) types.NamespacedName
Types ¶
Click to show internal directories.
Click to hide internal directories.