forked from gravitational/teleport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.go
42 lines (30 loc) · 1.11 KB
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package teleport
import (
"time"
)
// ForeverTTL means that object TTL will not expire unless deleted
const ForeverTTL time.Duration = 0
const (
// BoltBackendType is a BoltDB backend
BoltBackendType = "bolt"
// ETCDBackendType is etcd backend
ETCDBackendType = "etcd"
// Component indicates a component of teleport, used for logging
Component = "component"
// ComponentFields stores component-specific fields
ComponentFields = "fields"
// ComponentReverseTunnel is reverse tunnel agent and server
// that together establish a bi-directional SSH revers tunnel
// to bypass firewall restrictions
ComponentReverseTunnel = "reversetunnel"
// ComponentNode is SSH node (SSH server serving requests)
ComponentNode = "node"
// ComponentProxy is SSH proxy (SSH server forwarding connections)
ComponentProxy = "proxy"
// ComponentTunClient is a tunnel client
ComponentTunClient = "tunclient"
// DefaultTimeout sets read and wrie timeouts for SSH server ops
DefaultTimeout time.Duration = 30 * time.Second
// DebugOutputEnvVar tells tests to use verbose debug output
DebugOutputEnvVar = "TELEPORT_DEBUG"
)