stats

package
v0.0.0-...-2393a11 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthStats = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStats   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Statistics

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

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

func (*Statistics) GetContainer

func (m *Statistics) GetContainer() isStatistics_Container

func (*Statistics) GetLinux

func (m *Statistics) GetLinux() *v1.Metrics

func (*Statistics) GetWindows

func (m *Statistics) GetWindows() *WindowsContainerStatistics

func (*Statistics) Marshal

func (m *Statistics) Marshal() (dAtA []byte, err error)

func (*Statistics) MarshalTo

func (m *Statistics) MarshalTo(dAtA []byte) (int, error)

func (*Statistics) ProtoMessage

func (*Statistics) ProtoMessage()

func (*Statistics) Reset

func (m *Statistics) Reset()

func (*Statistics) Size

func (m *Statistics) Size() (n int)

func (*Statistics) String

func (this *Statistics) String() string

func (*Statistics) Unmarshal

func (m *Statistics) Unmarshal(dAtA []byte) error

func (*Statistics) XXX_DiscardUnknown

func (m *Statistics) XXX_DiscardUnknown()

func (*Statistics) XXX_Marshal

func (m *Statistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Statistics) XXX_Merge

func (m *Statistics) XXX_Merge(src proto.Message)

func (*Statistics) XXX_OneofFuncs

func (*Statistics) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Statistics) XXX_Size

func (m *Statistics) XXX_Size() int

func (*Statistics) XXX_Unmarshal

func (m *Statistics) XXX_Unmarshal(b []byte) error

type Statistics_Linux

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

func (*Statistics_Linux) MarshalTo

func (m *Statistics_Linux) MarshalTo(dAtA []byte) (int, error)

func (*Statistics_Linux) Size

func (m *Statistics_Linux) Size() (n int)

func (*Statistics_Linux) String

func (this *Statistics_Linux) String() string

type Statistics_Windows

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

func (*Statistics_Windows) MarshalTo

func (m *Statistics_Windows) MarshalTo(dAtA []byte) (int, error)

func (*Statistics_Windows) Size

func (m *Statistics_Windows) Size() (n int)

func (*Statistics_Windows) String

func (this *Statistics_Windows) String() string

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 */
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (*VirtualMachineMemory) Descriptor

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

func (*VirtualMachineMemory) Marshal

func (m *VirtualMachineMemory) Marshal() (dAtA []byte, err error)

func (*VirtualMachineMemory) MarshalTo

func (m *VirtualMachineMemory) MarshalTo(dAtA []byte) (int, error)

func (*VirtualMachineMemory) ProtoMessage

func (*VirtualMachineMemory) ProtoMessage()

func (*VirtualMachineMemory) Reset

func (m *VirtualMachineMemory) Reset()

func (*VirtualMachineMemory) Size

func (m *VirtualMachineMemory) Size() (n int)

func (*VirtualMachineMemory) String

func (this *VirtualMachineMemory) String() string

func (*VirtualMachineMemory) Unmarshal

func (m *VirtualMachineMemory) Unmarshal(dAtA []byte) error

func (*VirtualMachineMemory) XXX_DiscardUnknown

func (m *VirtualMachineMemory) XXX_DiscardUnknown()

func (*VirtualMachineMemory) XXX_Marshal

func (m *VirtualMachineMemory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualMachineMemory) XXX_Merge

func (m *VirtualMachineMemory) XXX_Merge(src proto.Message)

func (*VirtualMachineMemory) XXX_Size

func (m *VirtualMachineMemory) XXX_Size() int

func (*VirtualMachineMemory) XXX_Unmarshal

func (m *VirtualMachineMemory) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*VirtualMachineMemoryStatistics) Descriptor

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

func (*VirtualMachineMemoryStatistics) Marshal

func (m *VirtualMachineMemoryStatistics) Marshal() (dAtA []byte, err error)

func (*VirtualMachineMemoryStatistics) MarshalTo

func (m *VirtualMachineMemoryStatistics) MarshalTo(dAtA []byte) (int, error)

func (*VirtualMachineMemoryStatistics) ProtoMessage

func (*VirtualMachineMemoryStatistics) ProtoMessage()

func (*VirtualMachineMemoryStatistics) Reset

func (m *VirtualMachineMemoryStatistics) Reset()

func (*VirtualMachineMemoryStatistics) Size

func (m *VirtualMachineMemoryStatistics) Size() (n int)

func (*VirtualMachineMemoryStatistics) String

func (this *VirtualMachineMemoryStatistics) String() string

func (*VirtualMachineMemoryStatistics) Unmarshal

func (m *VirtualMachineMemoryStatistics) Unmarshal(dAtA []byte) error

func (*VirtualMachineMemoryStatistics) XXX_DiscardUnknown

func (m *VirtualMachineMemoryStatistics) XXX_DiscardUnknown()

