Documentation
¶
Overview ¶
Package proxy provides functions to use the proxy subresource to call a pod
Index ¶
- func RetrieveMetricsFromInstance(ctx context.Context, kubeInterface kubernetes.Interface, pod corev1.Pod, ...) (string, error)
- func RetrieveMetricsFromPgBouncer(ctx context.Context, kubeInterface kubernetes.Interface, pod corev1.Pod) (string, error)
- func RetrievePgStatusFromInstance(ctx context.Context, kubeInterface kubernetes.Interface, pod corev1.Pod, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RetrieveMetricsFromInstance ¶
func RetrieveMetricsFromInstance( ctx context.Context, kubeInterface kubernetes.Interface, pod corev1.Pod, tlsEnabled bool, ) (string, error)
RetrieveMetricsFromInstance aims to retrieve the metrics from a PostgreSQL instance pod using a GET request on the pod interface proxy
func RetrieveMetricsFromPgBouncer ¶
func RetrieveMetricsFromPgBouncer( ctx context.Context, kubeInterface kubernetes.Interface, pod corev1.Pod, ) (string, error)
RetrieveMetricsFromPgBouncer aims to retrieve the metrics from a PgBouncer pod using a GET request on the pod interface proxy
func RetrievePgStatusFromInstance ¶
func RetrievePgStatusFromInstance( ctx context.Context, kubeInterface kubernetes.Interface, pod corev1.Pod, tlsEnabled bool, ) (string, error)
RetrievePgStatusFromInstance aims to retrieve the pgStatus from a PostgreSQL instance pod using a GET request on the pod interface proxy
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.