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.7.0-rc.3
Published
Mar 9, 2023
Platform
js/wasm
Imports
7 packages
Last checked
6 minutes ago

Tools for package owners.