Documentation
¶
Overview ¶
Package postgressetup provides the PostgreSQL identity setup shared by Substrate installers.
Index ¶
Constants ¶
View Source
const ( Schema = "substrate" OwnerRole = "substrate_owner" OwnerUser = "substrate_owner_user" ReadWriteRole = "substrate_readwrite" ReadWriteUser = "substrate_readwrite_user" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Schema string
OwnerRole string
OwnerUser string
OwnerPassword string
ReadWriteRole string
ReadWriteUser string
ReadWritePassword string
}
Config names the schema and identities created by SQL.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig returns the passwordless identities used by bundled installs.
Click to show internal directories.
Click to hide internal directories.