package dialer

import "github.com/containerd/containerd/pkg/dialer"

Index

Variables

var Dialer = timeoutDialer

Dialer returns a GRPC net.Conn connected to the provided address Deprecated: use ContextDialer and grpc.WithContextDialer.

Functions

func ContextDialer

func ContextDialer(ctx context.Context, address string) (net.Conn, error)

ContextDialer returns a GRPC net.Conn connected to the provided address

func DialAddress

func DialAddress(address string) string

DialAddress returns the address with unix:// prepended to the provided address

Source Files

dialer.go dialer_unix.go

Version
v1.2.14
Published
Oct 15, 2020
Platform
js/wasm
Imports
8 packages
Last checked
1 hour ago

Tools for package owners.