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)

func GetBootTime

func GetBootTime() (time.Time, error)

GetBootTime empty implementation

func LocalEndpoint

func LocalEndpoint(path, file string) string

LocalEndpoint empty implementation

func LockAndCheckSubPath

func LockAndCheckSubPath(volumePath, subPath string) ([]uintptr, error)

LockAndCheckSubPath empty implementation

func UnlockPath

func UnlockPath(fileHandles []uintptr)

UnlockPath empty implementation

Source Files

doc.go util.go util_unsupported.go

Directories

PathSynopsis
pkg/kubelet/util/cache
pkg/kubelet/util/format
pkg/kubelet/util/ioutils
pkg/kubelet/util/manager
pkg/kubelet/util/pluginwatcher
pkg/kubelet/util/pluginwatcher/example_plugin_apis
pkg/kubelet/util/pluginwatcher/example_plugin_apis/v1beta1Package v1beta1 is a generated protocol buffer package.
pkg/kubelet/util/pluginwatcher/example_plugin_apis/v1beta2Package v1beta2 is a generated protocol buffer package.
pkg/kubelet/util/queue
pkg/kubelet/util/sliceutils
pkg/kubelet/util/storePackage store hosts a Store interface and its implementations.
Version
v1.14.6
Published
Aug 16, 2019
Platform
js/wasm
Imports
4 packages
Last checked
4 seconds ago

Tools for package owners.