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.5.7
Published
Oct 4, 2021
Platform
darwin/amd64
Imports
8 packages
Last checked
1 minute ago

Tools for package owners.