resource

package
v0.0.0-...-68051d8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocatableDevices

type AllocatableDevices nvdevicelib.AllocatableDevices

AllocatableDevices is an alias of nvdevicelib.AllocatableDevices

func (AllocatableDevices) ToNamedResourceInstances

func (devices AllocatableDevices) ToNamedResourceInstances() []NamedResourcesInstance

ToNamedResourceInstances converts a list of AllocatableDevices to a list of NamedResourcesInstances.

func (AllocatableDevices) ToNamedResourcesResourceModel

func (devices AllocatableDevices) ToNamedResourcesResourceModel() ResourceModel

ToNamedResourcesResourceModel converts a list of AllocatableDevices to a NamedResources ResourceModel.

type GpuInfo

type GpuInfo nvdevicelib.GpuInfo

GpuInfo is an alias of nvdevicelib.GpuInfo

func (*GpuInfo) ToNamedResourcesInstance

func (gpu *GpuInfo) ToNamedResourcesInstance() *NamedResourcesInstance

ToNamedResourcesInstance converts a GpuInfo object to a NamedResourcesInstance.

type MigInfo

type MigInfo nvdevicelib.MigInfo

MigInfo is an alias of nvdevicelib.MigInfo

type NamedResourcesAttribute

type NamedResourcesAttribute = resourceapi.NamedResourcesAttribute

NamedResourcesAttribute is an alias of resourceapi.NamedResourcesAttribute

type NamedResourcesAttributeValue

type NamedResourcesAttributeValue = resourceapi.NamedResourcesAttributeValue

NamedResourcesAttributeValue is an alias of resourceapi.NamedResourcesAttributeValue

type NamedResourcesInstance

type NamedResourcesInstance = resourceapi.NamedResourcesInstance

NamedResourcesInstance is an alias of resourceapi.NamedResourcesInstance

type NamedResourcesResources

type NamedResourcesResources = resourceapi.NamedResourcesResources

NamedResourcesResources is an alias of resourceapi.NamedResourcesResources

type PerGpuAllocatableDevices

type PerGpuAllocatableDevices nvdevicelib.PerGpuAllocatableDevices

PerGpuAllocatableDevices is an alias of nvdevicelib.PerGpuAllocatableDevices

func (PerGpuAllocatableDevices) ToNamedResourceInstances

func (devices PerGpuAllocatableDevices) ToNamedResourceInstances() []NamedResourcesInstance

ToNamedResourceInstances converts a list of PerGpuAllocatableDevices to a list of NamedResourcesInstances.

func (PerGpuAllocatableDevices) ToNamedResourcesResourceModel

func (devices PerGpuAllocatableDevices) ToNamedResourcesResourceModel() ResourceModel

ToNamedResourcesResourceModel converts a list of PerGpuAllocatableDevices to a NamedResources ResourceModel.

type ResourceModel

type ResourceModel = resourceapi.ResourceModel

ResourceModel is an alias of resourceapi.ResourceModel

Jump to

Keyboard shortcuts

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