Documentation ¶
Index ¶
- func GenerateRandomContainerInfo(containerName string, numCores int, query *info.ContainerInfoRequest, ...) *info.ContainerInfo
- func GenerateRandomContainerSpec(numCores int) *info.ContainerSpec
- func GenerateRandomStats(numStats, numCores int, duration time.Duration) []*info.ContainerStats
- func NewSamplesFromStats(stats ...*info.ContainerStats) ([]*info.ContainerStatsSample, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomContainerInfo ¶
func GenerateRandomContainerInfo(containerName string, numCores int, query *info.ContainerInfoRequest, duration time.Duration) *info.ContainerInfo
func GenerateRandomContainerSpec ¶
func GenerateRandomContainerSpec(numCores int) *info.ContainerSpec
func GenerateRandomStats ¶
func GenerateRandomStats(numStats, numCores int, duration time.Duration) []*info.ContainerStats
func NewSamplesFromStats ¶
func NewSamplesFromStats(stats ...*info.ContainerStats) ([]*info.ContainerStatsSample, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.