Documentation
¶
Index ¶
- func Hba(dbConn *sql.DB, mode string, hostname string, port string, clusterid string, ...) (string, error)
- func KubeNodePod(info KubePodParams) ([]byte, error)
- func KubeNodeService(info KubeServiceParams) ([]byte, error)
- func Poolconf(poolnames []string) (string, error)
- func Poolhba() (string, error)
- func Poolpasswd() (string, error)
- func Postgresql(mode string, port string, clusterType string) (string, error)
- func Recovery(masterhost string, port string, masteruser string) (string, error)
- type HBAParameters
- type KubePodParams
- type KubeServiceParams
- type PGPoolParameters
- type PostgresqlParameters
- type RecoveryParameters
- type Rule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KubeNodePod ¶
func KubeNodePod(info KubePodParams) ([]byte, error)
func KubeNodeService ¶
func KubeNodeService(info KubeServiceParams) ([]byte, error)
func Poolhba ¶
Poolhba right now this is simple, just read the template and spit it back out, no substitutions are done right now, they will be in the future no doubt
func Poolpasswd ¶
Poolpasswd right now this is simple, just read the template and spit it back out, no substitutions are done right now, they will be in the future no doubt
Types ¶
type HBAParameters ¶
type KubePodParams ¶
type KubePodParams struct { NAME string ID string PODID string CPU string MEM string IMAGE string VOLUME string DOMAIN string PORT string PG_MODE string BACKUP_NAME string BACKUP_SERVERNAME string BACKUP_SERVERIP string BACKUP_SCHEDULEID string BACKUP_PROFILENAME string BACKUP_CONTAINERNAME string BACKUP_PATH string BACKUP_HOST string BACKUP_PORT string BACKUP_USER string BACKUP_SERVER_URL string }
type KubeServiceParams ¶
type PGPoolParameters ¶
type PGPoolParameters struct {
HOST_LIST []string
}
type PostgresqlParameters ¶
type RecoveryParameters ¶
Click to show internal directories.
Click to hide internal directories.