Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRegistryServer ¶
func InitRegistryServer(queue workqueue.RateLimitingInterface, kc *kclient.KubeClient)
InitRegistryServer function to set the registration queue This function has to be called before initializing the gRPC server
Types ¶
type ServiceRegistryServer ¶
type ServiceRegistryServer struct {
reg.UnimplementedServiceRegistryServer
}
ServiceRegistryServer interface delegate for registry.ServiceRegistryServer
func (*ServiceRegistryServer) Register ¶
func (*ServiceRegistryServer) Register(ctx context.Context, svcInfo *reg.ServiceInfo) (*reg.RegistrationResult, error)
Register implements registry.ServiceRegistryService.Register
func (*ServiceRegistryServer) UnRegister ¶
func (*ServiceRegistryServer) UnRegister(ctx context.Context, svcInfo *reg.ServiceInfo) (*reg.RegistrationResult, error)
UnRegister implements registry.ServiceREgistryService/UnRegister
Click to show internal directories.
Click to hide internal directories.