validation

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 2 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProtectedEnvVars = map[string]bool{
		"PYTHONPATH":      true,
		"SLUG_URL":        true,
		"PORT":            true,
		"DEIS_DEBUG":      true,
		"BUILDER_STORAGE": true,
		"APP":             true,
		"SLUG_DIR":        true,
		"NGINX_PORT":      true,
		"NGINX_BACKEND":   true,
	}
)

Functions

func IsEnvVarName added in v0.27.0

func IsEnvVarName(name string) bool

func IsProtectedEnvVar added in v0.27.0

func IsProtectedEnvVar(name string) bool

func IsValidEmail

func IsValidEmail(email string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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