stats

package
v0.12.6 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 6 Imported by: 33

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 added in v0.10.0

func (*Statistics) GetWindows

func (x *Statistics) GetWindows() *WindowsContainerStatistics

func (*Statistics) ProtoMessage

func (*Statistics) ProtoMessage()

func (*Statistics) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *VirtualMachineMemory) GetAssignedMemory() uint64

func (*VirtualMachineMemory) GetAvailableMemory added in v0.10.0

func (x *VirtualMachineMemory) GetAvailableMemory() int32

func (*VirtualMachineMemory) GetAvailableMemoryBuffer added in v0.10.0

func (x *VirtualMachineMemory) GetAvailableMemoryBuffer() int32

func (*VirtualMachineMemory) GetBalancingEnabled added in v0.10.0

func (x *VirtualMachineMemory) GetBalancingEnabled() bool

func (*VirtualMachineMemory) GetDmOperationInProgress added in v0.10.0

func (x *VirtualMachineMemory) GetDmOperationInProgress() bool

func (*VirtualMachineMemory) GetReservedMemory added in v0.10.0

func (x *VirtualMachineMemory) GetReservedMemory() uint64

func (*VirtualMachineMemory) GetSlpActive added in v0.10.0

func (x *VirtualMachineMemory) GetSlpActive() bool

func (*VirtualMachineMemory) ProtoMessage

func (*VirtualMachineMemory) ProtoMessage()

func (*VirtualMachineMemory) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *VirtualMachineMemoryStatistics) GetVirtualNodeCount() uint32

func (*VirtualMachineMemoryStatistics) GetVmMemory added in v0.10.0

func (*VirtualMachineMemoryStatistics) GetWorkingSetBytes added in v0.10.0

func (x *VirtualMachineMemoryStatistics) GetWorkingSetBytes() uint64

func (*VirtualMachineMemoryStatistics) ProtoMessage

func (*VirtualMachineMemoryStatistics) ProtoMessage()

func (*VirtualMachineMemoryStatistics) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *VirtualMachineProcessorStatistics) GetTotalRuntimeNS() uint64

func (*VirtualMachineProcessorStatistics) ProtoMessage

func (*VirtualMachineProcessorStatistics) ProtoMessage()

func (*VirtualMachineProcessorStatistics) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (*VirtualMachineStatistics) GetProcessor added in v0.10.0

func (*VirtualMachineStatistics) ProtoMessage

func (*VirtualMachineStatistics) ProtoMessage()

func (*VirtualMachineStatistics) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *WindowsContainerMemoryStatistics) GetMemoryUsageCommitBytes() uint64

func (*WindowsContainerMemoryStatistics) GetMemoryUsageCommitPeakBytes added in v0.10.0

func (x *WindowsContainerMemoryStatistics) GetMemoryUsageCommitPeakBytes() uint64

func (*WindowsContainerMemoryStatistics) GetMemoryUsagePrivateWorkingSetBytes added in v0.10.0

func (x *WindowsContainerMemoryStatistics) GetMemoryUsagePrivateWorkingSetBytes() uint64

func (*WindowsContainerMemoryStatistics) ProtoMessage

func (*WindowsContainerMemoryStatistics) ProtoMessage()

func (*WindowsContainerMemoryStatistics) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *WindowsContainerProcessorStatistics) GetRuntimeKernelNS() uint64

func (*WindowsContainerProcessorStatistics) GetRuntimeUserNS added in v0.10.0

func (x *WindowsContainerProcessorStatistics) GetRuntimeUserNS() uint64

func (*WindowsContainerProcessorStatistics) GetTotalRuntimeNS added in v0.10.0

func (x *WindowsContainerProcessorStatistics) GetTotalRuntimeNS() uint64

func (*WindowsContainerProcessorStatistics) ProtoMessage

func (*WindowsContainerProcessorStatistics) ProtoMessage()

func (*WindowsContainerProcessorStatistics) ProtoReflect added in v0.10.0

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 added in v0.10.0

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

func (*WindowsContainerStatistics) GetMemory added in v0.10.0

func (*WindowsContainerStatistics) GetProcessor added in v0.10.0

func (*WindowsContainerStatistics) GetStorage added in v0.10.0

func (*WindowsContainerStatistics) GetTimestamp added in v0.10.0

func (*WindowsContainerStatistics) GetUptimeNS added in v0.10.0

func (x *WindowsContainerStatistics) GetUptimeNS() uint64

func (*WindowsContainerStatistics) ProtoMessage

func (*WindowsContainerStatistics) ProtoMessage()

func (*WindowsContainerStatistics) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *WindowsContainerStorageStatistics) GetReadCountNormalized() uint64

func (*WindowsContainerStorageStatistics) GetReadSizeBytes added in v0.10.0

func (x *WindowsContainerStorageStatistics) GetReadSizeBytes() uint64

func (*WindowsContainerStorageStatistics) GetWriteCountNormalized added in v0.10.0

func (x *WindowsContainerStorageStatistics) GetWriteCountNormalized() uint64

func (*WindowsContainerStorageStatistics) GetWriteSizeBytes added in v0.10.0

func (x *WindowsContainerStorageStatistics) GetWriteSizeBytes() uint64

func (*WindowsContainerStorageStatistics) ProtoMessage

func (*WindowsContainerStorageStatistics) ProtoMessage()

func (*WindowsContainerStorageStatistics) ProtoReflect added in v0.10.0

func (*WindowsContainerStorageStatistics) Reset

func (*WindowsContainerStorageStatistics) String

Jump to

Keyboard shortcuts

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