package winstats
import "k8s.io/kubernetes/pkg/kubelet/winstats"
Package winstats provides a client to get node and pod level stats on windows
Index ¶
Types ¶
type Client ¶
type Client interface { WinContainerInfos() (map[string]cadvisorapiv2.ContainerInfo, error) WinMachineInfo() (*cadvisorapi.MachineInfo, error) WinVersionInfo() (*cadvisorapi.VersionInfo, error) }
Client is an interface that is used to get stats information.
func NewPerfCounterClient ¶
NewPerfCounterClient creates a client using perf counters
type MemoryStatusEx ¶
type MemoryStatusEx struct { Length uint32 MemoryLoad uint32 TotalPhys uint64 AvailPhys uint64 TotalPageFile uint64 AvailPageFile uint64 TotalVirtual uint64 AvailVirtual uint64 AvailExtendedVirtual uint64 }
MemoryStatusEx is the same as Windows structure MEMORYSTATUSEX https://msdn.microsoft.com/en-us/library/windows/desktop/aa366770(v=vs.85).aspx
Source Files ¶
perfcounter_nodestats.go perfcounters.go version.go winstats.go
- Version
- v1.9.5
- Published
- Mar 17, 2018
- Platform
- windows/amd64
- Imports
- 13 packages
- Last checked
- 3 minutes ago –
Tools for package owners.