func (ctn *Container) SetMetrics(ctnMetrics *metrics.ContainerMetrics) {
	if ctnMetrics == nil {
		return
	}

	ctn.CPU = ctnMetrics.CPU
	ctn.IO = ctnMetrics.IO
	ctn.Memory = ctnMetrics.Memory
}
// SetMetrics stores results from a ContainerMetrics to the embedded struct inside Container
SetMetrics stores results from a ContainerMetrics to the embedded struct inside Container
// SetMetrics stores results from a ContainerMetrics to the embedded struct inside Container
func (ctn *Container) SetMetrics(ctnMetrics *metrics.ContainerMetrics) {
	if ctnMetrics == nil {
		return
	}
	ctn.CPU = ctnMetrics.CPU
	ctn.IO = ctnMetrics.IO
	ctn.Memory = ctnMetrics.Memory
}
func ( ctn * Container ) SetMetrics ( ctnMetrics * metrics . ContainerMetrics ) { if ctnMetrics == nil { return } ctn . CPU = ctnMetrics . CPU ctn . IO = ctnMetrics . IO ctn . Memory = ctnMetrics . Memory }
SetMetrics stores results from a ContainerMetrics to the embedded struct inside Container
SetMetrics stores results from a ContainerMetrics to the embedded struct inside Container