open-nomad/client/serviceregistration
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
..
checks cleanup more helper updates (#14638) 2022-09-21 14:53:25 -05:00
mock client: refactor common service registration objects from Consul. 2022-03-15 09:38:30 +01:00
nsd cleanup: create interface for check watcher and mock it in nsd tests (#14577) 2022-09-14 08:25:20 -05:00
wrapper client: modify service wrapper to accomodate restore behaviour. 2022-03-21 09:49:39 +01:00
address.go services: cr followup 2022-04-22 09:14:29 -05:00
address_test.go services: enable setting arbitrary address value in service registrations 2022-04-22 09:14:29 -05:00
id.go client: refactor common service registration objects from Consul. 2022-03-15 09:38:30 +01:00
id_test.go client: refactor common service registration objects from Consul. 2022-03-15 09:38:30 +01:00
service_registration.go cleanup more helper updates (#14638) 2022-09-21 14:53:25 -05:00
service_registration_test.go client: refactor common service registration objects from Consul. 2022-03-15 09:38:30 +01:00
watcher.go cleanup: create interface for check watcher and mock it in nsd tests (#14577) 2022-09-14 08:25:20 -05:00
watcher_test.go cleanup: create interface for check watcher and mock it in nsd tests (#14577) 2022-09-14 08:25:20 -05:00
workload.go client: refactor common service registration objects from Consul. 2022-03-15 09:38:30 +01:00
workload_test.go client: refactor common service registration objects from Consul. 2022-03-15 09:38:30 +01:00