Documentation ¶
Overview ¶
Package controllers contains code common for the device plugin controllers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDevicePluginCount ¶
GetDevicePluginCount returns number of device plugin CRs registered.
func SetupWithManager ¶
func SetupWithManager(mgr ctrl.Manager, controller DevicePluginController, apiGVString, pluginKind, ownerKey string) error
SetupWithManager sets up a reconciler for a given device plugin controller.
Types ¶
type DevicePluginController ¶
type DevicePluginController interface { CreateEmptyObject() (devicePlugin client.Object) GetTotalObjectCount(ctx context.Context, client client.Client) (count int, err error) NewDaemonSet(devicePlugin client.Object) *apps.DaemonSet UpdateDaemonSet(client.Object, *apps.DaemonSet) (updated bool) UpdateStatus(client.Object, *apps.DaemonSet, []string) (updated bool, err error) }
DevicePluginController provides functionality for manipulating actual device plugin CRD objects.
Directories ¶
Path | Synopsis |
---|---|
Package dsa contains DSA specific reconciliation logic.
|
Package dsa contains DSA specific reconciliation logic. |
Package fpga contains FPGA specific reconciliation logic.
|
Package fpga contains FPGA specific reconciliation logic. |
Package gpu contains GPU specific reconciliation logic.
|
Package gpu contains GPU specific reconciliation logic. |
Package qat contains QAT specific reconciliation logic.
|
Package qat contains QAT specific reconciliation logic. |
Package sgx contains SGX specific reconciliation logic.
|
Package sgx contains SGX specific reconciliation logic. |
Click to show internal directories.
Click to hide internal directories.