gslb

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 17 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 {
	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 (s *Server) DeleteEntry(ctx context.Context, request *gslbsvc.DeleteEntryRequest) (*emptypb.Empty, error)

func (*Server) DeleteMember

func (s *Server) DeleteMember(ctx context.Context, request *gslbsvc.DeleteMemberRequest) (*emptypb.Empty, error)

func (*Server) GetEntry

func (s *Server) GetEntry(ctx context.Context, request *gslbsvc.GetEntryRequest) (*gslbsvc.GetEntryResponse, error)

func (*Server) GetEntryStatus

func (*Server) GetEntryWithStatus

func (s *Server) GetEntryWithStatus(ctx context.Context, request *gslbsvc.GetEntryRequest) (*gslbsvc.GetEntryResponse, error)

func (*Server) GetHealthCheck

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 (*Server) ListEntriesStatus added in v0.9.0

func (*Server) ListMembers

func (*Server) ListPluginHealthChecks added in v0.23.0

func (*Server) SetEntry

func (s *Server) SetEntry(ctx context.Context, request *gslbsvc.SetEntryRequest) (*emptypb.Empty, error)

func (*Server) SetHealthCheck

func (s *Server) SetHealthCheck(ctx context.Context, request *gslbsvc.SetHealthCheckRequest) (*emptypb.Empty, error)

func (*Server) SetMember

func (s *Server) SetMember(ctx context.Context, request *gslbsvc.SetMemberRequest) (*emptypb.Empty, error)

func (*Server) SetMembersStatus

Jump to

Keyboard shortcuts

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