statsconv

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert_libvirt_DomainJobInfo_To_stats_DomainJobInfo added in v0.53.0

func Convert_libvirt_DomainJobInfo_To_stats_DomainJobInfo(info *libvirt.DomainJobInfo) *stats.DomainJobInfo

func Convert_libvirt_DomainStatsBlock_To_stats_DomainStatsBlock

func Convert_libvirt_DomainStatsBlock_To_stats_DomainStatsBlock(in []libvirt.DomainStatsBlock, devAliasMap map[string]string) []stats.DomainStatsBlock

func Convert_libvirt_DomainStatsCpu_To_stats_DomainStatsCpu

func Convert_libvirt_DomainStatsCpu_To_stats_DomainStatsCpu(in *libvirt.DomainStatsCPU) *stats.DomainStatsCPU

func Convert_libvirt_DomainStatsNet_To_stats_DomainStatsNet

func Convert_libvirt_DomainStatsNet_To_stats_DomainStatsNet(in []libvirt.DomainStatsNet, devAliasMap map[string]string) []stats.DomainStatsNet

func Convert_libvirt_DomainStatsVcpu_To_stats_DomainStatsVcpu

func Convert_libvirt_DomainStatsVcpu_To_stats_DomainStatsVcpu(in []libvirt.DomainStatsVcpu) []stats.DomainStatsVcpu

func Convert_libvirt_DomainStats_to_stats_DomainStats

func Convert_libvirt_DomainStats_to_stats_DomainStats(ident DomainIdentifier, in *libvirt.DomainStats, inMem []libvirt.DomainMemoryStat, inDomInfo *libvirt.DomainInfo, devAliasMap map[string]string, inJobInfo *stats.DomainJobInfo, out *stats.DomainStats) error

func Convert_libvirt_MemoryStat_to_stats_DomainStatsMemory

func Convert_libvirt_MemoryStat_to_stats_DomainStatsMemory(inMem []libvirt.DomainMemoryStat, inDomInfo *libvirt.DomainInfo) *stats.DomainStatsMemory

Types

type DomainIdentifier

type DomainIdentifier interface {
	GetName() (string, error)
	GetUUIDString() (string, error)
}

type MockDomainIdentifier

type MockDomainIdentifier struct {
	// contains filtered or unexported fields
}

Mock of DomainIdentifier interface

func NewMockDomainIdentifier

func NewMockDomainIdentifier(ctrl *gomock.Controller) *MockDomainIdentifier

func (*MockDomainIdentifier) EXPECT

func (_m *MockDomainIdentifier) EXPECT() *_MockDomainIdentifierRecorder

func (*MockDomainIdentifier) GetName

func (_m *MockDomainIdentifier) GetName() (string, error)

func (*MockDomainIdentifier) GetUUIDString

func (_m *MockDomainIdentifier) GetUUIDString() (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL