flags

package
v1.179.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const PASSWORD_LENGTH = 16

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 NewDbConfigWithPassword added in v1.152.0

func NewDbConfigWithPassword(projectRef string) pgconn.Config

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