grpcregistry

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 9 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
	ServeMux *http.ServeMux

	Mgr manager.Manager
	Ctx context.Context
}

Jump to

Keyboard shortcuts

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