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

Method CountVolumes

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

Source from the content-addressed store, hash-verified

119 CountUsers(ctx context.Context) (int64, error)
120 CountUsersByRole(ctx context.Context, role string) (int64, error)
121 CountVolumes(ctx context.Context, arg CountVolumesParams) (int32, error)
122 CountVolumesByHostID(ctx context.Context, hostID string) (int32, error)
123 // Counts pending Windows Updates for a host (for dashboard/stats).
124 CountWindowsUpdatesByHostID(ctx context.Context, hostID string) (CountWindowsUpdatesByHostIDRow, error)

Callers 1

ListVolumesMethod · 0.65

Implementers 1

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

Calls

no outgoing calls

Tested by

no test coverage detected