postgres

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 10 Imported by: 0

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"`
	VolumeName string  `toml:"volume_name"`
	Databases  int     `toml:"databases"`
	PullImage  bool    `toml:"pull_image"`
	Out        *Output `toml:"out"`
}

type Output

type Output struct {
	Url               string `toml:"url"`
	ContainerName     string `toml:"container_name"`
	DockerInternalURL string `toml:"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