Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(conf config.Config, conns service.Connections) gitalypb.ServerServiceServer
NewServer creates a new instance of a grpc ServerServiceServer
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a ServerService server
func (*Server) DiskStatistics ¶
func (s *Server) DiskStatistics(ctx context.Context, _ *gitalypb.DiskStatisticsRequest) (*gitalypb.DiskStatisticsResponse, error)
DiskStatistics sends DiskStatisticsRequest to all of a praefect server's internal gitaly nodes and aggregates the results into a response
func (*Server) ServerInfo ¶
func (s *Server) ServerInfo(ctx context.Context, in *gitalypb.ServerInfoRequest) (*gitalypb.ServerInfoResponse, error)
ServerInfo sends ServerInfoRequest to all of a praefect server's internal gitaly nodes and aggregates the results into a response
Click to show internal directories.
Click to hide internal directories.