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

     1  package rpcd
     2  
     3  import (
     4  	"github.com/Cloud-Foundations/Dominator/lib/srpc"
     5  	"github.com/Cloud-Foundations/Dominator/proto/hypervisor"
     6  )
     7  
     8  func (t *srpcType) GetRootCookiePath(conn *srpc.Conn,
     9  	request hypervisor.GetRootCookiePathRequest,
    10  	reply *hypervisor.GetRootCookiePathResponse) error {
    11  	*reply = hypervisor.GetRootCookiePathResponse{
    12  		Path: t.manager.GetRootCookiePath(),
    13  	}
    14  	return nil
    15  }