Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider provides DRA-related objects.
func NewProvider ¶
func NewProvider(claims allObjectsLister[*resourceapi.ResourceClaim], slices allObjectsLister[*resourceapi.ResourceSlice], classes allObjectsLister[*resourceapi.DeviceClass]) *Provider
NewProvider returns a new Provider which uses the provided listers to list the DRA resources.
func NewProviderFromInformers ¶
func NewProviderFromInformers(informerFactory informers.SharedInformerFactory) *Provider
NewProviderFromInformers returns a new Provider which uses InformerFactory listers to list the DRA resources.
Click to show internal directories.
Click to hide internal directories.