open-nomad/client/pluginmanager/csimanager
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
..
doc.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
fingerprint.go cleanup more helper updates (#14638) 2022-09-21 14:53:25 -05:00
fingerprint_test.go csi: annotate remaining missing cancellation contexts (#7552) 2020-03-30 16:46:43 -04:00
instance.go CSI: make gRPC client creation more robust (#12057) 2022-02-15 16:57:29 -05:00
instance_test.go csi: checkpoint volume claim garbage collection (#7782) 2020-04-23 11:06:23 -04:00
interface.go CSI: use AccessMode/AttachmentMode from CSIVolumeClaim 2021-04-07 11:24:09 -04:00
manager.go CSI: fix data race in plugin manager (#12553) 2022-04-12 12:18:04 -04:00
manager_test.go CSI: fix data race in plugin manager (#12553) 2022-04-12 12:18:04 -04:00
usage_tracker.go CSI: move node unmount to server-driven RPCs (#7596) 2020-04-02 16:04:56 -04:00
usage_tracker_test.go CSI: move node unmount to server-driven RPCs (#7596) 2020-04-02 16:04:56 -04:00
volume.go CSI: node unmount from the client before unpublish RPC (#11892) 2022-01-28 08:30:31 -05:00
volume_test.go test: use `T.TempDir` to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00