server

package
v16.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeriveFilesystemID

func DeriveFilesystemID(virtualStorage string) uuid.UUID

DeriveFilesystemID derives the virtual storage's filesystem ID from its name.

func NewServer

func NewServer(conf config.Config, logger log.Logger, conns service.Connections, checks []service.CheckFunc) 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

ClockSynced returns whether the system clock has an acceptable time drift when compared to NTP service.

func (*Server) DiskStatistics

DiskStatistics sends DiskStatisticsRequest to all of a praefect server's internal gitaly nodes and aggregates the results into a response

func (*Server) ReadinessCheck

ReadinessCheck runs the set of the checks to make sure service is in operational state.

func (*Server) ServerInfo

ServerInfo sends ServerInfoRequest to all of a praefect server's internal gitaly nodes and aggregates the results into a response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL