MCPcopy Create free account
hub / github.com/deepflowio/deepflow / AJsonFormat

Function AJsonFormat

cli/ctl/agent_check.go:503–509  ·  view source on GitHub ↗
(index int, v interface{})

Source from the content-addressed store, hash-verified

501}
502
503func AJsonFormat(index int, v interface{}) {
504 jsonBytes, err := json.Marshal(v)
505 if err != nil {
506 fmt.Println("json encode failed")
507 }
508 fmt.Printf("\t%v: %s\n", index, jsonBytes)
509}
510
511func (a AgentSortedAcls) Len() int {
512 return len(a)

Callers 10

AgpidAgentResponseFunction · 0.85
AgpidGlobalTableFunction · 0.85
ArealGlobalFunction · 0.85
AripToVipFunction · 0.85
AflowAclsFunction · 0.85
AipGroupsFunction · 0.85
AplatformDataFunction · 0.85
AskipInterfaceFunction · 0.85
AsegmentsFunction · 0.85
AcontainersFunction · 0.85

Calls 1

MarshalMethod · 0.45

Tested by

no test coverage detected