aboutsummaryrefslogtreecommitdiff
path: root/libpod/stats_unsupported.go
blob: 3094e2eaacdbfaa75809a8199d6a5501e630e45c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//go:build !linux && !freebsd
// +build !linux,!freebsd

package libpod

import (
	"errors"

	"github.com/containers/podman/v4/libpod/define"
)

// GetContainerStats gets the running stats for a given container.
// The previousStats is used to correctly calculate cpu percentages. You
// should pass nil if there is no previous stat for this container.
func (c *Container) GetContainerStats(previousStats *define.ContainerStats) (*define.ContainerStats, error) {
	return nil, errors.New("not implemented (*Container) GetContainerStats")
}