pod

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromString

func FromString(namespacedPod string) (*corev1.Pod, error)

FromString validates the name of the Pod

func GetKubeClient

func GetKubeClient() (kubernetes.Interface, error)

GetKubeClient returns a Kubernetes clientset.

func GetKubeConfig

func GetKubeConfig() (*restclient.Config, error)

GetKubeConfig returns the kubeconfig

func GetMatchingServices

func GetMatchingServices(kubeClient kubernetes.Interface, podLabels map[string]string, namespace string) ([]*corev1.Service, error)

GetMatchingServices returns a list of Kubernetes services in the namespace that match the pod's label

func GetOsmConfigurator

func GetOsmConfigurator(osmNamespace common.MeshNamespace) configurator.Configurator

GetOsmConfigurator returns a new OSM configurator

Types

This section is empty.

Jump to

Keyboard shortcuts

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