James Rasell
ab9ba35e6a
chore: fixup inconsistent method receiver names. ( #11704 )
2021-12-20 11:44:21 +01:00
James Rasell
3bffe443ac
chore: fix incorrect docstring formatting.
2021-08-30 11:08:12 +02:00
Nick Ethier
85f6a56c6f
lib/cpuset: add String and ContainsAny helpers
2021-04-13 13:28:36 -04:00
Nick Ethier
94c7aec159
scheduler: implement scheduling of reserved cores
2021-03-19 00:29:07 -04:00
Nick Ethier
b1041a164c
structs: add struct fields and funcs for reservable cpu cores
2021-03-18 22:49:06 -04:00
Kris Hicks
071f4c7596
Add gocritic to golangci-lint config ( #9556 )
2020-12-08 12:47:04 -08:00
Seth Hoenig
15fb4c990a
deps: Switch to Go modules for dependency management
...
This PR switches the Nomad repository from using govendor to Go modules
for managing dependencies. Aspects of the Nomad workflow remain pretty
much the same. The usual Makefile targets should continue to work as
they always did. The API submodule simply defers to the parent Nomad
version on the repository, keeping the semantics of API versioning that
currently exists.
2020-06-02 14:30:36 -05:00
Nick Ethier
d6ada19db1
circbufwritter: add defer to stop ticker in flush loop
2019-01-28 14:33:20 -05:00
Nick Ethier
160cdf8059
circbufwriter: defer unlock in Write since it will not block
2019-01-28 12:15:12 -05:00
Nick Ethier
c6cc1e62e7
circbufwriter: Add tests
2019-01-28 12:04:41 -05:00
Nick Ethier
6837a73708
add circbufwriter package
2019-01-28 11:35:21 -05:00
Preetha Appan
a2284d0f3e
code review feedback
2018-09-04 16:10:11 -05:00
Preetha Appan
d40338c8b9
Move topk and delay heap to separate packages under lib
2018-09-04 16:10:11 -05:00
Preetha Appan
f57f5865bb
Move delayheap to lib package
2018-03-14 16:10:32 -05:00