Documentation ¶
Index ¶
Constants ¶
View Source
const (
StatusNetworkOff string = "Networking disabled"
)
Message constants
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ListNodesResponse ¶
ListNodesResponse with all Nodes
type Server ¶
type Server struct{}
Server listens on a Unix socket to respond to questions asked by external applications.
func (*Server) ConfirmUp ¶
func (s *Server) ConfirmUp(req *EmptyMessage, resp *EmptyMessage) error
ConfirmUp is simple method that paranoid-cli uses to ping PFSD
func (*Server) ListNodes ¶
func (s *Server) ListNodes(req *EmptyMessage, resp *ListNodesResponse) error
ListNodes that pfsd is connected to
func (*Server) Status ¶
func (s *Server) Status(req *EmptyMessage, resp *StatusResponse) error
Status provides health data for the current node.
Click to show internal directories.
Click to hide internal directories.