kubegrpc

package module
v0.0.0-...-9059765 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(serviceName string, f GrpcKubeBalancer) (interface{}, error)

Connect - Call to get a connection to the given service and namespace. Will initialize a connection if not yet initialized

Types

type GrpcKubeBalancer

type GrpcKubeBalancer interface {
	NewGrpcClient(conn *grpc.ClientConn) (interface{}, error)
	Ping(grpcConnection interface{}) error
}

GrpcKubeBalancer - defines the interface required to setup the actual grpc connection

Jump to

Keyboard shortcuts

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