Documentation ¶
Index ¶
- type ChecksDb
- type ChecksServer
- func (s *ChecksServer) GetChanges(currentState *sm.ProbeState, stream sm.Checks_GetChangesServer) error
- func (s *ChecksServer) Ping(ctx context.Context, req *sm.PingRequest) (*sm.PongResponse, error)
- func (s *ChecksServer) RegisterProbe(ctx context.Context, _ *sm.ProbeInfo) (*sm.RegisterProbeResult, error)
- func (s *ChecksServer) Run(ctx context.Context) error
- type ChecksServerOpts
- type Opts
- type Server
- type ServerDb
- type TenantsDb
- type TenantsServer
- type TenantsServerOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChecksServer ¶
type ChecksServer struct {
// contains filtered or unexported fields
}
func NewChecksServer ¶
func NewChecksServer(opts ChecksServerOpts) (*ChecksServer, error)
func (*ChecksServer) GetChanges ¶
func (s *ChecksServer) GetChanges(currentState *sm.ProbeState, stream sm.Checks_GetChangesServer) error
func (*ChecksServer) Ping ¶
func (s *ChecksServer) Ping(ctx context.Context, req *sm.PingRequest) (*sm.PongResponse, error)
func (*ChecksServer) RegisterProbe ¶
func (s *ChecksServer) RegisterProbe(ctx context.Context, _ *sm.ProbeInfo) (*sm.RegisterProbeResult, error)
type ChecksServerOpts ¶
type Opts ¶
type Opts struct { Logger zerolog.Logger ListenAddr string ChecksServer sm.ChecksServer TenantsServer sm.TenantsServer AdHocChecksServer sm.AdHocChecksServer Db ServerDb }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GracefulStop ¶
func (s *Server) GracefulStop()
type TenantsServer ¶
type TenantsServer struct {
// contains filtered or unexported fields
}
func NewTenantsServer ¶
func NewTenantsServer(opts TenantsServerOpts) (*TenantsServer, error)
func (*TenantsServer) GetTenant ¶
func (s *TenantsServer) GetTenant(ctx context.Context, info *sm.TenantInfo) (*sm.Tenant, error)
type TenantsServerOpts ¶
Click to show internal directories.
Click to hide internal directories.