grpcregistry

package
v0.0.0-...-2350287 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGrpcPorts

func GetGrpcPorts() (leaderElectionPort int, nonLeaderElectionPort int)

func Register

func Register(name string, needLeaderElection bool, rf RegisterFunc) error

func SetupWithManager

func SetupWithManager(mgr manager.Manager) error

Types

type RegisterFunc

type RegisterFunc = func(RegisterOptions)

type RegisterOptions

type RegisterOptions struct {
	GrpcServer *grpc.Server
	Mgr        manager.Manager
	Ctx        context.Context
}

Jump to

Keyboard shortcuts

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