github.com/cloud-foundations/dominator@v0.0.0-20221004181915-6e4fee580046/imageunpacker/rpcd/unpackImage.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) UnpackImage(conn *srpc.Conn,
     9  	request proto.UnpackImageRequest,
    10  	reply *proto.UnpackImageResponse) error {
    11  	return t.unpacker.UnpackImage(request.StreamName, request.ImageLeafName)
    12  }