package deviceplugin
import "k8s.io/kubernetes/test/e2e/framework/deviceplugin"
Index ¶
- func GetSampleDevicePluginPod() *v1.Pod
- func NumberOfSampleResources(node *v1.Node) int64
- func ReadDaemonSetV1OrDie(objBytes []byte) *appsv1.DaemonSet
Functions ¶
func GetSampleDevicePluginPod ¶
GetSampleDevicePluginPod returns the Device Plugin pod for sample resources in e2e tests
func NumberOfSampleResources ¶
NumberOfSampleResources returns the number of resources advertised by a node
func ReadDaemonSetV1OrDie ¶
ReadDaemonSetV1OrDie reads daemonset object from bytes. Panics on error.
Source Files ¶
device_plugin_util.go
- Version
- v1.16.13
- Published
- Jul 15, 2020
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 2 hours ago –
Tools for package owners.