MCPcopy Create free account
hub / github.com/PatchMon/PatchMon / CountContainers

Method CountContainers

server-source-code/internal/db/querier.go:100–100  ·  view source on GitHub ↗
(ctx context.Context, arg CountContainersParams)

Source from the content-addressed store, hash-verified

98 CountComplianceScansByHost(ctx context.Context, hostID string) (int64, error)
99 CountComplianceScansHistory(ctx context.Context, arg CountComplianceScansHistoryParams) (int64, error)
100 CountContainers(ctx context.Context, arg CountContainersParams) (int32, error)
101 CountContainersByImageID(ctx context.Context, imageID *string) (int32, error)
102 // Dashboard stats
103 CountDockerHosts(ctx context.Context) (int32, error)

Callers 2

ListContainersMethod · 0.65
GetHostIntegrationsMethod · 0.65

Implementers 1

Queriesserver-source-code/internal/db/db.go

Calls

no outgoing calls

Tested by

no test coverage detected