github.com/cloud-foundations/dominator@v0.0.0-20221004181915-6e4fee580046/imageunpacker/rpcd/removeDevice.go (about)

     1  package rpcd
     2  
     3  import (
     4  	"github.com/Cloud-Foundations/Dominator/lib/srpc"
     5  	proto "github.com/Cloud-Foundations/Dominator/proto/imageunpacker"
     6  )
     7  
     8  func (t *srpcType) RemoveDevice(conn *srpc.Conn,
     9  	request proto.RemoveDeviceRequest,
    10  	reply *proto.RemoveDeviceResponse) error {
    11  	return t.unpacker.RemoveDevice(request.DeviceId)
    12  }