types

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	Owner      string   `json:"owner,omitempty" yaml:"owner,omitempty"`
	Extensions []string `json:"extensions,omitempty" yaml:"extensions,omitempty"`
	Scripts    []string `json:"scripts,omitempty" yaml:"scripts,omitempty"`
}

type DbSSLOptions

type DbSSLOptions struct {
	SSLMode     string `json:"sslmode"`
	SSLCert     string `json:"sslcert,omitempty"`
	SSLKey      string `json:"sslkey,omitempty"`
	SSLRootCert string `json:"sslrootcert,omitempty"`
}

func (DbSSLOptions) String

func (opt DbSSLOptions) String() string

type PGInit

type PGInit struct {
	DB   map[string]*Database `json:"db,omitempty" yaml:"db,omitempty"`
	Role map[string]*Role     `json:"role,omitempty" yaml:"role,omitempty"`
}

func NewPGInit

func NewPGInit() *PGInit

type Role

type Role struct {
	Password string   `json:"password,omitempty" yaml:"password,omitempty"`
	Options  []string `json:"options,omitempty" yaml:"options,omitempty"`
	Grant    []string `json:"grant,omitempty" yaml:"grant,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL