provider

package module
v0.0.0-...-b8aca78 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Name string = "runpod"

Variables

View Source
var Version string

Functions

func Provider

func Provider() p.Provider

Types

type Config

type Config struct {
	Token string `pulumi:"token"`
}

type Pod

type Pod struct{}

func (*Pod) Create

func (*Pod) Create(ctx p.Context, name string, input PodArgs, preview bool) (string, PodState, error)

type PodArgs

type PodArgs struct {
	GpuTypeId string       `pulumi:"gpuTypeId"`
	GpuCount  int          `pulumi:"gpuCount"`
	CloudType PodCloudType `pulumi:"cloudType"`
}

type PodCloudType

type PodCloudType string
const (
	ALL       PodCloudType = "ALL"
	SECURE    PodCloudType = "SECURE"
	COMMUNITY PodCloudType = "COMMUNITY"
)

type PodState

type PodState struct {
	PodArgs
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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