Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // YokeCmd = &cobra.Command{ Use: "yoke", Short: "", Long: ``, } )
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status struct { CRole string // the nodes 'role' in the cluster (primary, secondary, monitor) DataDir string // directory of the postgres database DBRole string // the 'role' of the running pgsql instance inside the node (master, slave) Ip string // advertise_ip PGPort int // State string // the current state of the node UpdatedAt time.Time // the last time the node state was updated }
Status represents the Status of a node in the cluser
Click to show internal directories.
Click to hide internal directories.