Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { GetPodByIPAndTime(ip string, startTime time.Time) (*corev1.Pod, bool) Run(stopCh <-chan struct{}) }
Interface is a podStore interface to create local podStore for Flow Exporter and Flow Aggregator.
type PodStore ¶
type PodStore struct {
// contains filtered or unexported fields
}
func NewPodStore ¶
func NewPodStore(podInformer cache.SharedIndexInformer) *PodStore
func NewPodStoreWithClock ¶
func NewPodStoreWithClock(podInformer cache.SharedIndexInformer, clock clock.WithTicker) *PodStore
NewPodStoreWithClock creates a Pod Store with a custom clock, which is useful when writing robust unit tests.
func (*PodStore) GetPodByIPAndTime ¶
Click to show internal directories.
Click to hide internal directories.