flags

package
v1.149.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DbConfig pgconn.Config
View Source
var ProjectRef string

Functions

func GetDbConfigOptionalPassword added in v1.144.7

func GetDbConfigOptionalPassword(projectRef string) pgconn.Config

func LoadProjectRef added in v1.126.0

func LoadProjectRef(fsys afero.Fs) (string, error)

func ParseDatabaseConfig added in v1.95.0

func ParseDatabaseConfig(flagSet *pflag.FlagSet, fsys afero.Fs) error

func ParseProjectRef

func ParseProjectRef(ctx context.Context, fsys afero.Fs) error

func PromptPassword added in v1.144.7

func PromptPassword(stdin *os.File) string

func PromptProjectRef added in v1.144.7

func PromptProjectRef(ctx context.Context, title string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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