Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handlers ¶
func Handlers() []string
Drivers returns a sorted list of the names of the registered drivers.
func RegisterDiskUsageHandler ¶
func RegisterDiskUsageHandler(name string, h DiskUsageHandler)
RegisterCronHandler makes a smtp handler available by the provided name. If RegisterCronHandler is called twice with the same name or if driver is nil, it panics.
Types ¶
type DiskUsageHandler ¶
type DiskUsageHandler interface {
// This functionality is primarily used by a module that processes data collected by the AWS Inventory System
// or any other inventory system. The module will collect the disk usage but will not store the information.
// it's responsability of the implemented module to retrieve/store/handle the data any way it sees fit.
// address - mailio address
GetDiskUsage(address string) (*types.DiskUsage, error)
}
func GetHandler ¶
func GetHandler(name string) DiskUsageHandler
Click to show internal directories.
Click to hide internal directories.