var ( ErrInvalidLengthStats = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowStats = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupStats = fmt.Errorf("proto: unexpected end of group") )
type Statistics struct { // Types that are valid to be assigned to Container: // *Statistics_Windows // *Statistics_Linux Container isStatistics_Container `protobuf_oneof:"container"` VM *VirtualMachineStatistics `protobuf:"bytes,3,opt,name=vm,proto3" json:"vm,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Statistics) Descriptor() ([]byte, []int)
func (m *Statistics) GetContainer() isStatistics_Container
func (m *Statistics) GetLinux() *v1.Metrics
func (m *Statistics) GetWindows() *WindowsContainerStatistics
func (m *Statistics) Marshal() (dAtA []byte, err error)
func (m *Statistics) MarshalTo(dAtA []byte) (int, error)
func (m *Statistics) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Statistics) ProtoMessage()
func (m *Statistics) Reset()
func (m *Statistics) Size() (n int)
func (this *Statistics) String() string
func (m *Statistics) Unmarshal(dAtA []byte) error
func (m *Statistics) XXX_DiscardUnknown()
func (m *Statistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Statistics) XXX_Merge(src proto.Message)
func (*Statistics) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (m *Statistics) XXX_Size() int
func (m *Statistics) XXX_Unmarshal(b []byte) error
type Statistics_Linux struct { Linux *v1.Metrics `protobuf:"bytes,2,opt,name=linux,proto3,oneof" json:"linux,omitempty"` }
func (m *Statistics_Linux) MarshalTo(dAtA []byte) (int, error)
func (m *Statistics_Linux) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (m *Statistics_Linux) Size() (n int)
func (this *Statistics_Linux) String() string
type Statistics_Windows struct { Windows *WindowsContainerStatistics `protobuf:"bytes,1,opt,name=windows,proto3,oneof" json:"windows,omitempty"` }
func (m *Statistics_Windows) MarshalTo(dAtA []byte) (int, error)
func (m *Statistics_Windows) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (m *Statistics_Windows) Size() (n int)
func (this *Statistics_Windows) String() string
type VirtualMachineMemory struct { AvailableMemory int32 `protobuf:"varint,1,opt,name=available_memory,json=availableMemory,proto3" json:"available_memory,omitempty"` AvailableMemoryBuffer int32 `protobuf:"varint,2,opt,name=available_memory_buffer,json=availableMemoryBuffer,proto3" json:"available_memory_buffer,omitempty"` 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 `protobuf:"varint,7,opt,name=dm_operation_in_progress,json=dmOperationInProgress,proto3" json:"dm_operation_in_progress,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VirtualMachineMemory) Descriptor() ([]byte, []int)
func (m *VirtualMachineMemory) Marshal() (dAtA []byte, err error)
func (m *VirtualMachineMemory) MarshalTo(dAtA []byte) (int, error)
func (m *VirtualMachineMemory) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VirtualMachineMemory) ProtoMessage()
func (m *VirtualMachineMemory) Reset()
func (m *VirtualMachineMemory) Size() (n int)
func (this *VirtualMachineMemory) String() string
func (m *VirtualMachineMemory) Unmarshal(dAtA []byte) error
func (m *VirtualMachineMemory) XXX_DiscardUnknown()
func (m *VirtualMachineMemory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *VirtualMachineMemory) XXX_Merge(src proto.Message)
func (m *VirtualMachineMemory) XXX_Size() int
func (m *VirtualMachineMemory) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VirtualMachineMemoryStatistics) Descriptor() ([]byte, []int)
func (m *VirtualMachineMemoryStatistics) Marshal() (dAtA []byte, err error)
func (m *VirtualMachineMemoryStatistics) MarshalTo(dAtA []byte) (int, error)
func (m *VirtualMachineMemoryStatistics) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VirtualMachineMemoryStatistics) ProtoMessage()
func (m *VirtualMachineMemoryStatistics) Reset()
func (m *VirtualMachineMemoryStatistics) Size() (n int)
func (this *VirtualMachineMemoryStatistics) String() string
func (m *VirtualMachineMemoryStatistics) Unmarshal(dAtA []byte) error
func (m *VirtualMachineMemoryStatistics) XXX_DiscardUnknown()
func (m *VirtualMachineMemoryStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *VirtualMachineMemoryStatistics) XXX_Merge(src proto.Message)
func (m *VirtualMachineMemoryStatistics) XXX_Size() int
func (m *VirtualMachineMemoryStatistics) XXX_Unmarshal(b []byte) error
type VirtualMachineProcessorStatistics struct { TotalRuntimeNS uint64 `protobuf:"varint,1,opt,name=total_runtime_ns,json=totalRuntimeNs,proto3" json:"total_runtime_ns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VirtualMachineProcessorStatistics) Descriptor() ([]byte, []int)
func (m *VirtualMachineProcessorStatistics) Marshal() (dAtA []byte, err error)
func (m *VirtualMachineProcessorStatistics) MarshalTo(dAtA []byte) (int, error)
func (m *VirtualMachineProcessorStatistics) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VirtualMachineProcessorStatistics) ProtoMessage()
func (m *VirtualMachineProcessorStatistics) Reset()
func (m *VirtualMachineProcessorStatistics) Size() (n int)
func (this *VirtualMachineProcessorStatistics) String() string
func (m *VirtualMachineProcessorStatistics) Unmarshal(dAtA []byte) error
func (m *VirtualMachineProcessorStatistics) XXX_DiscardUnknown()
func (m *VirtualMachineProcessorStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *VirtualMachineProcessorStatistics) XXX_Merge(src proto.Message)
func (m *VirtualMachineProcessorStatistics) XXX_Size() int
func (m *VirtualMachineProcessorStatistics) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VirtualMachineStatistics) Descriptor() ([]byte, []int)
func (m *VirtualMachineStatistics) Marshal() (dAtA []byte, err error)
func (m *VirtualMachineStatistics) MarshalTo(dAtA []byte) (int, error)
func (m *VirtualMachineStatistics) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VirtualMachineStatistics) ProtoMessage()
func (m *VirtualMachineStatistics) Reset()
func (m *VirtualMachineStatistics) Size() (n int)
func (this *VirtualMachineStatistics) String() string
func (m *VirtualMachineStatistics) Unmarshal(dAtA []byte) error
func (m *VirtualMachineStatistics) XXX_DiscardUnknown()
func (m *VirtualMachineStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *VirtualMachineStatistics) XXX_Merge(src proto.Message)
func (m *VirtualMachineStatistics) XXX_Size() int
func (m *VirtualMachineStatistics) XXX_Unmarshal(b []byte) error
type WindowsContainerMemoryStatistics struct { MemoryUsageCommitBytes uint64 `protobuf:"varint,1,opt,name=memory_usage_commit_bytes,json=memoryUsageCommitBytes,proto3" json:"memory_usage_commit_bytes,omitempty"` MemoryUsageCommitPeakBytes uint64 `protobuf:"varint,2,opt,name=memory_usage_commit_peak_bytes,json=memoryUsageCommitPeakBytes,proto3" json:"memory_usage_commit_peak_bytes,omitempty"` MemoryUsagePrivateWorkingSetBytes uint64 `protobuf:"varint,3,opt,name=memory_usage_private_working_set_bytes,json=memoryUsagePrivateWorkingSetBytes,proto3" json:"memory_usage_private_working_set_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WindowsContainerMemoryStatistics) Descriptor() ([]byte, []int)
func (m *WindowsContainerMemoryStatistics) Marshal() (dAtA []byte, err error)
func (m *WindowsContainerMemoryStatistics) MarshalTo(dAtA []byte) (int, error)
func (m *WindowsContainerMemoryStatistics) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WindowsContainerMemoryStatistics) ProtoMessage()
func (m *WindowsContainerMemoryStatistics) Reset()
func (m *WindowsContainerMemoryStatistics) Size() (n int)
func (this *WindowsContainerMemoryStatistics) String() string
func (m *WindowsContainerMemoryStatistics) Unmarshal(dAtA []byte) error
func (m *WindowsContainerMemoryStatistics) XXX_DiscardUnknown()
func (m *WindowsContainerMemoryStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *WindowsContainerMemoryStatistics) XXX_Merge(src proto.Message)
func (m *WindowsContainerMemoryStatistics) XXX_Size() int
func (m *WindowsContainerMemoryStatistics) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WindowsContainerProcessorStatistics) Descriptor() ([]byte, []int)
func (m *WindowsContainerProcessorStatistics) Marshal() (dAtA []byte, err error)
func (m *WindowsContainerProcessorStatistics) MarshalTo(dAtA []byte) (int, error)
func (m *WindowsContainerProcessorStatistics) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WindowsContainerProcessorStatistics) ProtoMessage()
func (m *WindowsContainerProcessorStatistics) Reset()
func (m *WindowsContainerProcessorStatistics) Size() (n int)
func (this *WindowsContainerProcessorStatistics) String() string
func (m *WindowsContainerProcessorStatistics) Unmarshal(dAtA []byte) error
func (m *WindowsContainerProcessorStatistics) XXX_DiscardUnknown()
func (m *WindowsContainerProcessorStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *WindowsContainerProcessorStatistics) XXX_Merge(src proto.Message)
func (m *WindowsContainerProcessorStatistics) XXX_Size() int
func (m *WindowsContainerProcessorStatistics) XXX_Unmarshal(b []byte) error
type WindowsContainerStatistics struct { Timestamp time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,stdtime" json:"timestamp"` ContainerStartTime time.Time `protobuf:"bytes,2,opt,name=container_start_time,json=containerStartTime,proto3,stdtime" json:"container_start_time"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WindowsContainerStatistics) Descriptor() ([]byte, []int)
func (m *WindowsContainerStatistics) Marshal() (dAtA []byte, err error)
func (m *WindowsContainerStatistics) MarshalTo(dAtA []byte) (int, error)
func (m *WindowsContainerStatistics) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WindowsContainerStatistics) ProtoMessage()
func (m *WindowsContainerStatistics) Reset()
func (m *WindowsContainerStatistics) Size() (n int)
func (this *WindowsContainerStatistics) String() string
func (m *WindowsContainerStatistics) Unmarshal(dAtA []byte) error
func (m *WindowsContainerStatistics) XXX_DiscardUnknown()
func (m *WindowsContainerStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *WindowsContainerStatistics) XXX_Merge(src proto.Message)
func (m *WindowsContainerStatistics) XXX_Size() int
func (m *WindowsContainerStatistics) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WindowsContainerStorageStatistics) Descriptor() ([]byte, []int)
func (m *WindowsContainerStorageStatistics) Marshal() (dAtA []byte, err error)
func (m *WindowsContainerStorageStatistics) MarshalTo(dAtA []byte) (int, error)
func (m *WindowsContainerStorageStatistics) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WindowsContainerStorageStatistics) ProtoMessage()
func (m *WindowsContainerStorageStatistics) Reset()
func (m *WindowsContainerStorageStatistics) Size() (n int)
func (this *WindowsContainerStorageStatistics) String() string
func (m *WindowsContainerStorageStatistics) Unmarshal(dAtA []byte) error
func (m *WindowsContainerStorageStatistics) XXX_DiscardUnknown()
func (m *WindowsContainerStorageStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *WindowsContainerStorageStatistics) XXX_Merge(src proto.Message)
func (m *WindowsContainerStorageStatistics) XXX_Size() int
func (m *WindowsContainerStorageStatistics) XXX_Unmarshal(b []byte) error