kedge_grpc

package
v1.0.0-beta.12.test.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DialThroughKedge

func DialThroughKedge(ctx context.Context, targetAuthority string, clientTls *tls.Config, mapper kedge_map.Mapper, grpcOpts ...grpc.DialOption) (*grpc.ClientConn, error)

DialThroughKedge provides a grpc.ClientConn that forwards all traffic to the specific kedge.

For secure kedging (with a mapper value starting with https://) clientTls option needs to be set, and needs to point to a tls.Config that has client side certificates configured.

Types

This section is empty.

Jump to

Keyboard shortcuts

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