package util
import "k8s.io/kubernetes/pkg/kubelet/util"
Utility functions.
Index ¶
- func CreateListener(endpoint string) (net.Listener, error)
- func FromApiserverCache(opts *metav1.GetOptions)
- func GetAddressAndDialer(endpoint string) (string, func(addr string, timeout time.Duration) (net.Conn, error), error)
- func LockAndCheckSubPath(volumePath, subPath string) ([]uintptr, error)
- func UnlockPath(fileHandles []uintptr)
Functions ¶
func CreateListener ¶
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 LockAndCheckSubPath ¶
LockAndCheckSubPath empty implementation
func UnlockPath ¶
func UnlockPath(fileHandles []uintptr)
UnlockPath empty implementation
Source Files ¶
doc.go util.go util_unsupported.go
Directories ¶
Path | Synopsis |
---|---|
pkg/kubelet/util/cache | |
pkg/kubelet/util/format | |
pkg/kubelet/util/ioutils | |
pkg/kubelet/util/queue | |
pkg/kubelet/util/sliceutils | |
pkg/kubelet/util/store | Package store hosts a Store interface and its implementations. |
- Version
- v1.9.8-beta.0
- Published
- Apr 18, 2018
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 10 minutes ago –
Tools for package owners.