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.6.11
Published
Dec 6, 2022
Platform
js/wasm
Imports
7 packages
Last checked
4 minutes ago

Tools for package owners.