Documentation ¶
Overview ¶
Package resources contains reusable functions for the plugin commands
Index ¶
- func ExtractInstancesStatus(ctx context.Context, config *rest.Config, filteredPods []v1.Pod, ...) postgres.PostgresqlStatusList
- func GetInstancePVCs(ctx context.Context, clusterName string, instanceName string) ([]v1.PersistentVolumeClaim, error)
- func GetInstancePods(ctx context.Context, clusterName string) ([]v1.Pod, v1.Pod, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractInstancesStatus ¶
func ExtractInstancesStatus( ctx context.Context, config *rest.Config, filteredPods []v1.Pod, postgresContainerName string, ) postgres.PostgresqlStatusList
ExtractInstancesStatus extracts the instance status from the given pod list
func GetInstancePVCs ¶
func GetInstancePVCs( ctx context.Context, clusterName string, instanceName string, ) ([]v1.PersistentVolumeClaim, error)
GetInstancePVCs gets all the PVC associated with a given instance
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.