server

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	pb.UnimplementedMonitorServer
	// contains filtered or unexported fields
}

Server ..

func NewServer

func NewServer(
	gitlabClient *gitlab.Client,
	c config.Config,
	st store.Store,
	tsm map[schemas.TaskType]*monitor.TaskSchedulingStatus,
) (s *Server)

NewServer ..

func (*Server) GetConfig

func (s *Server) GetConfig(ctx context.Context, _ *pb.Empty) (*pb.Config, error)

GetConfig ..

func (*Server) GetTelemetry

func (s *Server) GetTelemetry(_ *pb.Empty, ts pb.Monitor_GetTelemetryServer) (err error)

GetTelemetry ..

func (*Server) Serve

func (s *Server) Serve()

Serve ..

Jump to

Keyboard shortcuts

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