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 GetBootTime() (time.Time, error)
- func LocalEndpoint(path, file string) string
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 GetBootTime ¶
GetBootTime returns the time at which the machine was started, truncated to the nearest second
func LocalEndpoint ¶
LocalEndpoint returns the full path to a windows named pipe
Source Files ¶
doc.go util.go util_windows.go
Directories ¶
Path | Synopsis |
---|---|
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/v1beta1 | Package v1beta1 is a generated protocol buffer package. |
pkg/kubelet/util/pluginwatcher/example_plugin_apis/v1beta2 | Package v1beta2 is a generated protocol buffer package. |
pkg/kubelet/util/queue | |
pkg/kubelet/util/sliceutils | |
pkg/kubelet/util/store | Package store hosts a Store interface and its implementations. |
- Version
- v1.13.10-beta.0
- Published
- Aug 5, 2019
- Platform
- windows/amd64
- Imports
- 8 packages
- Last checked
- 22 seconds ago –
Tools for package owners.