Documentation
¶
Overview ¶
Package pgbundle answers how pwikit runs the Postgres it ships with.
Index ¶
- Constants
- func Attach(ctx context.Context, cfg Config) (string, error)
- func Compatible(dataMajor, binaryMajor int) error
- func DataVersion(data string) (int, error)
- func DefaultPortTaken(timeout time.Duration) bool
- func Embedded() bool
- func EnsurePassword(secrets string) (string, error)
- func FreePort() (int, error)
- func Hint() string
- func ParseVersion(out string) (int, error)
- func ReadPort(data string) (int, error)
- func RecordedRole(data string) string
- func RememberRole(data string) error
- func RoleFor(goos, account string) string
- func SocketDir(l Layout) string
- func SystemAccount(home string) (*user.User, error)
- func Unpack(dir string) (bool, error)
- func WireConf(data string) error
- func WriteConf(data string, p Plan) error
- func WriteHBA(data string, p Plan) error
- type Config
- type HeldError
- type Layout
- type Lock
- type Owner
- type Plan
- type Server
Constants ¶
View Source
const Database = "pwikit"
View Source
const (
SystemAccountName = "pwikit"
)
View Source
const Version = "18.6.0"
Variables ¶
This section is empty.
Functions ¶
func Compatible ¶
func DataVersion ¶
func DefaultPortTaken ¶
Never connect. Whatever answers on 5432 was not set up for pwikit.
func EnsurePassword ¶
func ParseVersion ¶
func RecordedRole ¶
func RememberRole ¶
Types ¶
type Plan ¶
Click to show internal directories.
Click to hide internal directories.