Documentation ¶
Overview ¶
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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromApiserverCache ¶ added in v1.6.0
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 ¶ added in v1.7.0
func GetBootTime ¶ added in v1.11.9
GetBootTime returns the time at which the machine was started, truncated to the nearest second
func LocalEndpoint ¶
LocalEndpoint returns the full path to a unix socket at the given endpoint
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
example_plugin_apis/v1beta1
Package v1beta1 is a generated protocol buffer package.
|
Package v1beta1 is a generated protocol buffer package. |
example_plugin_apis/v1beta2
Package v1beta2 is a generated protocol buffer package.
|
Package v1beta2 is a generated protocol buffer package. |
Package store hosts a Store interface and its implementations.
|
Package store hosts a Store interface and its implementations. |
Click to show internal directories.
Click to hide internal directories.