Documentation
¶
Overview ¶
Package status implements the kubectl-cnpg status command
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostgresqlStatus ¶
type PostgresqlStatus struct {
// Cluster is the Cluster we are investigating
Cluster *apiv1.Cluster `json:"cluster"`
// InstanceStatus is the status of each instance, extracted directly
// from the instance manager running into each Pod
InstanceStatus *postgres.PostgresqlStatusList `json:"instanceStatus"`
// PrimaryPod contains the primary Pod
PrimaryPod corev1.Pod
// PodDisruptionBudgetList prints every PDB that matches against the cluster
// with the label selector
PodDisruptionBudgetList policyv1.PodDisruptionBudgetList
// ErrorList store the possible errors while getting the PostgreSQL status
ErrorList []error
}
PostgresqlStatus contains the status of the Cluster and of all its instances
Click to show internal directories.
Click to hide internal directories.