kubernetes: k8s.io/kubernetes/pkg/kubelet/cri/remote/util Index | Files

package util

import "k8s.io/kubernetes/pkg/kubelet/cri/remote/util"

Index

Package Files

util_unix.go

func CreateListener Uses

func CreateListener(endpoint string) (net.Listener, error)

CreateListener creates a listener on the specified endpoint.

func GetAddressAndDialer Uses

func GetAddressAndDialer(endpoint string) (string, func(ctx context.Context, addr string) (net.Conn, error), error)

GetAddressAndDialer returns the address parsed from the given endpoint and a context dialer.

func IsUnixDomainSocket Uses

func IsUnixDomainSocket(filePath string) (bool, error)

IsUnixDomainSocket returns whether a given file is a AF_UNIX socket file

func NormalizePath Uses

func NormalizePath(path string) string

NormalizePath is a no-op for Linux for now

Package util imports 9 packages (graph) and is imported by 2 packages. Updated 2020-07-21. Refresh now. Tools for package owners.