Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/EasyFaaS
/ Close
Method
Close
pkg/userlog/userlog.go:29–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
27
type
UserLogFile
interface
{
28
Write(l *UserLog, buf []byte) (int, error)
29
Close() error
30
}
31
32
// UserLog marshals encoded JSONLog objects
Callers
15
prepareRuntimeConf
Method · 0.65
prepareEnvConf
Method · 0.65
ReaderToLog
Function · 0.65
CopyFile
Function · 0.65
GenerateHostsFile
Function · 0.65
AppendHostsFile
Function · 0.65
prepareProjectFiles
Method · 0.65
syncExistsProjects
Method · 0.65
addToFile
Method · 0.65
TestAddToFile
Function · 0.65
TestRemoveFromFile
Function · 0.65
TestHelperProcess
Function · 0.65
Implementers
5
closeBuffer
pkg/controller/rtctrl/logstore_test.go
DiodeWriter
pkg/util/logs/diode.go
mockConn
pkg/util/httptest/mockconn.go
JSONLogFile
pkg/userlog/json/jsonlogfile.go
plainLogFile
pkg/userlog/plain/plainlogfile.go
Calls
no outgoing calls
Tested by
8
TestAddToFile
Function · 0.52
TestRemoveFromFile
Function · 0.52
TestHelperProcess
Function · 0.52
TestUnregisterHandlers
Function · 0.52
TestPrefixHandlers
Function · 0.52
TestFileSerialization
Function · 0.52
TestMounted
Function · 0.52
TestPlainLogfile
Function · 0.52