validation

package
v0.0.0-...-e218867 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

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

func IsEnvVarName(name string) bool

func IsProtectedEnvVar

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