github.com/cloud-foundations/dominator@v0.0.0-20221004181915-6e4fee580046/imageunpacker/rpcd/exportImage.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) ExportImage(conn *srpc.Conn,
     9  	request proto.ExportImageRequest,
    10  	reply *proto.ExportImageResponse) error {
    11  	return t.unpacker.ExportImage(request.StreamName, request.Type,
    12  		request.Destination)
    13  }