rpcclient

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultServiceRetryConfig

func GetDefaultServiceRetryConfig() grpc.DialOption

func GetInsecureConnectionType

func GetInsecureConnectionType() grpc.DialOption

Types

type GRPCClient

type GRPCClient interface {
	Dial(ctx context.Context, target string, opts ...grpc.DialOption) (*grpc.ClientConn, error)
}

GRPC is the ipamd client Dial interface

func New

func New() GRPCClient

New creates a new cniGRPC

type NPAgentRPC

type NPAgentRPC struct{}

func (*NPAgentRPC) Dial

func (n *NPAgentRPC) Dial(ctx context.Context, target string, opts ...grpc.DialOption) (*grpc.ClientConn, error)

Jump to

Keyboard shortcuts

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