grpc

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ENIIPAMGrpcServer

type ENIIPAMGrpcServer struct {
	// contains filtered or unexported fields
}

func New

func New(
	bccipam ipam.Interface,
	bbcipam ipam.Interface,
	eniipam ipam.ExclusiveEniInterface,
	roceipamd ipam.RoceInterface,
	port int,
	allocLimit int,
	releaseLimit int,
	debug bool,
) *ENIIPAMGrpcServer

func (*ENIIPAMGrpcServer) AllocateIP

func (*ENIIPAMGrpcServer) CheckIP

func (*ENIIPAMGrpcServer) ReleaseIP

func (*ENIIPAMGrpcServer) RunRPCHandler

func (cb *ENIIPAMGrpcServer) RunRPCHandler(ctx context.Context) error

type Interface

type Interface interface {
	RunRPCHandler(context.Context) error
}

Jump to

Keyboard shortcuts

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