Documentation
¶
Index ¶
- Constants
- Variables
- func ListNetworkBans(ctx context.Context, projectRef string) ([]string, error)
- func LoadConfig(fsys afero.Fs) error
- func LoadProjectRef(fsys afero.Fs) error
- func NewDbConfigWithPassword(ctx context.Context, projectRef string) (pgconn.Config, error)
- func ParseDatabaseConfig(ctx context.Context, flagSet *pflag.FlagSet, fsys afero.Fs) error
- func ParseProjectRef(ctx context.Context, fsys afero.Fs) error
- func PromptPassword(stdin *os.File) string
- func PromptProjectRef(ctx context.Context, title string, opts ...tea.ProgramOption) error
- func RandomString(size int) (string, error)
- func UnbanIP(ctx context.Context, projectRef string, addrs ...string) error
Constants ¶
View Source
const PASSWORD_LENGTH = 16
Variables ¶
View Source
var DbConfig pgconn.Config
View Source
var ProjectRef string
Functions ¶
func ListNetworkBans ¶
func LoadConfig ¶
func LoadProjectRef ¶
func NewDbConfigWithPassword ¶
func ParseDatabaseConfig ¶
func PromptPassword ¶
func PromptProjectRef ¶
func RandomString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.