func (*VirtualMachineMemoryStatistics) XXX_Marshal

func (m *VirtualMachineMemoryStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualMachineMemoryStatistics) XXX_Merge

func (m *VirtualMachineMemoryStatistics) XXX_Merge(src proto.Message)

func (*VirtualMachineMemoryStatistics) XXX_Size

func (m *VirtualMachineMemoryStatistics) XXX_Size() int

func (*VirtualMachineMemoryStatistics) XXX_Unmarshal

func (m *VirtualMachineMemoryStatistics) XXX_Unmarshal(b []byte) error

type VirtualMachineProcessorStatistics

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

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

func (*VirtualMachineProcessorStatistics) Marshal

func (m *VirtualMachineProcessorStatistics) Marshal() (dAtA []byte, err error)

func (*VirtualMachineProcessorStatistics) MarshalTo

func (m *VirtualMachineProcessorStatistics) MarshalTo(dAtA []byte) (int, error)

func (*VirtualMachineProcessorStatistics) ProtoMessage

func (*VirtualMachineProcessorStatistics) ProtoMessage()

func (*VirtualMachineProcessorStatistics) Reset

func (*VirtualMachineProcessorStatistics) Size

func (m *VirtualMachineProcessorStatistics) Size() (n int)

func (*VirtualMachineProcessorStatistics) String

func (*VirtualMachineProcessorStatistics) Unmarshal

func (m *VirtualMachineProcessorStatistics) Unmarshal(dAtA []byte) error

func (*VirtualMachineProcessorStatistics) XXX_DiscardUnknown

func (m *VirtualMachineProcessorStatistics) XXX_DiscardUnknown()

func (*VirtualMachineProcessorStatistics) XXX_Marshal

func (m *VirtualMachineProcessorStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualMachineProcessorStatistics) XXX_Merge

func (*VirtualMachineProcessorStatistics) XXX_Size

func (m *VirtualMachineProcessorStatistics) XXX_Size() int

func (*VirtualMachineProcessorStatistics) XXX_Unmarshal

func (m *VirtualMachineProcessorStatistics) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*VirtualMachineStatistics) Descriptor

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

func (*VirtualMachineStatistics) Marshal

func (m *VirtualMachineStatistics) Marshal() (dAtA []byte, err error)

func (*VirtualMachineStatistics) MarshalTo

func (m *VirtualMachineStatistics) MarshalTo(dAtA []byte) (int, error)

func (*VirtualMachineStatistics) ProtoMessage

func (*VirtualMachineStatistics) ProtoMessage()

func (*VirtualMachineStatistics) Reset

func (m *VirtualMachineStatistics) Reset()

func (*VirtualMachineStatistics) Size

func (m *VirtualMachineStatistics) Size() (n int)

func (*VirtualMachineStatistics) String

func (this *VirtualMachineStatistics) String() string

func (*VirtualMachineStatistics) Unmarshal

func (m *VirtualMachineStatistics) Unmarshal(dAtA []byte) error

func (*VirtualMachineStatistics) XXX_DiscardUnknown

func (m *VirtualMachineStatistics) XXX_DiscardUnknown()

func (*VirtualMachineStatistics) XXX_Marshal

func (m *VirtualMachineStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualMachineStatistics) XXX_Merge

func (m *VirtualMachineStatistics) XXX_Merge(src proto.Message)

func (*VirtualMachineStatistics) XXX_Size

func (m *VirtualMachineStatistics) XXX_Size() int

func (*VirtualMachineStatistics) XXX_Unmarshal

func (m *VirtualMachineStatistics) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral              struct{} `json:"-"`
	XXX_unrecognized                  []byte   `json:"-"`
	XXX_sizecache                     int32    `json:"-"`
}

func (*WindowsContainerMemoryStatistics) Descriptor

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

func (*WindowsContainerMemoryStatistics) Marshal

func (m *WindowsContainerMemoryStatistics) Marshal() (dAtA []byte, err error)

func (*WindowsContainerMemoryStatistics) MarshalTo

func (m *WindowsContainerMemoryStatistics) MarshalTo(dAtA []byte) (int, error)

func (*WindowsContainerMemoryStatistics) ProtoMessage

func (*WindowsContainerMemoryStatistics) ProtoMessage()

func (*WindowsContainerMemoryStatistics) Reset

func (*WindowsContainerMemoryStatistics) Size

func (m *WindowsContainerMemoryStatistics) Size() (n int)

func (*WindowsContainerMemoryStatistics) String

func (*WindowsContainerMemoryStatistics) Unmarshal

func (m *WindowsContainerMemoryStatistics) Unmarshal(dAtA []byte) error

func (*WindowsContainerMemoryStatistics) XXX_DiscardUnknown

func (m *WindowsContainerMemoryStatistics) XXX_DiscardUnknown()

