config

package
v0.0.0-...-2a1a1f5 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: MIT, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PWDHostnameRegex      = "[0-9]{1,3}-[0-9]{1,3}-[0-9]{1,3}-[0-9]{1,3}"
	PortRegex             = "[0-9]{1,5}"
	AliasnameRegex        = "[0-9|a-z|A-Z|-]*"
	AliasSessionRegex     = "[0-9|a-z|A-Z]{8}"
	AliasGroupRegex       = "(" + AliasnameRegex + ")-(" + AliasSessionRegex + ")"
	PWDHostPortGroupRegex = "^.*ip(" + PWDHostnameRegex + ")(?:-?(" + PortRegex + "))?(?:\\..*)?$"
	AliasPortGroupRegex   = "^.*pwd" + AliasGroupRegex + "(?:-?(" + PortRegex + "))?\\..*$"
)

Variables

View Source
var AdminToken string
View Source
var DinDImages []string
View Source
var DinDImagesString string

Support passing a list of allowed dind images

View Source
var ForceTLS bool
View Source
var LetsEncryptCertsDir string
View Source
var MaxLoadAvg float64
View Source
var PlaygroundDomain string
View Source
var PortNumber, SessionsFile, PWDContainerName, L2ContainerName, L2Subdomain, HashKey, SSHKeyPath, L2RouterIP, DindVolumeSize, CookieHashKey, CookieBlockKey, DefaultDinDImage, DefaultSessionDuration string
View Source
var Providers = map[string]map[string]*oauth2.Config{}

TODO move this to a sync map so it can be updated on demand when the configuration for a playground changes

View Source
var SegmentId string
View Source
var UseLetsEncrypt, ExternalDindVolume, NoWindows bool

Functions

func ParseFlags

func ParseFlags()

Types

This section is empty.

Jump to

Keyboard shortcuts

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