deviceplugin

package
v1.17.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSampleDevicePluginPod

func GetSampleDevicePluginPod() *v1.Pod

GetSampleDevicePluginPod returns the Device Plugin pod for sample resources in e2e tests

func NumberOfSampleResources

func NumberOfSampleResources(node *v1.Node) int64

NumberOfSampleResources returns the number of resources advertised by a node

func ReadDaemonSetV1OrDie

func ReadDaemonSetV1OrDie(objBytes []byte) *appsv1.DaemonSet

ReadDaemonSetV1OrDie reads daemonset object from bytes. Panics on error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL