stats

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Statistics

type Statistics struct {

	// Types that are assignable to Container:
	//
	//	*Statistics_Windows
	//	*Statistics_Linux
	Container isStatistics_Container    `protobuf_oneof:"container"`
	VM        *VirtualMachineStatistics `protobuf:"bytes,3,opt,name=vm,proto3" json:"vm,omitempty"`
	// contains filtered or unexported fields
}

func (*Statistics) Descriptor deprecated

func (*Statistics) Descriptor() ([]byte, []int)

Deprecated: Use Statistics.ProtoReflect.Descriptor instead.

func (*Statistics) GetContainer

func (m *Statistics) GetContainer() isStatistics_Container

func (*Statistics) GetLinux

func (x *Statistics) GetLinux() *stats.Metrics

func (*Statistics) GetVM

func (*Statistics) GetWindows

func (x *Statistics) GetWindows() *WindowsContainerStatistics

func (*Statistics) ProtoMessage

func (*Statistics) ProtoMessage()

func (*Statistics) ProtoReflect

func (x *Statistics) ProtoReflect() protoreflect.Message

func (*Statistics) Reset

func (x *Statistics) Reset()

func (*Statistics) String

func (x *Statistics) String() string

type Statistics_Linux

type Statistics_Linux struct {
	Linux *stats.Metrics `protobuf:"bytes,2,opt,name=linux,proto3,oneof"`
}

type Statistics_Windows

type Statistics_Windows struct {
	Windows *WindowsContainerStatistics `protobuf:"bytes,1,opt,name=windows,proto3,oneof"`
}

type VirtualMachineMemory

type VirtualMachineMemory struct {
	AvailableMemory       int32  `protobuf:"varint,1,opt,name=available_memory,json=availableMemory,proto3" json:"available_memory,omitempty"`
	AvailableMemoryBuffer int32  `` /* 127-byte string literal not displayed */
	ReservedMemory        uint64 `protobuf:"varint,3,opt,name=reserved_memory,json=reservedMemory,proto3" json:"reserved_memory,omitempty"`
	AssignedMemory        uint64 `protobuf:"varint,4,opt,name=assigned_memory,json=assignedMemory,proto3" json:"assigned_memory,omitempty"`
	SlpActive             bool   `protobuf:"varint,5,opt,name=slp_active,json=slpActive,proto3" json:"slp_active,omitempty"`
	BalancingEnabled      bool   `protobuf:"varint,6,opt,name=balancing_enabled,json=balancingEnabled,proto3" json:"balancing_enabled,omitempty"`
	DmOperationInProgress bool   `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VirtualMachineMemory) Descriptor deprecated

func (*VirtualMachineMemory) Descriptor() ([]byte, []int)

Deprecated: Use VirtualMachineMemory.ProtoReflect.Descriptor instead.

func (*VirtualMachineMemory) GetAssignedMemory

func (x *VirtualMachineMemory) GetAssignedMemory() uint64

func (*VirtualMachineMemory) GetAvailableMemory

func (x *VirtualMachineMemory) GetAvailableMemory() int32

func (*VirtualMachineMemory) GetAvailableMemoryBuffer

func (x *VirtualMachineMemory) GetAvailableMemoryBuffer() int32

func (*VirtualMachineMemory) GetBalancingEnabled

func (x *VirtualMachineMemory) GetBalancingEnabled() bool

func (*VirtualMachineMemory) GetDmOperationInProgress

func (x *VirtualMachineMemory) GetDmOperationInProgress() bool

func (*VirtualMachineMemory) GetReservedMemory

func (x *VirtualMachineMemory) GetReservedMemory() uint64

func (*VirtualMachineMemory) GetSlpActive

func (x *VirtualMachineMemory) GetSlpActive() bool

func (*VirtualMachineMemory) ProtoMessage

func (*VirtualMachineMemory) ProtoMessage()

func (*VirtualMachineMemory) ProtoReflect

func (x *VirtualMachineMemory) ProtoReflect() protoreflect.Message

func (*VirtualMachineMemory) Reset

func (x *VirtualMachineMemory) Reset()

func (*VirtualMachineMemory) String

func (x *VirtualMachineMemory) String() string

type VirtualMachineMemoryStatistics

type VirtualMachineMemoryStatistics struct {
	WorkingSetBytes  uint64                `protobuf:"varint,1,opt,name=working_set_bytes,json=workingSetBytes,proto3" json:"working_set_bytes,omitempty"`
	VirtualNodeCount uint32                `protobuf:"varint,2,opt,name=virtual_node_count,json=virtualNodeCount,proto3" json:"virtual_node_count,omitempty"`
	VmMemory         *VirtualMachineMemory `protobuf:"bytes,3,opt,name=vm_memory,json=vmMemory,proto3" json:"vm_memory,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualMachineMemoryStatistics) Descriptor deprecated

func (*VirtualMachineMemoryStatistics) Descriptor() ([]byte, []int)

Deprecated: Use VirtualMachineMemoryStatistics.ProtoReflect.Descriptor instead.

func (*VirtualMachineMemoryStatistics) GetVirtualNodeCount

func (x *VirtualMachineMemoryStatistics) GetVirtualNodeCount() uint32

func (*VirtualMachineMemoryStatistics) GetVmMemory

func (*VirtualMachineMemoryStatistics) GetWorkingSetBytes

func (x *VirtualMachineMemoryStatistics) GetWorkingSetBytes() uint64

func (*VirtualMachineMemoryStatistics) ProtoMessage

func (*VirtualMachineMemoryStatistics) ProtoMessage()

func (*VirtualMachineMemoryStatistics) ProtoReflect

func (*VirtualMachineMemoryStatistics) Reset

func (x *VirtualMachineMemoryStatistics) Reset()

func (*VirtualMachineMemoryStatistics) String

type VirtualMachineProcessorStatistics

type VirtualMachineProcessorStatistics struct {
	TotalRuntimeNS uint64 `protobuf:"varint,1,opt,name=total_runtime_ns,json=totalRuntimeNs,proto3" json:"total_runtime_ns,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualMachineProcessorStatistics) Descriptor deprecated

func (*VirtualMachineProcessorStatistics) Descriptor() ([]byte, []int)

Deprecated: Use VirtualMachineProcessorStatistics.ProtoReflect.Descriptor instead.

func (*VirtualMachineProcessorStatistics) GetTotalRuntimeNS

func (x *VirtualMachineProcessorStatistics) GetTotalRuntimeNS() uint64

func (*VirtualMachineProcessorStatistics) ProtoMessage

func (*VirtualMachineProcessorStatistics) ProtoMessage()

func (*VirtualMachineProcessorStatistics) ProtoReflect

func (*VirtualMachineProcessorStatistics) Reset

func (*VirtualMachineProcessorStatistics) String

type VirtualMachineStatistics

type VirtualMachineStatistics struct {
	Processor *VirtualMachineProcessorStatistics `protobuf:"bytes,1,opt,name=processor,proto3" json:"processor,omitempty"`
	Memory    *VirtualMachineMemoryStatistics    `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualMachineStatistics) Descriptor deprecated

func (*VirtualMachineStatistics) Descriptor() ([]byte, []int)

Deprecated: Use VirtualMachineStatistics.ProtoReflect.Descriptor instead.

func (*VirtualMachineStatistics) GetMemory

func (*VirtualMachineStatistics) GetProcessor

func (*VirtualMachineStatistics) ProtoMessage

func (*VirtualMachineStatistics) ProtoMessage()

func (*VirtualMachineStatistics) ProtoReflect

func (x *VirtualMachineStatistics) ProtoReflect() protoreflect.Message

func (*VirtualMachineStatistics) Reset

func (x *VirtualMachineStatistics) Reset()

func (*VirtualMachineStatistics) String

func (x *VirtualMachineStatistics) String() string

type WindowsContainerMemoryStatistics

type WindowsContainerMemoryStatistics struct {
	MemoryUsageCommitBytes            uint64 `` /* 132-byte string literal not displayed */
	MemoryUsageCommitPeakBytes        uint64 `` /* 146-byte string literal not displayed */
	MemoryUsagePrivateWorkingSetBytes uint64 `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WindowsContainerMemoryStatistics) Descriptor deprecated

func (*WindowsContainerMemoryStatistics) Descriptor() ([]byte, []int)

Deprecated: Use WindowsContainerMemoryStatistics.ProtoReflect.Descriptor instead.

func (*WindowsContainerMemoryStatistics) GetMemoryUsageCommitBytes

func (x *WindowsContainerMemoryStatistics) GetMemoryUsageCommitBytes() uint64

func (*WindowsContainerMemoryStatistics) GetMemoryUsageCommitPeakBytes

func (x *WindowsContainerMemoryStatistics) GetMemoryUsageCommitPeakBytes() uint64

func (*WindowsContainerMemoryStatistics) GetMemoryUsagePrivateWorkingSetBytes

func (x *WindowsContainerMemoryStatistics) GetMemoryUsagePrivateWorkingSetBytes() uint64

func (*WindowsContainerMemoryStatistics) ProtoMessage

func (*WindowsContainerMemoryStatistics) ProtoMessage()

func (*WindowsContainerMemoryStatistics) ProtoReflect

func (*WindowsContainerMemoryStatistics) Reset

func (*WindowsContainerMemoryStatistics) String

type WindowsContainerProcessorStatistics

type WindowsContainerProcessorStatistics struct {
	TotalRuntimeNS  uint64 `protobuf:"varint,1,opt,name=total_runtime_ns,json=totalRuntimeNs,proto3" json:"total_runtime_ns,omitempty"`
	RuntimeUserNS   uint64 `protobuf:"varint,2,opt,name=runtime_user_ns,json=runtimeUserNs,proto3" json:"runtime_user_ns,omitempty"`
	RuntimeKernelNS uint64 `protobuf:"varint,3,opt,name=runtime_kernel_ns,json=runtimeKernelNs,proto3" json:"runtime_kernel_ns,omitempty"`
	// contains filtered or unexported fields
}

func (*WindowsContainerProcessorStatistics) Descriptor deprecated

func (*WindowsContainerProcessorStatistics) Descriptor() ([]byte, []int)

Deprecated: Use WindowsContainerProcessorStatistics.ProtoReflect.Descriptor instead.

func (*WindowsContainerProcessorStatistics) GetRuntimeKernelNS

func (x *WindowsContainerProcessorStatistics) GetRuntimeKernelNS() uint64

func (*WindowsContainerProcessorStatistics) GetRuntimeUserNS

func (x *WindowsContainerProcessorStatistics) GetRuntimeUserNS() uint64

func (*WindowsContainerProcessorStatistics) GetTotalRuntimeNS

func (x *WindowsContainerProcessorStatistics) GetTotalRuntimeNS() uint64

func (*WindowsContainerProcessorStatistics) ProtoMessage

func (*WindowsContainerProcessorStatistics) ProtoMessage()

func (*WindowsContainerProcessorStatistics) ProtoReflect

func (*WindowsContainerProcessorStatistics) Reset

func (*WindowsContainerProcessorStatistics) String

type WindowsContainerStatistics

type WindowsContainerStatistics struct {
	Timestamp          *timestamppb.Timestamp               `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ContainerStartTime *timestamppb.Timestamp               `protobuf:"bytes,2,opt,name=container_start_time,json=containerStartTime,proto3" json:"container_start_time,omitempty"`
	UptimeNS           uint64                               `protobuf:"varint,3,opt,name=uptime_ns,json=uptimeNs,proto3" json:"uptime_ns,omitempty"`
	Processor          *WindowsContainerProcessorStatistics `protobuf:"bytes,4,opt,name=processor,proto3" json:"processor,omitempty"`
	Memory             *WindowsContainerMemoryStatistics    `protobuf:"bytes,5,opt,name=memory,proto3" json:"memory,omitempty"`
	Storage            *WindowsContainerStorageStatistics   `protobuf:"bytes,6,opt,name=storage,proto3" json:"storage,omitempty"`
	// contains filtered or unexported fields
}

func (*WindowsContainerStatistics) Descriptor deprecated

func (*WindowsContainerStatistics) Descriptor() ([]byte, []int)

Deprecated: Use WindowsContainerStatistics.ProtoReflect.Descriptor instead.

func (*WindowsContainerStatistics) GetContainerStartTime

func (x *WindowsContainerStatistics) GetContainerStartTime() *timestamppb.Timestamp

func (*WindowsContainerStatistics) GetMemory

func (*WindowsContainerStatistics) GetProcessor

func (*WindowsContainerStatistics) GetStorage

func (*WindowsContainerStatistics) GetTimestamp

func (*WindowsContainerStatistics) GetUptimeNS

func (x *WindowsContainerStatistics) GetUptimeNS() uint64

func (*WindowsContainerStatistics) ProtoMessage

func (*WindowsContainerStatistics) ProtoMessage()

func (*WindowsContainerStatistics) ProtoReflect

func (*WindowsContainerStatistics) Reset

func (x *WindowsContainerStatistics) Reset()

func (*WindowsContainerStatistics) String

func (x *WindowsContainerStatistics) String() string

type WindowsContainerStorageStatistics

type WindowsContainerStorageStatistics struct {
	ReadCountNormalized  uint64 `protobuf:"varint,1,opt,name=read_count_normalized,json=readCountNormalized,proto3" json:"read_count_normalized,omitempty"`
	ReadSizeBytes        uint64 `protobuf:"varint,2,opt,name=read_size_bytes,json=readSizeBytes,proto3" json:"read_size_bytes,omitempty"`
	WriteCountNormalized uint64 `protobuf:"varint,3,opt,name=write_count_normalized,json=writeCountNormalized,proto3" json:"write_count_normalized,omitempty"`
	WriteSizeBytes       uint64 `protobuf:"varint,4,opt,name=write_size_bytes,json=writeSizeBytes,proto3" json:"write_size_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*WindowsContainerStorageStatistics) Descriptor deprecated

func (*WindowsContainerStorageStatistics) Descriptor() ([]byte, []int)

Deprecated: Use WindowsContainerStorageStatistics.ProtoReflect.Descriptor instead.

func (*WindowsContainerStorageStatistics) GetReadCountNormalized

func (x *WindowsContainerStorageStatistics) GetReadCountNormalized() uint64

func (*WindowsContainerStorageStatistics) GetReadSizeBytes

func (x *WindowsContainerStorageStatistics) GetReadSizeBytes() uint64

func (*WindowsContainerStorageStatistics) GetWriteCountNormalized

func (x *WindowsContainerStorageStatistics) GetWriteCountNormalized() uint64

func (*WindowsContainerStorageStatistics) GetWriteSizeBytes

func (x *WindowsContainerStorageStatistics) GetWriteSizeBytes() uint64

func (*WindowsContainerStorageStatistics) ProtoMessage

func (*WindowsContainerStorageStatistics) ProtoMessage()

func (*WindowsContainerStorageStatistics) ProtoReflect

func (*WindowsContainerStorageStatistics) Reset

func (*WindowsContainerStorageStatistics) String

Jump to

Keyboard shortcuts

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