Documentation
¶
Index ¶
- type MetricsCache
- type PodCache
- func (c *PodCache) Cleanup()
- func (c *PodCache) Delete(podUID types.UID)
- func (c *PodCache) GetAll() []*corev1.Pod
- func (c *PodCache) GetByID(podUID types.UID) (*corev1.Pod, bool)
- func (c *PodCache) GetByName(namespace, name string) (*corev1.Pod, bool)
- func (c *PodCache) IsDeletedInRemote(podUID types.UID) bool
- func (c *PodCache) MarkDeletedInRemote(podUID types.UID, deleted bool)
- func (c *PodCache) Update(pod *corev1.Pod)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsCache ¶
type MetricsCache struct {
// contains filtered or unexported fields
}
func NewMetricsCache ¶
func NewMetricsCache() *MetricsCache
func (*MetricsCache) Get ¶
func (c *MetricsCache) Get() []*dto.MetricFamily
func (*MetricsCache) Update ¶
func (c *MetricsCache) Update(metricsBytes []byte) error
Click to show internal directories.
Click to hide internal directories.