open-nomad/client/state
Seth Hoenig 2088ca3345
cleanup more helper updates (#14638)
* cleanup: refactor MapStringStringSliceValueSet to be cleaner

* cleanup: replace SliceStringToSet with actual set

* cleanup: replace SliceStringSubset with real set

* cleanup: replace SliceStringContains with slices.Contains

* cleanup: remove unused function SliceStringHasPrefix

* cleanup: fixup StringHasPrefixInSlice doc string

* cleanup: refactor SliceSetDisjoint to use real set

* cleanup: replace CompareSliceSetString with SliceSetEq

* cleanup: replace CompareMapStringString with maps.Equal

* cleanup: replace CopyMapStringString with CopyMap

* cleanup: replace CopyMapStringInterface with CopyMap

* cleanup: fixup more CopyMapStringString and CopyMapStringInt

* cleanup: replace CopySliceString with slices.Clone

* cleanup: remove unused CopySliceInt

* cleanup: refactor CopyMapStringSliceString to be generic as CopyMapOfSlice

* cleanup: replace CopyMap with maps.Clone

* cleanup: run go mod tidy
2022-09-21 14:53:25 -05:00
..
testdata CSI: allow for concurrent plugin allocations (#12078) 2022-02-23 15:23:07 -05:00
08types.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
12types.go CSI: allow for concurrent plugin allocations (#12078) 2022-02-23 15:23:07 -05:00
db_bolt.go client: add support for checks in nomad services 2022-07-12 17:09:50 -05:00
db_error.go client: add support for checks in nomad services 2022-07-12 17:09:50 -05:00
db_mem.go cleanup more helper updates (#14638) 2022-09-21 14:53:25 -05:00
db_noop.go client: add support for checks in nomad services 2022-07-12 17:09:50 -05:00
db_test.go client: add support for checks in nomad services 2022-07-12 17:09:50 -05:00
interface.go client: add support for checks in nomad services 2022-07-12 17:09:50 -05:00
upgrade.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
upgrade_int_test.go test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
upgrade_test.go test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00