Documentation ¶
Overview ¶
Package service is not included in the partners build: it's not needed in the partner apps, and the syscall.Stat* functions inside the models.Volume code cause the build to fail on Windows.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VolumeService ¶
type VolumeService struct {
// contains filtered or unexported fields
}
VolumeService keeps track of the space available to workers processing APTrust and DPN bags.
func NewVolumeService ¶
func NewVolumeService(port int, logger *logging.Logger) *VolumeService
NewVolumeService creates a new VolumeService object to track the amount of available space and claimed space on locally mounted volumes.
func (*VolumeService) Serve ¶
func (service *VolumeService) Serve()
Serve starts an HTTP server, so the VolumeService can respond to requests from the VolumeClient(s). See the VolumeClient for available calls.
Click to show internal directories.
Click to hide internal directories.