Commit Graph

15 Commits

Author SHA1 Message Date
Maciej "Iwan" Iwanowski
750d7c866b
gofmt must be checked too
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-23 23:09:04 +02:00
Maciej "Iwan" Iwanowski
185412fa1a
Always using interface and improving tests
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-23 22:53:41 +02:00
Maciej "Iwan" Iwanowski
2af8b4215a
Using interface instead of unexported struct as returned type
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-23 20:52:07 +02:00
iwankgb
854445c010
Carefully fixing style (#2509)
* Use golangci-lint to add lint presubmit test, and fix linter errors

Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-22 16:26:36 -07:00
iwankgb
0dd4098374
golanci-lint based cleanup (#2503)
* Cleanups based on linter

Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-20 10:53:19 -07:00
Lei Xue
dbbe38dfed re-order the import package 2015-11-30 16:43:22 +08:00
Rohit Jnagal
06c9dcd3bb Fix handling of time ranges in timed store.
The current logic assumes that entries are added to the store in
monotonically increasing order for time. This is not true when
we add creation events for existing containers.
2015-05-07 16:44:22 +00:00
Victor Marmol
28dfea761c Add events StoragePolicy. 2015-05-01 10:42:17 -07:00
Victor Marmol
734df4d18c Place an absolute limit on elements in TimedStore. 2015-05-01 00:03:41 -07:00
Victor Marmol
62d670d386 Limit the number of events stored to 24h.
There is a TODO to make this configurable.
2015-04-25 18:04:52 -07:00
Victor Marmol
f0ea740328 Fix subcontainer queries in subcontainers.
Queries for root were not being correctly diagnosed.
2015-04-21 08:22:47 -07:00
Rohit Jnagal
bfdabe84ff Readability changes for events.
Ordered structs around a bit and updated comments.
2015-04-06 06:22:31 +00:00
Victor Marmol
4cb69036f8 Move Event to info since it is a public API object. 2015-04-01 09:17:43 -07:00
Katie Knister
3c7e67991d Created a way to remove unused channels from an eventHandler's watchers list 2015-03-25 16:36:48 -07:00
Katie Knister
97a6836f89 Created an events handler library 2015-02-18 11:40:15 -08:00