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
Method
All
()
router/extpoints.go:316
Method
ContainerNameSplitN
ContainerNameSplitN returns the message's container name sliced at most "n" times using "sep"
adapters/syslog/syslog.go:434
Method
Dial
(addr string, options map[string]string)
transports/udp/udp.go:28
Method
Dial
(addr string, options map[string]string)
transports/tls/tls.go:82
Method
Dial
(addr string, options map[string]string)
transports/tcp/tcp.go:23
Method
Get
Get returns a Route based on id
router/routes.go:52
Method
GetAll
GetAll returns all routes in the RouteManager
router/routes.go:63
Method
GetAll
GetAll returns a slice of *Route for the entire RouteFileStore
router/persist.go:34
Function
HealthCheck
HealthCheck returns a http.Handler for the health check
healthcheck/healthcheck.go:16
Function
LogStreamer
LogStreamer returns a http.Handler that can stream logs
httpstream/httpstream.go:30
Method
Lookup
(name string)
router/extpoints.go:140
Method
Lookup
(name string)
router/extpoints.go:182
Method
Lookup
(name string)
router/extpoints.go:224
Method
Lookup
(name string)
router/extpoints.go:308
Method
Name
()
router/http.go:22
Method
Name
Name returns the name of the RouteManager
router/routes.go:205
Method
Names
()
router/extpoints.go:156
Method
Names
()
router/extpoints.go:198
Method
Names
()
router/extpoints.go:240
Method
Names
()
router/extpoints.go:324
Function
NewMultilineAdapter
NewMultilineAdapter returns a configured multiline.Adapter
adapters/multiline/multiline.go:45
Method
Priority
Priority returns a syslog.Priority based on the message source
adapters/syslog/syslog.go:407
Function
Register
(component interface{}, name string)
router/extpoints.go:98
Method
Register
(component HTTPHandler, name string)
router/extpoints.go:136
Method
Register
(component AdapterFactory, name string)
router/extpoints.go:178
Method
Register
(component AdapterTransport, name string)
router/extpoints.go:220
Method
Register
(component LogRouter, name string)
router/extpoints.go:304
Method
Remove
Remove removes a route from a RouteManager based on id
router/routes.go:74
Method
Remove
Remove removes route from the RouteFileStore based on id
router/persist.go:58
Method
Reset
()
router/pump_test.go:42
Method
RoundTrip
(r *http.Request)
router/pump_test.go:23
Method
Route
Route takes a logstream and routes it according to the supplied Route
router/pump.go:319
Function
RoutesAPI
RoutesAPI returns a handler for the routes API
routesapi/routesapi.go:19
Method
RoutingFrom
RoutingFrom returns whether a given container is routing through the RouteManager
router/routes.go:175
Method
Run
()
router/http.go:36
Method
Run
Run executes the RouteManager
router/routes.go:185
Method
Run
Run executes the pump
router/pump.go:171
Method
Setup
()
router/http.go:27
Method
Setup
Setup configures the RouteManager
router/routes.go:210
Method
Setup
Setup configures the pump
router/pump.go:151
Method
Stream
(logstream chan *router.Message)
adapters/multiline/multiline_test.go:34
Method
Stream
Stream sends log data to a connection
adapters/raw/raw.go:63
Method
Stream
Stream sends log data to a connection
adapters/syslog/syslog.go:242
Method
Stream
(logstream chan *Message)
router/routes_test.go:10
Function
TestContainerEnv
(t *testing.T)
adapters/multiline/multiline_test.go:180
Function
TestEmptyTrustStore
TestEmptyTrustStore should test the behavior of having an empty TLS CA trust store.
transports/tls/tls_test.go:32
Function
TestHostnameDoesNotHaveLineFeed
(t *testing.T)
adapters/syslog/syslog_test.go:210
Function
TestLoadingClientCertAndKey
TestLoadingClientCertAndKey: should test the behavior of loading a pem encoded client x509 certificate and private key
transports/tls/tls_test.go:104
Function
TestMultiline
(t *testing.T)
adapters/multiline/multiline_test.go:41
Function
TestMultipleCustomCAs
TestMultipleCustomCAs should test the behavior of loading multiple custom CA certificates in to the trust store.
transports/tls/tls_test.go:58
Function
TestPumpBacklog
(t *testing.T)
router/pump_test.go:272
Function
TestPumpContainerPump
(t *testing.T)
router/pump_test.go:220
Function
TestPumpContainerRename
(t *testing.T)
router/pump_test.go:176
Function
TestPumpIgnoreContainer
(t *testing.T)
router/pump_test.go:55
Function
TestPumpIgnoreContainerAllowTTYDefault
(t *testing.T)
router/pump_test.go:134
Function
TestPumpIgnoreContainerAllowTTYTrue
(t *testing.T)
router/pump_test.go:150
Function
TestPumpIgnoreContainerCustomLabels
(t *testing.T)
router/pump_test.go:77
Function
TestPumpIgnoreContainerCustomLabelsUsingExcludeLabelsEnvVar
(t *testing.T)
router/pump_test.go:115
Function
TestPumpIgnoreContainersMatchingAtLeastOneLabel
(t *testing.T)
router/pump_test.go:95
Function
TestPumpLogsPumpName
(t *testing.T)
router/pump_test.go:169
Function
TestPumpNewContainerPump
(t *testing.T)
router/pump_test.go:205
Function
TestPumpRoutingFrom
(t *testing.T)
router/pump_test.go:247
Function
TestRouterGetAll
(t *testing.T)
router/routes_test.go:20
Function
TestRouterNoDuplicateIds
(t *testing.T)
router/routes_test.go:32
Function
TestSingleCustomCA
TestSingleCustomCA should test the behavior of loading a single custom CA certificate in to the trust store.
transports/tls/tls_test.go:45
Function
TestSysLogFormat
(t *testing.T)
adapters/syslog/syslog_test.go:93
Function
TestSysLogTCPFraming
(t *testing.T)
adapters/syslog/syslog_test.go:122
Function
TestSyslogOctetFraming
(t *testing.T)
adapters/syslog/syslog_test.go:43
Function
TestSyslogReconnectOnClose
(t *testing.T)
adapters/syslog/syslog_test.go:166
Function
TestSyslogRetryCount
(t *testing.T)
adapters/syslog/syslog_test.go:151
Function
TestSystemRootCAs
TestSystemRootCAs should test that by default we load the system trust store
transports/tls/tls_test.go:73
Function
TestSystemRootCAsAndCustomCAs
TestSystemRootCAsAndCustomCAs should test that we can load both system CAs and custom CAs into trust store
transports/tls/tls_test.go:87
Function
TestTLSHardening
TestTLSHardening should test the behavior of enabling TLS hardening
transports/tls/tls_test.go:117
Method
Timestamp
Timestamp returns the message's syslog formatted timestamp
adapters/syslog/syslog.go:424
Function
Unregister
(name string)
router/extpoints.go:110
Method
Unregister
(name string)
router/extpoints.go:132
Method
Unregister
(name string)
router/extpoints.go:174
Method
Unregister
(name string)
router/extpoints.go:216
Method
Unregister
(name string)
router/extpoints.go:258
Method
Unregister
(name string)
router/extpoints.go:300
Function
init
()
routesapi/routesapi.go:14
Function
init
()
healthcheck/healthcheck.go:11
Function
init
()
adapters/multiline/multiline.go:25
Function
init
()
adapters/raw/raw.go:15
Function
init
()
adapters/syslog/syslog.go:49
Function
init
()
router/http.go:11
Function
init
()
router/routes.go:22
Function
init
()
router/pump.go:32
Function
init
()
transports/udp/udp.go:15
Function
init
()
transports/tls/tls.go:62
Function
init
()
transports/tcp/tcp.go:10
Function
init
()
httpstream/httpstream.go:19
Function
main
()
logspout.go:17
Function
newDummyAdapter
(route *Route)
router/routes_test.go:16
Function
rawTCPAdapter
(route *router.Route)
transports/tcp/tcp.go:16
Function
rawTLSAdapter
(route *router.Route)
transports/tls/tls.go:76
Function
rawUDPAdapter
(route *router.Route)
transports/udp/udp.go:21
← previous
101–197 of 197, ranked by callers