blob: ae7a757c65bf66cb38a720d5b77fb9ba24188f01 [file] [log] [blame]
package libcontainerd // import ""
import (
specs ""
// Summary is not used on linux
type Summary struct{}
// Stats holds metrics properties as returned by containerd
type Stats struct {
Read time.Time
Metrics *cgroups.Metrics
func interfaceToStats(read time.Time, v interface{}) *Stats {
return &Stats{
Metrics: v.(*cgroups.Metrics),
Read: read,
// Resources defines updatable container resource values. TODO: it must match containerd upcoming API
type Resources specs.LinuxResources
// Checkpoints contains the details of a checkpoint
type Checkpoints struct{}