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

Function AipGroups

cli/ctl/agent_check.go:538–550  ·  view source on GitHub ↗
(response *agent.SyncResponse)

Source from the content-addressed store, hash-verified

536}
537
538func AipGroups(response *agent.SyncResponse) {
539 groups := agent.Groups{}
540 fmt.Println("Groups version:", response.GetVersionGroups())
541
542 if groupsCompressed := response.GetGroups(); groupsCompressed != nil {
543 if err := groups.Unmarshal(groupsCompressed); err == nil {
544 fmt.Println("Groups data:")
545 for index, entry := range groups.Groups {
546 AJsonFormat(index+1, entry)
547 }
548 }
549 }
550}
551
552func AformatString(data *agent.Interface) string {
553 buffer := bytes.Buffer{}

Callers

nothing calls this directly

Calls 3

AJsonFormatFunction · 0.85
UnmarshalMethod · 0.65
GetGroupsMethod · 0.45

Tested by

no test coverage detected