package storage
import "github.com/google/cadvisor/storage"
Index ¶
- Variables
- func ListDrivers() []string
- func RegisterStorageDriver(name string, f StorageDriverFunc)
- type StorageDriver
- type StorageDriverFunc
Variables ¶
var ArgDbBufferDuration = flag.Duration("storage_driver_buffer_duration", 60*time.Second, "" /* 131 byte string literal not displayed */)
var ArgDbIsSecure = flag.Bool("storage_driver_secure", false, "use secure connection with database")
Functions ¶
func ListDrivers ¶
func ListDrivers() []string
func RegisterStorageDriver ¶
func RegisterStorageDriver(name string, f StorageDriverFunc)
Types ¶
type StorageDriver ¶
type StorageDriver interface { AddStats(cInfo *info.ContainerInfo, stats *info.ContainerStats) error // Close will clear the state of the storage driver. The elements // stored in the underlying storage may or may not be deleted depending // on the implementation of the storage driver. Close() error }
func New ¶
func New(name string) (StorageDriver, error)
type StorageDriverFunc ¶
type StorageDriverFunc func() (StorageDriver, error)
Source Files ¶
- Version
- v0.52.1 (latest)
- Published
- Mar 5, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 3 days ago –
Tools for package owners.