Documentation ¶
Overview ¶
Package ksrapi is a generated protocol buffer package.
Package ksrapi defines the data model for KSR plugin's northbound API.
It is generated from these files:
ksr_nb_api.proto
It has these top-level messages:
KsrStats Stats
Index ¶
- func Key(metric string) string
- type KsrStats
- func (*KsrStats) Descriptor() ([]byte, []int)
- func (m *KsrStats) GetAddErrors() uint64
- func (m *KsrStats) GetAdds() uint64
- func (m *KsrStats) GetArgErrors() uint64
- func (m *KsrStats) GetDelErrors() uint64
- func (m *KsrStats) GetDeletes() uint64
- func (m *KsrStats) GetResErrors() uint64
- func (m *KsrStats) GetResyncs() uint64
- func (m *KsrStats) GetUpdErrors() uint64
- func (m *KsrStats) GetUpdates() uint64
- func (*KsrStats) ProtoMessage()
- func (m *KsrStats) Reset()
- func (m *KsrStats) String() string
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)
- func (m *Stats) GetEndpointsStats() *KsrStats
- func (m *Stats) GetNamespaceStats() *KsrStats
- func (m *Stats) GetNodeStats() *KsrStats
- func (m *Stats) GetPodStats() *KsrStats
- func (m *Stats) GetPolicyStats() *KsrStats
- func (m *Stats) GetServiceStats() *KsrStats
- func (*Stats) ProtoMessage()
- func (m *Stats) Reset()
- func (m *Stats) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KsrStats ¶
type KsrStats struct { // Number of add operations. Adds uint64 `protobuf:"varint,1,opt,name=Adds" json:"Adds,omitempty"` // Number of delete operations. Updates uint64 `protobuf:"varint,2,opt,name=Updates" json:"Updates,omitempty"` // Number of delete operations. Deletes uint64 `protobuf:"varint,3,opt,name=Deletes" json:"Deletes,omitempty"` // Number of data store resync runs. Resyncs uint64 `protobuf:"varint,4,opt,name=Resyncs" json:"Resyncs,omitempty"` // Number of add operation errors. AddErrors uint64 `protobuf:"varint,5,opt,name=AddErrors" json:"AddErrors,omitempty"` // Number of delete operation errors. UpdErrors uint64 `protobuf:"varint,6,opt,name=UpdErrors" json:"UpdErrors,omitempty"` // Number of delete operation errors. DelErrors uint64 `protobuf:"varint,7,opt,name=DelErrors" json:"DelErrors,omitempty"` // Number of operations where one or more arguments were invalid. ArgErrors uint64 `protobuf:"varint,8,opt,name=ArgErrors" json:"ArgErrors,omitempty"` // Number of of data store resync errors. ResErrors uint64 `protobuf:"varint,9,opt,name=ResErrors" json:"ResErrors,omitempty"` }
KsrStats holds statistics for an individual KSR type
func (*KsrStats) Descriptor ¶
func (*KsrStats) GetAddErrors ¶
func (*KsrStats) GetArgErrors ¶
func (*KsrStats) GetDelErrors ¶
func (*KsrStats) GetDeletes ¶
func (*KsrStats) GetResErrors ¶
func (*KsrStats) GetResyncs ¶
func (*KsrStats) GetUpdErrors ¶
func (*KsrStats) GetUpdates ¶
func (*KsrStats) ProtoMessage ¶
func (*KsrStats) ProtoMessage()
type Stats ¶
type Stats struct { // Statistics for the Namespace Reflector NamespaceStats *KsrStats `protobuf:"bytes,1,opt,name=namespaceStats" json:"namespaceStats,omitempty"` // Statistics for the Pod Reflector PodStats *KsrStats `protobuf:"bytes,2,opt,name=podStats" json:"podStats,omitempty"` // Statistics for the Network Policy Reflector PolicyStats *KsrStats `protobuf:"bytes,3,opt,name=policyStats" json:"policyStats,omitempty"` // Statistics for the Endpoints Reflector EndpointsStats *KsrStats `protobuf:"bytes,4,opt,name=endpointsStats" json:"endpointsStats,omitempty"` // Statistics for the Service Reflector ServiceStats *KsrStats `protobuf:"bytes,5,opt,name=serviceStats" json:"serviceStats,omitempty"` // Statistics for the Node Reflector NodeStats *KsrStats `protobuf:"bytes,6,opt,name=nodeStats" json:"nodeStats,omitempty"` }
Stats holds aggregated statistics for all KSR types in the KSR process.
func (*Stats) Descriptor ¶
func (*Stats) GetEndpointsStats ¶
func (*Stats) GetNamespaceStats ¶
func (*Stats) GetNodeStats ¶
func (*Stats) GetPodStats ¶
func (*Stats) GetPolicyStats ¶
func (*Stats) GetServiceStats ¶
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.