Documentation
¶
Index ¶
- func FromString(namespacedPod string) (*corev1.Pod, error)
- func GetKubeClient() (kubernetes.Interface, error)
- func GetKubeConfig() (*restclient.Config, error)
- func GetMatchingServices(kubeClient kubernetes.Interface, podLabels map[string]string, namespace string) ([]*corev1.Service, error)
- func GetOsmConfigurator(osmNamespace common.MeshNamespace) configurator.Configurator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromString ¶
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.
Click to show internal directories.
Click to hide internal directories.