postgres

package
v0.10.33 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: MIT Imports: 11 Imported by: 3

Documentation

Index

Constants

View Source
const (
	User              = "chainlink"
	Password          = "thispasswordislongenough"
	Port              = "5432"
	ExposedStaticPort = 13000
	Database          = "chainlink"
	JDDatabase        = "job-distributor-db"
	DBVolumeName      = "postgresql_data"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	Image              string                        `toml:"image" validate:"required"`
	Port               int                           `toml:"port"`
	Name               string                        `toml:"name"`
	VolumeName         string                        `toml:"volume_name"`
	Databases          int                           `toml:"databases"`
	JDDatabase         bool                          `toml:"jd_database"`
	JDSQLDumpPath      string                        `toml:"jd_sql_dump_path"`
	PullImage          bool                          `toml:"pull_image"`
	ContainerResources *framework.ContainerResources `toml:"resources"`
	Out                *Output                       `toml:"out"`
}

type Output

type Output struct {
	Url           string `toml:"url"`
	ContainerName string `toml:"container_name"`
	InternalURL   string `toml:"internal_url"`
	JDUrl         string `toml:"jd_url"`
	JDInternalURL string `toml:"jd_internal_url"`
}

func NewPostgreSQL

func NewPostgreSQL(in *Input) (*Output, error)

Jump to

Keyboard shortcuts

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