package util

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

Utility functions.

Index

Functions

func CreateListener

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

func FromApiserverCache

func FromApiserverCache(opts *metav1.GetOptions)

FromApiserverCache modifies <opts> so that the GET request will be served from apiserver cache instead of from etcd.

func GetAddressAndDialer

func GetAddressAndDialer(endpoint string) (string, func(addr string, timeout time.Duration) (net.Conn, error), error)

Source Files

doc.go util.go util_windows.go

Directories

PathSynopsis
pkg/kubelet/util/cache
pkg/kubelet/util/csr
pkg/kubelet/util/format
pkg/kubelet/util/ioutils
pkg/kubelet/util/queue
pkg/kubelet/util/sliceutils
Version
v1.7.9
Published
Oct 19, 2017
Platform
windows/amd64
Imports
5 packages
Last checked
18 seconds ago

Tools for package owners.