Documentation ¶
Index ¶
Constants ¶
View Source
const ( UTF8 = Charset("UTF-8") GB18030 = Charset("GB18030") GBK = Charset("GBK") GB2312 = Charset("GB2312") )
View Source
const (
AgentName = "kata-agent"
)
Global
View Source
const (
LogFileApp = "agent.log"
)
Variables ¶
View Source
var AgentLog = logrus.WithFields(agentFields)
View Source
var ServiceConfig = &service.Config{
Name: "kata-agent",
DisplayName: "Kata-Agent Service",
Description: "",
}
View Source
var Version = "unknown"
Functions ¶
func FailureRecory ¶
func FailureRecory() error
func HandlePanic ¶
func HandlePanic()
Types ¶
Click to show internal directories.
Click to hide internal directories.