Documentation ¶
Index ¶
- type Database
- func (database *Database) HandleDatabaseHealthyState(instances map[string]*Instance, secrets map[string]*v1.Secret)
- func (database *Database) HandleDatabasePendingState(instances map[string]*Instance, secrets map[string]*v1.Secret)
- func (database *Database) HandleDatabaseUnhealthyState(instances map[string]*Instance, secrets map[string]*v1.Secret)
- func (database *Database) HandleDatabaseUnknownState()
- func (database *Database) HandleFinalizeDatabaseState(instances map[string]*Instance, secrets map[string]*v1.Secret)
- type Instance
- func (instance *Instance) GetConnection(secret *v1.Secret) (*pgx.Conn, error)
- func (instance *Instance) GetSecret(secrets map[string]*v1.Secret) (*v1.Secret, error)
- func (instance *Instance) HandleFinalizeInstanceState(databases map[string]*Database, roles map[string]*Role)
- func (instance *Instance) HandleInstanceHealthyState(secrets map[string]*v1.Secret)
- func (instance *Instance) HandleInstancePendingState(secrets map[string]*v1.Secret)
- func (instance *Instance) HandleInstanceUnhealthyState(secrets map[string]*v1.Secret)
- func (instance *Instance) HandleUnknownState()
- type Postgres
- type Role
- func (role *Role) HandleFinalizeRoleState(instances map[string]*Instance, secrets map[string]*v1.Secret)
- func (role *Role) HandleRoleHealthyState(instances map[string]*Instance, secrets map[string]*v1.Secret)
- func (role *Role) HandleRolePendingState(instances map[string]*Instance, secrets map[string]*v1.Secret)
- func (role *Role) HandleRoleUnhealthyState(instances map[string]*Instance, secrets map[string]*v1.Secret)
- func (role *Role) HandleRoleUnknownState()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
func (*Database) HandleDatabaseHealthyState ¶
func (*Database) HandleDatabasePendingState ¶
func (*Database) HandleDatabaseUnhealthyState ¶
func (*Database) HandleDatabaseUnknownState ¶
func (database *Database) HandleDatabaseUnknownState()
type Instance ¶
func (*Instance) GetConnection ¶
func (*Instance) HandleFinalizeInstanceState ¶ added in v0.3.4
func (*Instance) HandleInstanceHealthyState ¶
func (*Instance) HandleInstancePendingState ¶
func (*Instance) HandleInstanceUnhealthyState ¶
func (*Instance) HandleUnknownState ¶
func (instance *Instance) HandleUnknownState()
type Postgres ¶
type Postgres struct { Host string Port string Username string Password string Database string SSLMode string }
func (*Postgres) GetConnection ¶
type Role ¶
func (*Role) HandleFinalizeRoleState ¶
func (*Role) HandleRoleHealthyState ¶
func (*Role) HandleRolePendingState ¶
func (*Role) HandleRoleUnhealthyState ¶
func (*Role) HandleRoleUnknownState ¶
func (role *Role) HandleRoleUnknownState()
Click to show internal directories.
Click to hide internal directories.