runpod

package
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: 8 Imported by: 0

Documentation

Overview

Package runpod exports types, functions, subpackages for provisioning runpod resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pod

type Pod struct {
	pulumi.CustomResourceState

	CloudType pulumi.StringOutput `pulumi:"cloudType"`
	GpuCount  pulumi.IntOutput    `pulumi:"gpuCount"`
	GpuTypeId pulumi.StringOutput `pulumi:"gpuTypeId"`
}

func GetPod

func GetPod(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PodState, opts ...pulumi.ResourceOption) (*Pod, error)

GetPod gets an existing Pod resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPod

func NewPod(ctx *pulumi.Context,
	name string, args *PodArgs, opts ...pulumi.ResourceOption) (*Pod, error)

NewPod registers a new resource with the given unique name, arguments, and options.

func (*Pod) ElementType

func (*Pod) ElementType() reflect.Type

func (*Pod) ToOutput

func (i *Pod) ToOutput(ctx context.Context) pulumix.Output[*Pod]

func (*Pod) ToPodOutput

func (i *Pod) ToPodOutput() PodOutput

func (*Pod) ToPodOutputWithContext

func (i *Pod) ToPodOutputWithContext(ctx context.Context) PodOutput

type PodArgs

type PodArgs struct {
	CloudType pulumi.StringInput
	GpuCount  pulumi.IntInput
	GpuTypeId pulumi.StringInput
}

The set of arguments for constructing a Pod resource.

func (PodArgs) ElementType

func (PodArgs) ElementType() reflect.Type

type PodInput

type PodInput interface {
	pulumi.Input

	ToPodOutput() PodOutput
	ToPodOutputWithContext(ctx context.Context) PodOutput
}

type PodOutput

type PodOutput struct{ *pulumi.OutputState }

func (PodOutput) CloudType

func (o PodOutput) CloudType() pulumi.StringOutput

func (PodOutput) ElementType

func (PodOutput) ElementType() reflect.Type

func (PodOutput) GpuCount

func (o PodOutput) GpuCount() pulumi.IntOutput

func (PodOutput) GpuTypeId

func (o PodOutput) GpuTypeId() pulumi.StringOutput

func (PodOutput) ToOutput

func (o PodOutput) ToOutput(ctx context.Context) pulumix.Output[*Pod]

func (PodOutput) ToPodOutput

func (o PodOutput) ToPodOutput() PodOutput

func (PodOutput) ToPodOutputWithContext

func (o PodOutput) ToPodOutputWithContext(ctx context.Context) PodOutput

type PodState

type PodState struct {
}

func (PodState) ElementType

func (PodState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	Token pulumi.StringOutput `pulumi:"token"`
}

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToOutput

func (i *Provider) ToOutput(ctx context.Context) pulumix.Output[*Provider]

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	Token pulumi.StringInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToOutput

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) Token

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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