internal

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

README

Copied from pkg/kubelet/util to prevent importing kubernetes

wget https://raw.githubusercontent.com/kubernetes/kubernetes/v1.11.2/pkg/kubelet/util/util_unix.go
wget https://raw.githubusercontent.com/kubernetes/kubernetes/v1.11.2/pkg/kubelet/util/util.go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL