Documentation ¶
Index ¶
- func DeriveFilesystemID(virtualStorage string) uuid.UUID
- func NewServer(conf config.Config, conns service.Connections) gitalypb.ServerServiceServer
- type Server
- func (s *Server) ClockSynced(_ context.Context, req *gitalypb.ClockSyncedRequest) (*gitalypb.ClockSyncedResponse, error)
- func (s *Server) DiskStatistics(ctx context.Context, _ *gitalypb.DiskStatisticsRequest) (*gitalypb.DiskStatisticsResponse, error)
- func (s *Server) ServerInfo(ctx context.Context, in *gitalypb.ServerInfoRequest) (*gitalypb.ServerInfoResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeriveFilesystemID ¶
DeriveFilesystemID derives the virtual storage's filesystem ID from its name.
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 { gitalypb.UnimplementedServerServiceServer // contains filtered or unexported fields }
Server is a ServerService server
func (*Server) ClockSynced ¶
func (s *Server) ClockSynced(_ context.Context, req *gitalypb.ClockSyncedRequest) (*gitalypb.ClockSyncedResponse, error)
ClockSynced checks if system clock is synced.
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.