Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gliderlabs/logspout
/ functions
Functions
197 in github.com/gliderlabs/logspout
⨍
Functions
197
◇
Types & classes
37
↓ 22 callers
Function
GetEnvDefault
GetEnvDefault is a helper function to retrieve an env variable value OR return a default value
cfg/cfg.go:6
↓ 17 callers
Method
Register
(component Job, name string)
router/extpoints.go:262
↓ 16 callers
Method
Add
(route *Route)
router/types.go:47
↓ 14 callers
Function
debug
(v ...interface{})
router/pump.go:42
↓ 11 callers
Function
debug
(v ...interface{})
adapters/syslog/syslog.go:54
↓ 10 callers
Method
all
()
router/extpoints.go:42
↓ 9 callers
Method
Close
Close sends true to a Route.closer
router/types.go:103
↓ 9 callers
Method
Get
(id string)
router/types.go:45
↓ 9 callers
Function
normalID
(id string)
router/pump.go:69
↓ 8 callers
Function
createTestTLSConfig
helper function to create TLS config while handling error
transports/tls/tls_test.go:21
↓ 7 callers
Method
Name
()
router/types.go:34
↓ 6 callers
Function
backlog
()
router/pump.go:48
↓ 6 callers
Method
register
(component interface{}, name string)
router/extpoints.go:52
↓ 6 callers
Method
unregister
(name string)
router/extpoints.go:73
↓ 5 callers
Method
All
()
router/extpoints.go:274
↓ 5 callers
Method
Remove
(id string)
router/types.go:48
↓ 5 callers
Function
ignoreContainer
(container *docker.Container)
router/pump.go:85
↓ 5 callers
Method
lookup
(name string)
router/extpoints.go:35
↓ 5 callers
Function
newExtensionPoint
(iface interface{})
router/extpoints.go:24
↓ 4 callers
Method
Dial
(addr string, options map[string]string)
router/types.go:22
↓ 4 callers
Method
Filename
Filename returns the filename in a RouteFileStore for a given id
router/persist.go:16
↓ 4 callers
Method
GetAll
()
router/types.go:46
↓ 4 callers
Method
Lookup
(name string)
router/extpoints.go:266
↓ 4 callers
Method
RoutingFrom
RoutingFrom returns whether a container id is routing from this pump
router/pump.go:311
↓ 4 callers
Method
Stream
(logstream chan *Message)
router/types.go:27
↓ 4 callers
Function
assert
(err error, context string)
router/pump.go:59
↓ 4 callers
Function
getFormat
()
adapters/syslog/syslog.go:60
↓ 4 callers
Function
getTCPFraming
()
adapters/syslog/syslog.go:139
↓ 4 callers
Function
newContainerPump
(container *docker.Container, stdout, stderr io.Reader)
router/pump.go:372
↓ 3 callers
Function
NewRawAdapter
NewRawAdapter returns a configured raw.Adapter
adapters/raw/raw.go:31
↓ 3 callers
Method
add
(logstream chan *Message, route *Route)
router/pump.go:411
↓ 3 callers
Function
debug
(v ...interface{})
httpstream/httpstream.go:23
↓ 3 callers
Function
getRetryCount
()
adapters/syslog/syslog.go:150
↓ 3 callers
Function
ignoreContainerTTY
(container *docker.Container)
router/pump.go:119
↓ 3 callers
Function
marshal
(obj interface{})
routesapi/routesapi.go:65
↓ 3 callers
Function
marshal
(obj interface{})
router/persist.go:67
↓ 3 callers
Method
matchAll
()
router/types.go:107
↓ 3 callers
Method
remove
(logstream chan *Message)
router/pump.go:417
↓ 2 callers
Method
AdapterTransport
AdapterTransport returns a route's adapter transport string
router/types.go:81
↓ 2 callers
Method
AdapterType
AdapterType returns a route's adapter type string
router/types.go:76
↓ 2 callers
Method
Add
Add adds a route to the RouteManager
router/routes.go:125
↓ 2 callers
Method
MatchContainer
MatchContainer returns whether the Route is responsible for a given container
router/types.go:120
↓ 2 callers
Method
Names
()
router/extpoints.go:282
↓ 2 callers
Function
NewSyslogAdapter
NewSyslogAdapter returnas a configured syslog.Adapter
adapters/syslog/syslog.go:171
↓ 2 callers
Method
Render
Render transforms the log message using the Syslog template
adapters/syslog/syslog.go:347
↓ 2 callers
Method
Route
(route *Route, logstream chan *Message)
router/types.go:40
↓ 2 callers
Method
RoutingFrom
(containerID string)
router/types.go:39
↓ 2 callers
Function
createTLSConfig
createTLSConfig creates the required TLS configuration that we need to establish a TLS connection
transports/tls/tls.go:96
↓ 2 callers
Function
getHostname
()
adapters/syslog/syslog.go:71
↓ 2 callers
Function
marshal
(obj interface{})
httpstream/httpstream.go:94
↓ 2 callers
Function
multilineContainer
(container *docker.Container, def bool)
adapters/multiline/multiline.go:233
↓ 2 callers
Function
normalName
(name string)
router/pump.go:65
↓ 2 callers
Method
pumpLogs
(event *docker.APIEvents, backlog bool, inactivityTimeout time.Duration)
router/pump.go:204
↓ 2 callers
Method
rename
(event *docker.APIEvents)
router/pump.go:157
↓ 2 callers
Function
replaceNewLines
(str string)
adapters/multiline/multiline_test.go:230
↓ 2 callers
Function
retryExp
(fun func() error, tries uint)
adapters/syslog/syslog.go:324
↓ 2 callers
Method
route
(route *Route)
router/routes.go:160
↓ 2 callers
Method
send
(msg *Message)
router/pump.go:400
↓ 2 callers
Function
sendLogstream
(stream chan *router.Message, messages chan string, adapter router.LogAdapter, count int)
adapters/syslog/syslog_test.go:269
↓ 2 callers
Function
setAllowTTY
()
router/pump.go:52
↓ 2 callers
Function
startServer
(n, la string, done chan<- string)
adapters/syslog/syslog_test.go:220
↓ 2 callers
Method
update
(event *docker.APIEvents)
router/pump.go:294
↓ 1 callers
Method
AddFromURI
AddFromURI creates a new route from an URI string and adds it to the RouteManager
router/routes.go:89
↓ 1 callers
Method
Closer
Closer returns a route's closerRcv
router/types.go:90
↓ 1 callers
Method
ContainerName
ContainerName returns the message's container name
adapters/syslog/syslog.go:429
↓ 1 callers
Method
Get
Get returns *Route based on an id
router/persist.go:21
↓ 1 callers
Method
Get
Get returns up to 14 color escape codes (then repeats) for each unique key
httpstream/httpstream.go:81
↓ 1 callers
Method
Hostname
Hostname returns the os hostname
adapters/syslog/syslog.go:419
↓ 1 callers
Method
Load
Load loads all route from a RouteStore
router/routes.go:37
↓ 1 callers
Method
MatchMessage
MatchMessage returns whether the Route is responsible for a given Message
router/types.go:147
↓ 1 callers
Method
MultiContainer
MultiContainer returns whether the Route is matching multiple containers or not
router/types.go:115
↓ 1 callers
Method
Name
Name returns the name of the pump
router/pump.go:146
↓ 1 callers
Method
OverrideCloser
OverrideCloser sets a Route.closer to closer
router/types.go:98
↓ 1 callers
Method
Route
Route takes a logstream and route and passes them off to all configure LogRouters
router/routes.go:168
↓ 1 callers
Method
Run
()
router/types.go:32
↓ 1 callers
Method
Setup
()
router/types.go:33
↓ 1 callers
Method
Stream
Stream sends log data to the next adapter
adapters/multiline/multiline.go:139
↓ 1 callers
Function
check
(t *testing.T, in string, out string)
adapters/syslog/syslog_test.go:286
↓ 1 callers
Function
contains
(strs []string, str string)
router/types.go:157
↓ 1 callers
Function
getFieldTemplates
(route *router.Route)
adapters/syslog/syslog.go:81
↓ 1 callers
Function
getInactivityTimeoutFromEnv
()
router/pump.go:126
↓ 1 callers
Function
httpStreamer
(w http.ResponseWriter, req *http.Request, logstream chan *router.Message, multi bool)
httpstream/httpstream.go:121
↓ 1 callers
Function
implements
(component interface{})
router/extpoints.go:84
↓ 1 callers
Method
isFirstLine
(message *router.Message)
adapters/multiline/multiline.go:207
↓ 1 callers
Method
isLastLine
(message *router.Message)
adapters/multiline/multiline.go:220
↓ 1 callers
Function
isTCPConnection
(conn net.Conn)
adapters/syslog/syslog.go:159
↓ 1 callers
Function
logDriverSupported
(container *docker.Container)
router/pump.go:76
↓ 1 callers
Function
newTestClient
(rt http.RoundTripper)
router/pump_test.go:46
↓ 1 callers
Function
normalName
(name string)
httpstream/httpstream.go:102
↓ 1 callers
Method
reconnect
()
adapters/syslog/syslog.go:307
↓ 1 callers
Method
retry
(buf []byte, err error)
adapters/syslog/syslog.go:267
↓ 1 callers
Method
retryTemporary
(buf []byte)
adapters/syslog/syslog.go:287
↓ 1 callers
Function
runStreamSyslog
(l net.Listener, done chan<- string, wg *sync.WaitGroup)
adapters/syslog/syslog_test.go:241
↓ 1 callers
Function
unmarshal
(input io.Reader, obj interface{})
routesapi/routesapi.go:73
↓ 1 callers
Function
unmarshal
(input io.Reader, obj interface{})
router/persist.go:75
↓ 1 callers
Function
websocketStreamer
(w http.ResponseWriter, req *http.Request, logstream chan *router.Message, closer chan struct{})
httpstream/httpstream.go:106
Method
Add
Add writes a marshaled *Route to the RouteFileStore
router/persist.go:53
Method
All
()
router/extpoints.go:148
Method
All
()
router/extpoints.go:190
Method
All
()
router/extpoints.go:232
next →
1–100 of 197, ranked by callers