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 AliasFilter = regexp.MustCompile(AliasPortGroupRegex)
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 NameFilter = regexp.MustCompile(PWDHostPortGroupRegex)
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 SecureCookie *securecookie.SecureCookie
View Source
var SegmentId string
View Source
var UseLetsEncrypt, ExternalDindVolume, NoWindows bool
Functions ¶
func ParseFlags ¶
func ParseFlags()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.