func (*WindowsContainerMemoryStatistics) XXX_Marshal

func (m *WindowsContainerMemoryStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsContainerMemoryStatistics) XXX_Merge

func (*WindowsContainerMemoryStatistics) XXX_Size

func (m *WindowsContainerMemoryStatistics) XXX_Size() int

func (*WindowsContainerMemoryStatistics) XXX_Unmarshal

func (m *WindowsContainerMemoryStatistics) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WindowsContainerProcessorStatistics) Descriptor

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

func (*WindowsContainerProcessorStatistics) Marshal

func (m *WindowsContainerProcessorStatistics) Marshal() (dAtA []byte, err error)

func (*WindowsContainerProcessorStatistics) MarshalTo

func (m *WindowsContainerProcessorStatistics) MarshalTo(dAtA []byte) (int, error)

func (*WindowsContainerProcessorStatistics) ProtoMessage

func (*WindowsContainerProcessorStatistics) ProtoMessage()

func (*WindowsContainerProcessorStatistics) Reset

func (*WindowsContainerProcessorStatistics) Size

func (*WindowsContainerProcessorStatistics) String

func (*WindowsContainerProcessorStatistics) Unmarshal

func (m *WindowsContainerProcessorStatistics) Unmarshal(dAtA []byte) error

func (*WindowsContainerProcessorStatistics) XXX_DiscardUnknown

func (m *WindowsContainerProcessorStatistics) XXX_DiscardUnknown()

func (*WindowsContainerProcessorStatistics) XXX_Marshal

func (m *WindowsContainerProcessorStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsContainerProcessorStatistics) XXX_Merge

func (*WindowsContainerProcessorStatistics) XXX_Size

func (*WindowsContainerProcessorStatistics) XXX_Unmarshal

func (m *WindowsContainerProcessorStatistics) XXX_Unmarshal(b []byte) error

type WindowsContainerStatistics

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

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

func (*WindowsContainerStatistics) Marshal

func (m *WindowsContainerStatistics) Marshal() (dAtA []byte, err error)

func (*WindowsContainerStatistics) MarshalTo

func (m *WindowsContainerStatistics) MarshalTo(dAtA []byte) (int, error)

func (*WindowsContainerStatistics) ProtoMessage

func (*WindowsContainerStatistics) ProtoMessage()

func (*WindowsContainerStatistics) Reset

func (m *WindowsContainerStatistics) Reset()

func (*WindowsContainerStatistics) Size

func (m *WindowsContainerStatistics) Size() (n int)

func (*WindowsContainerStatistics) String

func (this *WindowsContainerStatistics) String() string

func (*WindowsContainerStatistics) Unmarshal

func (m *WindowsContainerStatistics) Unmarshal(dAtA []byte) error

func (*WindowsContainerStatistics) XXX_DiscardUnknown

func (m *WindowsContainerStatistics) XXX_DiscardUnknown()

func (*WindowsContainerStatistics) XXX_Marshal

func (m *WindowsContainerStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsContainerStatistics) XXX_Merge

func (m *WindowsContainerStatistics) XXX_Merge(src proto.Message)

func (*WindowsContainerStatistics) XXX_Size

func (m *WindowsContainerStatistics) XXX_Size() int

func (*WindowsContainerStatistics) XXX_Unmarshal

func (m *WindowsContainerStatistics) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WindowsContainerStorageStatistics) Descriptor

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

func (*WindowsContainerStorageStatistics) Marshal

func (m *WindowsContainerStorageStatistics) Marshal() (dAtA []byte, err error)

func (*WindowsContainerStorageStatistics) MarshalTo

func (m *WindowsContainerStorageStatistics) MarshalTo(dAtA []byte) (int, error)

func (*WindowsContainerStorageStatistics) ProtoMessage

func (*WindowsContainerStorageStatistics) ProtoMessage()

func (*WindowsContainerStorageStatistics) Reset

func (*WindowsContainerStorageStatistics) Size

func (m *WindowsContainerStorageStatistics) Size() (n int)

func (*WindowsContainerStorageStatistics) String

func (*WindowsContainerStorageStatistics) Unmarshal

func (m *WindowsContainerStorageStatistics) Unmarshal(dAtA []byte) error

func (*WindowsContainerStorageStatistics) XXX_DiscardUnknown

func (m *WindowsContainerStorageStatistics) XXX_DiscardUnknown()

func (*WindowsContainerStorageStatistics) XXX_Marshal

func (m *WindowsContainerStorageStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsContainerStorageStatistics) XXX_Merge

func (*WindowsContainerStorageStatistics) XXX_Size

func (m *WindowsContainerStorageStatistics) XXX_Size() int

func (*WindowsContainerStorageStatistics) XXX_Unmarshal

func (m *WindowsContainerStorageStatistics) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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