Documentation ¶
Index ¶
- Constants
- func NewActuator(client client.Client, devicePluginCM types.NamespacedName, ...) core.Actuator
- func NewController(scheme *runtime.Scheme, client client.Client, podBatcher util.Batcher[v1.Pod], ...) gpupartitioner.Controller
- func NewPartitionCalculator() core.PartitionCalculator
- func NewPartitioner(client client.Client, devicePluginCM types.NamespacedName, ...) core.Partitioner
- func NewPlanner(scheduler framework.Framework) core.Planner
- func NewSliceCalculator() gpu.SliceCalculator
- func NewSliceFilter() gpu.SliceFilter
- func NewSnapshotTaker() core.SnapshotTaker
- func ToPluginConfig(partitioning state.NodePartitioning) (nvidiav1.Config, error)
Constants ¶
View Source
const DevicePluginConfigKeyFormat = "%s-%s"
Variables ¶
This section is empty.
Functions ¶
func NewActuator ¶
func NewController ¶
func NewController( scheme *runtime.Scheme, client client.Client, podBatcher util.Batcher[v1.Pod], clusterState *state.ClusterState, scheduler framework.Framework, devicePluginCM types.NamespacedName, devicePluginDelay time.Duration, ) gpupartitioner.Controller
func NewPartitionCalculator ¶
func NewPartitionCalculator() core.PartitionCalculator
func NewPartitioner ¶
func NewPartitioner( client client.Client, devicePluginCM types.NamespacedName, devicePluginDelay time.Duration, ) core.Partitioner
func NewSliceCalculator ¶
func NewSliceCalculator() gpu.SliceCalculator
func NewSliceFilter ¶
func NewSliceFilter() gpu.SliceFilter
func NewSnapshotTaker ¶
func NewSnapshotTaker() core.SnapshotTaker
func ToPluginConfig ¶
func ToPluginConfig(partitioning state.NodePartitioning) (nvidiav1.Config, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.