Crate runpod
Source - CreateOnDemandPodRequest
- CreateSpotPodRequest
- DataCenter
- Represents a single DataCenter, including its GPU availability.
- DataCenterItem
- Represents one of the objects in that “dataCenters” array.
- DataCentersResponse
- The top-level “data” returned by this query.
- DataCentersRoot
- The actual shape under the
.data
field:
{
“dataCenters”: [ { “id”: …, “name”: …, “location”: …, … }, … ]
} - Datacenter
- DatacenterGpuType
- DatacenterInfo
- DatacenterWithGpuTypes
- DatacentersResponseData
- A convenience struct for returning data from the function,
similar to your existing style of “ResponseData”.
- DatacentersWithGpuAvailResponse
- The top-level data structure for this particular
myself.datacenters
response. - DatacentersWithGpuTypes
- Endpoint
- EndpointCreateInput
- Fields required when creating a new endpoint via “POST /endpoints”.
- EndpointResponseData
- EndpointUpdateInput
- Fields for updating an existing endpoint via “PATCH /endpoints/{endpointId}”.
- EndpointsListResponseData
- EnvVar
- GPUTypeResponseData
- GPUTypesExtendedResponse
- GPUTypesListResponse
- GPUTypesListResponseData
- GetAllDatacentersResponse
- Wraps the final response that includes
data
(or errors
). - GpuAvailability
- Holds GPU availability for a particular GPU type.
- GpuAvailabilityInput
- Example input fields for GPU availability, adjust to your actual schema:
- GpuAvailabilityItem
- Each entry under
"gpuAvailability": [ { ... }, ... ]
. - GpuInfo
- GpuType
- GpuTypeExtended
- GpuTypeMinimal
- GpuTypeWithDatacenters
- GraphQLError
- GraphQLResponse
- Location
- LowestPrice
- MachineHost
- MachineInfo
- MyselfData
- MyselfDataCenters
- Just holds the array of datacenters.
- MyselfPods
- MyselfPodsWithPorts
- MyselfResponse
- NetworkVolume
- NetworkVolumeCreateInput
- NetworkVolumeInfo
- NetworkVolumeUpdateInput
- Pod
- PodContainerStats
- PodCreateInput
- PodCreateResponseData
- PodGpuStats
- PodInfoFull
- PodInfoMinimal
- PodInfoMinimalStop
- PodInfoResponseData
- PodMachineInfo
- PodNetworkPort
- PodRuntime
- PodRuntimePorts
- PodStartResponseData
- PodStopResponseData
- PodStorage
- PodWithPorts
- PodsListResponseData
- PodsWithPortsData
- RunpodClient
- Main client struct for interacting with RunPod.
- RuntimeInfo
- SavingsPlan
- Template
- Example “Template” struct, if you want to store the template data from an endpoint:
- Endpoints
- A list of endpoints, as returned by the “GET /endpoints” route.