Documentation ¶
Index ¶
- type Server
- func (s *Server) DeleteEntry(ctx context.Context, request *gslbsvc.DeleteEntryRequest) (*emptypb.Empty, error)
- func (s *Server) DeleteMember(ctx context.Context, request *gslbsvc.DeleteMemberRequest) (*emptypb.Empty, error)
- func (s *Server) GetEntry(ctx context.Context, request *gslbsvc.GetEntryRequest) (*gslbsvc.GetEntryResponse, error)
- func (s *Server) GetEntryStatus(ctx context.Context, req *gslbsvc.GetEntryStatusRequest) (*gslbsvc.GetEntryStatusResponse, error)
- func (s *Server) GetEntryWithStatus(ctx context.Context, request *gslbsvc.GetEntryRequest) (*gslbsvc.GetEntryResponse, error)
- func (s *Server) GetHealthCheck(ctx context.Context, request *gslbsvc.GetHealthCheckRequest) (*gslbsvc.GetHealthCheckResponse, error)
- func (s *Server) GetMember(ctx context.Context, request *gslbsvc.GetMemberRequest) (*gslbsvc.GetMemberResponse, error)
- func (s *Server) ListDcs(ctx context.Context, request *gslbsvc.ListDcsRequest) (*gslbsvc.ListDcsResponse, error)
- func (s *Server) ListEntries(ctx context.Context, request *gslbsvc.ListEntriesRequest) (*gslbsvc.ListEntriesResponse, error)
- func (s *Server) ListEntriesStatus(ctx context.Context, req *gslbsvc.ListEntriesStatusRequest) (*gslbsvc.ListEntriesStatusResponse, error)
- func (s *Server) ListMembers(ctx context.Context, request *gslbsvc.ListMembersRequest) (*gslbsvc.ListMembersResponse, error)
- func (s *Server) ListPluginHealthChecks(context.Context, *emptypb.Empty) (*gslbsvc.ListPluginHealthChecksResponse, error)
- func (s *Server) SetEntry(ctx context.Context, request *gslbsvc.SetEntryRequest) (*emptypb.Empty, error)
- func (s *Server) SetHealthCheck(ctx context.Context, request *gslbsvc.SetHealthCheckRequest) (*emptypb.Empty, error)
- func (s *Server) SetMember(ctx context.Context, request *gslbsvc.SetMemberRequest) (*emptypb.Empty, error)
- func (s *Server) SetMembersStatus(ctx context.Context, request *gslbsvc.SetMembersStatusRequest) (*gslbsvc.SetMembersStatusResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { gslbsvc.UnimplementedGSLBServer // contains filtered or unexported fields }
func NewServer ¶
func NewServer(consulClient *consul.Client, gslocConsul *disco.GslocConsul, plugins []*config.PluginHealthCheckConfig) (*Server, error)
func (*Server) DeleteEntry ¶
func (*Server) DeleteMember ¶
func (*Server) GetEntry ¶
func (s *Server) GetEntry(ctx context.Context, request *gslbsvc.GetEntryRequest) (*gslbsvc.GetEntryResponse, error)
func (*Server) GetEntryStatus ¶
func (s *Server) GetEntryStatus(ctx context.Context, req *gslbsvc.GetEntryStatusRequest) (*gslbsvc.GetEntryStatusResponse, error)
func (*Server) GetEntryWithStatus ¶
func (s *Server) GetEntryWithStatus(ctx context.Context, request *gslbsvc.GetEntryRequest) (*gslbsvc.GetEntryResponse, error)
func (*Server) GetHealthCheck ¶
func (s *Server) GetHealthCheck(ctx context.Context, request *gslbsvc.GetHealthCheckRequest) (*gslbsvc.GetHealthCheckResponse, error)
func (*Server) GetMember ¶
func (s *Server) GetMember(ctx context.Context, request *gslbsvc.GetMemberRequest) (*gslbsvc.GetMemberResponse, error)
func (*Server) ListDcs ¶
func (s *Server) ListDcs(ctx context.Context, request *gslbsvc.ListDcsRequest) (*gslbsvc.ListDcsResponse, error)
func (*Server) ListEntries ¶
func (s *Server) ListEntries(ctx context.Context, request *gslbsvc.ListEntriesRequest) (*gslbsvc.ListEntriesResponse, error)
func (*Server) ListEntriesStatus ¶ added in v0.9.0
func (s *Server) ListEntriesStatus(ctx context.Context, req *gslbsvc.ListEntriesStatusRequest) (*gslbsvc.ListEntriesStatusResponse, error)
func (*Server) ListMembers ¶
func (s *Server) ListMembers(ctx context.Context, request *gslbsvc.ListMembersRequest) (*gslbsvc.ListMembersResponse, error)
func (*Server) ListPluginHealthChecks ¶ added in v0.23.0
func (*Server) SetHealthCheck ¶
func (*Server) SetMembersStatus ¶
func (s *Server) SetMembersStatus(ctx context.Context, request *gslbsvc.SetMembersStatusRequest) (*gslbsvc.SetMembersStatusResponse, error)
Click to show internal directories.
Click to hide internal directories.