postgres

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: MIT Imports: 11 Imported by: 3 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	User              = "chainlink"
	Password          = "thispasswordislongenough"
	Port              = "5432"
	ExposedStaticPort = 13000
	Database          = "chainlink"
	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"`
	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"`
	DockerInternalURL   string `toml:"docker_internal_url"`
	JDUrl               string `toml:"jd_url"`
	JDDockerInternalURL string `toml:"jd_docker_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