github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/nomad/volumewatcher/interfaces.go (about) 1 package volumewatcher 2 3 import ( 4 "github.com/hashicorp/nomad/nomad/structs" 5 ) 6 7 // CSIVolumeRPC is a minimal interface of the Server, intended as an aid 8 // for testing logic surrounding server-to-server or server-to-client 9 // RPC calls and to avoid circular references between the nomad 10 // package and the volumewatcher 11 type CSIVolumeRPC interface { 12 Unpublish(args *structs.CSIVolumeUnpublishRequest, reply *structs.CSIVolumeUnpublishResponse) error 13 }