package dialer

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

Index

Functions

func DialAddress

func DialAddress(address string) string

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

func Dialer

func Dialer(address string, timeout time.Duration) (net.Conn, error)

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

Source Files

dialer.go dialer_unix.go

Version
v1.2.0-beta.2
Published
Aug 28, 2018
Platform
darwin/amd64
Imports
7 packages
Last checked
4 seconds ago

Tools for package owners.