snapshot

package
v0.0.0-...-fd14076 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Snapshot

type Snapshot struct {
}

Snapshot contains a snapshot of all DRA objects taken at a ~single point in time.

func (Snapshot) Clone

func (s Snapshot) Clone() Snapshot

Clone returns a copy of this Snapshot that can be independently modified without affecting this Snapshot.

func (Snapshot) DeviceClasses

func (s Snapshot) DeviceClasses() schedulerframework.DeviceClassLister

DeviceClasses exposes the Snapshot as schedulerframework.DeviceClassLister, in order to interact with the scheduler framework.

func (Snapshot) ResourceClaims

ResourceClaims exposes the Snapshot as schedulerframework.ResourceClaimTracker, in order to interact with the scheduler framework.

func (Snapshot) ResourceSlices

func (s Snapshot) ResourceSlices() schedulerframework.ResourceSliceLister

ResourceSlices exposes the Snapshot as schedulerframework.ResourceSliceLister, in order to interact with the scheduler framework.

Jump to

Keyboard shortcuts

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