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

Function Asegments

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

Source from the content-addressed store, hash-verified

624}
625
626func Asegments(response *agent.SyncResponse) {
627 fmt.Println("local_segments:")
628 localSegments := response.GetLocalSegments()
629 for index, localSegment := range localSegments {
630 AJsonFormat(index+1, localSegment)
631 }
632 fmt.Println("remote_segments:")
633 remoteSegments := response.GetRemoteSegments()
634 for index, remoteSegment := range remoteSegments {
635 AJsonFormat(index+1, remoteSegment)
636 }
637}
638
639func Acontainers(response *agent.SyncResponse) {
640 fmt.Println("containers:")

Callers

nothing calls this directly

Calls 1

AJsonFormatFunction · 0.85

Tested by

no test coverage detected