github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/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 }