diskusage

package module
v0.0.0-...-0aeaaa6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL