fly

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing Fly.io resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	pulumi.CustomResourceState

	AppUrl pulumi.StringOutput `pulumi:"appUrl"`
	// Assign a shared ipv4 address to the app. Note that depending on conditions an app may get a shared ip automatically.
	AssignSharedIpAddress pulumi.BoolOutput `pulumi:"assignSharedIpAddress"`
	// Name of application
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the organization to generate the app in, ex: `personal` (your initial org)
	Org   pulumi.StringOutput `pulumi:"org"`
	OrgId pulumi.StringOutput `pulumi:"orgId"`
	// A shared ipv4 address, automatically attached in certain conditions or if explicitly requested
	SharedIpAddress pulumi.StringOutput `pulumi:"sharedIpAddress"`
}

func GetApp

func GetApp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppState, opts ...pulumi.ResourceOption) (*App, error)

GetApp gets an existing App 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 NewApp

func NewApp(ctx *pulumi.Context,
	name string, args *AppArgs, opts ...pulumi.ResourceOption) (*App, error)

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

func (*App) ElementType

func (*App) ElementType() reflect.Type

func (*App) ToAppOutput

func (i *App) ToAppOutput() AppOutput

func (*App) ToAppOutputWithContext

func (i *App) ToAppOutputWithContext(ctx context.Context) AppOutput

type AppArgs

type AppArgs struct {
	// Assign a shared ipv4 address to the app. Note that depending on conditions an app may get a shared ip automatically.
	AssignSharedIpAddress pulumi.BoolPtrInput
	// Name of application
	Name pulumi.StringPtrInput
	// The name of the organization to generate the app in, ex: `personal` (your initial org)
	Org pulumi.StringPtrInput
}

The set of arguments for constructing a App resource.

func (AppArgs) ElementType

func (AppArgs) ElementType() reflect.Type

type AppArray

type AppArray []AppInput

func (AppArray) ElementType

func (AppArray) ElementType() reflect.Type

func (AppArray) ToAppArrayOutput

func (i AppArray) ToAppArrayOutput() AppArrayOutput

func (AppArray) ToAppArrayOutputWithContext

func (i AppArray) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput

type AppArrayInput

type AppArrayInput interface {
	pulumi.Input

	ToAppArrayOutput() AppArrayOutput
	ToAppArrayOutputWithContext(context.Context) AppArrayOutput
}

AppArrayInput is an input type that accepts AppArray and AppArrayOutput values. You can construct a concrete instance of `AppArrayInput` via:

AppArray{ AppArgs{...} }

type AppArrayOutput

type AppArrayOutput struct{ *pulumi.OutputState }

func (AppArrayOutput) ElementType

func (AppArrayOutput) ElementType() reflect.Type

func (AppArrayOutput) Index

func (AppArrayOutput) ToAppArrayOutput

func (o AppArrayOutput) ToAppArrayOutput() AppArrayOutput

func (AppArrayOutput) ToAppArrayOutputWithContext

func (o AppArrayOutput) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput

type AppInput

type AppInput interface {
	pulumi.Input

	ToAppOutput() AppOutput
	ToAppOutputWithContext(ctx context.Context) AppOutput
}

type AppMap

type AppMap map[string]AppInput

func (AppMap) ElementType

func (AppMap) ElementType() reflect.Type

func (AppMap) ToAppMapOutput

func (i AppMap) ToAppMapOutput() AppMapOutput

func (AppMap) ToAppMapOutputWithContext

func (i AppMap) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput

type AppMapInput

type AppMapInput interface {
	pulumi.Input

	ToAppMapOutput() AppMapOutput
	ToAppMapOutputWithContext(context.Context) AppMapOutput
}

AppMapInput is an input type that accepts AppMap and AppMapOutput values. You can construct a concrete instance of `AppMapInput` via:

AppMap{ "key": AppArgs{...} }

type AppMapOutput

type AppMapOutput struct{ *pulumi.OutputState }

func (AppMapOutput) ElementType

func (AppMapOutput) ElementType() reflect.Type

func (AppMapOutput) MapIndex

func (o AppMapOutput) MapIndex(k pulumi.StringInput) AppOutput

func (AppMapOutput) ToAppMapOutput

func (o AppMapOutput) ToAppMapOutput() AppMapOutput

func (AppMapOutput) ToAppMapOutputWithContext

func (o AppMapOutput) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput

type AppOutput

type AppOutput struct{ *pulumi.OutputState }

func (AppOutput) AppUrl

func (o AppOutput) AppUrl() pulumi.StringOutput

func (AppOutput) AssignSharedIpAddress

func (o AppOutput) AssignSharedIpAddress() pulumi.BoolOutput

Assign a shared ipv4 address to the app. Note that depending on conditions an app may get a shared ip automatically.

func (AppOutput) ElementType

func (AppOutput) ElementType() reflect.Type

func (AppOutput) Name

func (o AppOutput) Name() pulumi.StringOutput

Name of application

func (AppOutput) Org

func (o AppOutput) Org() pulumi.StringOutput

The name of the organization to generate the app in, ex: `personal` (your initial org)

func (AppOutput) OrgId

func (o AppOutput) OrgId() pulumi.StringOutput

func (AppOutput) SharedIpAddress

func (o AppOutput) SharedIpAddress() pulumi.StringOutput

A shared ipv4 address, automatically attached in certain conditions or if explicitly requested

func (AppOutput) ToAppOutput

func (o AppOutput) ToAppOutput() AppOutput

func (AppOutput) ToAppOutputWithContext

func (o AppOutput) ToAppOutputWithContext(ctx context.Context) AppOutput

type AppState

type AppState struct {
	AppUrl pulumi.StringPtrInput
	// Assign a shared ipv4 address to the app. Note that depending on conditions an app may get a shared ip automatically.
	AssignSharedIpAddress pulumi.BoolPtrInput
	// Name of application
	Name pulumi.StringPtrInput
	// The name of the organization to generate the app in, ex: `personal` (your initial org)
	Org   pulumi.StringPtrInput
	OrgId pulumi.StringPtrInput
	// A shared ipv4 address, automatically attached in certain conditions or if explicitly requested
	SharedIpAddress pulumi.StringPtrInput
}

func (AppState) ElementType

func (AppState) ElementType() reflect.Type

type Cert

type Cert struct {
	pulumi.CustomResourceState

	// The App this resource will be created in
	App                       pulumi.StringOutput `pulumi:"app"`
	Check                     pulumi.BoolOutput   `pulumi:"check"`
	DnsValidationHostname     pulumi.StringOutput `pulumi:"dnsValidationHostname"`
	DnsValidationInstructions pulumi.StringOutput `pulumi:"dnsValidationInstructions"`
	DnsValidationTarget       pulumi.StringOutput `pulumi:"dnsValidationTarget"`
	Hostname                  pulumi.StringOutput `pulumi:"hostname"`
}

Fly certificate resource

func GetCert

func GetCert(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertState, opts ...pulumi.ResourceOption) (*Cert, error)

GetCert gets an existing Cert 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 NewCert

func NewCert(ctx *pulumi.Context,
	name string, args *CertArgs, opts ...pulumi.ResourceOption) (*Cert, error)

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

func (*Cert) ElementType

func (*Cert) ElementType() reflect.Type

func (*Cert) ToCertOutput

func (i *Cert) ToCertOutput() CertOutput

func (*Cert) ToCertOutputWithContext

func (i *Cert) ToCertOutputWithContext(ctx context.Context) CertOutput

type CertArgs

type CertArgs struct {
	// The App this resource will be created in
	App      pulumi.StringInput
	Hostname pulumi.StringInput
}

The set of arguments for constructing a Cert resource.

func (CertArgs) ElementType

func (CertArgs) ElementType() reflect.Type

type CertArray

type CertArray []CertInput

func (CertArray) ElementType

func (CertArray) ElementType() reflect.Type

func (CertArray) ToCertArrayOutput

func (i CertArray) ToCertArrayOutput() CertArrayOutput

func (CertArray) ToCertArrayOutputWithContext

func (i CertArray) ToCertArrayOutputWithContext(ctx context.Context) CertArrayOutput

type CertArrayInput

type CertArrayInput interface {
	pulumi.Input

	ToCertArrayOutput() CertArrayOutput
	ToCertArrayOutputWithContext(context.Context) CertArrayOutput
}

CertArrayInput is an input type that accepts CertArray and CertArrayOutput values. You can construct a concrete instance of `CertArrayInput` via:

CertArray{ CertArgs{...} }

type CertArrayOutput

type CertArrayOutput struct{ *pulumi.OutputState }

func (CertArrayOutput) ElementType

func (CertArrayOutput) ElementType() reflect.Type

func (CertArrayOutput) Index

func (CertArrayOutput) ToCertArrayOutput

func (o CertArrayOutput) ToCertArrayOutput() CertArrayOutput

func (CertArrayOutput) ToCertArrayOutputWithContext

func (o CertArrayOutput) ToCertArrayOutputWithContext(ctx context.Context) CertArrayOutput

type CertInput

type CertInput interface {
	pulumi.Input

	ToCertOutput() CertOutput
	ToCertOutputWithContext(ctx context.Context) CertOutput
}

type CertMap

type CertMap map[string]CertInput

func (CertMap) ElementType

func (CertMap) ElementType() reflect.Type

func (CertMap) ToCertMapOutput

func (i CertMap) ToCertMapOutput() CertMapOutput

func (CertMap) ToCertMapOutputWithContext

func (i CertMap) ToCertMapOutputWithContext(ctx context.Context) CertMapOutput

type CertMapInput

type CertMapInput interface {
	pulumi.Input

	ToCertMapOutput() CertMapOutput
	ToCertMapOutputWithContext(context.Context) CertMapOutput
}

CertMapInput is an input type that accepts CertMap and CertMapOutput values. You can construct a concrete instance of `CertMapInput` via:

CertMap{ "key": CertArgs{...} }

type CertMapOutput

type CertMapOutput struct{ *pulumi.OutputState }

func (CertMapOutput) ElementType

func (CertMapOutput) ElementType() reflect.Type

func (CertMapOutput) MapIndex

func (CertMapOutput) ToCertMapOutput

func (o CertMapOutput) ToCertMapOutput() CertMapOutput

func (CertMapOutput) ToCertMapOutputWithContext

func (o CertMapOutput) ToCertMapOutputWithContext(ctx context.Context) CertMapOutput

type CertOutput

type CertOutput struct{ *pulumi.OutputState }

func (CertOutput) App

func (o CertOutput) App() pulumi.StringOutput

The App this resource will be created in

func (CertOutput) Check

func (o CertOutput) Check() pulumi.BoolOutput

func (CertOutput) DnsValidationHostname

func (o CertOutput) DnsValidationHostname() pulumi.StringOutput

func (CertOutput) DnsValidationInstructions

func (o CertOutput) DnsValidationInstructions() pulumi.StringOutput

func (CertOutput) DnsValidationTarget

func (o CertOutput) DnsValidationTarget() pulumi.StringOutput

func (CertOutput) ElementType

func (CertOutput) ElementType() reflect.Type

func (CertOutput) Hostname

func (o CertOutput) Hostname() pulumi.StringOutput

func (CertOutput) ToCertOutput

func (o CertOutput) ToCertOutput() CertOutput

func (CertOutput) ToCertOutputWithContext

func (o CertOutput) ToCertOutputWithContext(ctx context.Context) CertOutput

type CertState

type CertState struct {
	// The App this resource will be created in
	App                       pulumi.StringPtrInput
	Check                     pulumi.BoolPtrInput
	DnsValidationHostname     pulumi.StringPtrInput
	DnsValidationInstructions pulumi.StringPtrInput
	DnsValidationTarget       pulumi.StringPtrInput
	Hostname                  pulumi.StringPtrInput
}

func (CertState) ElementType

func (CertState) ElementType() reflect.Type

type Ip

type Ip struct {
	pulumi.CustomResourceState

	// Empty if using `sharedV4`
	Address pulumi.StringOutput `pulumi:"address"`
	// The App this resource will be created in
	App pulumi.StringOutput `pulumi:"app"`
	// Fly region, ex `ord`, `sin`, `mad`
	Region pulumi.StringOutput `pulumi:"region"`
	// One of the following values (by regex): `^(v4|v6|private_v6)$`
	Type pulumi.StringOutput `pulumi:"type"`
}

func GetIp

func GetIp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IpState, opts ...pulumi.ResourceOption) (*Ip, error)

GetIp gets an existing Ip 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 NewIp

func NewIp(ctx *pulumi.Context,
	name string, args *IpArgs, opts ...pulumi.ResourceOption) (*Ip, error)

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

func (*Ip) ElementType

func (*Ip) ElementType() reflect.Type

func (*Ip) ToIpOutput

func (i *Ip) ToIpOutput() IpOutput

func (*Ip) ToIpOutputWithContext

func (i *Ip) ToIpOutputWithContext(ctx context.Context) IpOutput

type IpArgs

type IpArgs struct {
	// The App this resource will be created in
	App pulumi.StringInput
	// Fly region, ex `ord`, `sin`, `mad`
	Region pulumi.StringPtrInput
	// One of the following values (by regex): `^(v4|v6|private_v6)$`
	Type pulumi.StringInput
}

The set of arguments for constructing a Ip resource.

func (IpArgs) ElementType

func (IpArgs) ElementType() reflect.Type

type IpArray

type IpArray []IpInput

func (IpArray) ElementType

func (IpArray) ElementType() reflect.Type

func (IpArray) ToIpArrayOutput

func (i IpArray) ToIpArrayOutput() IpArrayOutput

func (IpArray) ToIpArrayOutputWithContext

func (i IpArray) ToIpArrayOutputWithContext(ctx context.Context) IpArrayOutput

type IpArrayInput

type IpArrayInput interface {
	pulumi.Input

	ToIpArrayOutput() IpArrayOutput
	ToIpArrayOutputWithContext(context.Context) IpArrayOutput
}

IpArrayInput is an input type that accepts IpArray and IpArrayOutput values. You can construct a concrete instance of `IpArrayInput` via:

IpArray{ IpArgs{...} }

type IpArrayOutput

type IpArrayOutput struct{ *pulumi.OutputState }

func (IpArrayOutput) ElementType

func (IpArrayOutput) ElementType() reflect.Type

func (IpArrayOutput) Index

func (IpArrayOutput) ToIpArrayOutput

func (o IpArrayOutput) ToIpArrayOutput() IpArrayOutput

func (IpArrayOutput) ToIpArrayOutputWithContext

func (o IpArrayOutput) ToIpArrayOutputWithContext(ctx context.Context) IpArrayOutput

type IpInput

type IpInput interface {
	pulumi.Input

	ToIpOutput() IpOutput
	ToIpOutputWithContext(ctx context.Context) IpOutput
}

type IpMap

type IpMap map[string]IpInput

func (IpMap) ElementType

func (IpMap) ElementType() reflect.Type

func (IpMap) ToIpMapOutput

func (i IpMap) ToIpMapOutput() IpMapOutput

func (IpMap) ToIpMapOutputWithContext

func (i IpMap) ToIpMapOutputWithContext(ctx context.Context) IpMapOutput

type IpMapInput

type IpMapInput interface {
	pulumi.Input

	ToIpMapOutput() IpMapOutput
	ToIpMapOutputWithContext(context.Context) IpMapOutput
}

IpMapInput is an input type that accepts IpMap and IpMapOutput values. You can construct a concrete instance of `IpMapInput` via:

IpMap{ "key": IpArgs{...} }

type IpMapOutput

type IpMapOutput struct{ *pulumi.OutputState }

func (IpMapOutput) ElementType

func (IpMapOutput) ElementType() reflect.Type

func (IpMapOutput) MapIndex

func (o IpMapOutput) MapIndex(k pulumi.StringInput) IpOutput

func (IpMapOutput) ToIpMapOutput

func (o IpMapOutput) ToIpMapOutput() IpMapOutput

func (IpMapOutput) ToIpMapOutputWithContext

func (o IpMapOutput) ToIpMapOutputWithContext(ctx context.Context) IpMapOutput

type IpOutput

type IpOutput struct{ *pulumi.OutputState }

func (IpOutput) Address

func (o IpOutput) Address() pulumi.StringOutput

Empty if using `sharedV4`

func (IpOutput) App

func (o IpOutput) App() pulumi.StringOutput

The App this resource will be created in

func (IpOutput) ElementType

func (IpOutput) ElementType() reflect.Type

func (IpOutput) Region

func (o IpOutput) Region() pulumi.StringOutput

Fly region, ex `ord`, `sin`, `mad`

func (IpOutput) ToIpOutput

func (o IpOutput) ToIpOutput() IpOutput

func (IpOutput) ToIpOutputWithContext

func (o IpOutput) ToIpOutputWithContext(ctx context.Context) IpOutput

func (IpOutput) Type

func (o IpOutput) Type() pulumi.StringOutput

One of the following values (by regex): `^(v4|v6|private_v6)$`

type IpState

type IpState struct {
	// Empty if using `sharedV4`
	Address pulumi.StringPtrInput
	// The App this resource will be created in
	App pulumi.StringPtrInput
	// Fly region, ex `ord`, `sin`, `mad`
	Region pulumi.StringPtrInput
	// One of the following values (by regex): `^(v4|v6|private_v6)$`
	Type pulumi.StringPtrInput
}

func (IpState) ElementType

func (IpState) ElementType() reflect.Type

type LookupAppArgs

type LookupAppArgs struct {
	// Name of app
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getApp.

type LookupAppOutputArgs

type LookupAppOutputArgs struct {
	// Name of app
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getApp.

func (LookupAppOutputArgs) ElementType

func (LookupAppOutputArgs) ElementType() reflect.Type

type LookupAppResult

type LookupAppResult struct {
	Appurl         string   `pulumi:"appurl"`
	Currentrelease string   `pulumi:"currentrelease"`
	Deployed       bool     `pulumi:"deployed"`
	Healthchecks   []string `pulumi:"healthchecks"`
	Hostname       string   `pulumi:"hostname"`
	// The ID of this resource.
	Id          string   `pulumi:"id"`
	Ipaddresses []string `pulumi:"ipaddresses"`
	// Name of app
	Name string `pulumi:"name"`
	// A shared ipv4 address, automatically attached in certain conditions or if explicitly requested
	Sharedipaddress string `pulumi:"sharedipaddress"`
	Status          string `pulumi:"status"`
}

A collection of values returned by getApp.

func LookupApp

func LookupApp(ctx *pulumi.Context, args *LookupAppArgs, opts ...pulumi.InvokeOption) (*LookupAppResult, error)

type LookupAppResultOutput

type LookupAppResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApp.

func (LookupAppResultOutput) Appurl

func (LookupAppResultOutput) Currentrelease

func (o LookupAppResultOutput) Currentrelease() pulumi.StringOutput

func (LookupAppResultOutput) Deployed

func (LookupAppResultOutput) ElementType

func (LookupAppResultOutput) ElementType() reflect.Type

func (LookupAppResultOutput) Healthchecks

func (LookupAppResultOutput) Hostname

func (LookupAppResultOutput) Id

The ID of this resource.

func (LookupAppResultOutput) Ipaddresses

func (LookupAppResultOutput) Name

Name of app

func (LookupAppResultOutput) Sharedipaddress

func (o LookupAppResultOutput) Sharedipaddress() pulumi.StringOutput

A shared ipv4 address, automatically attached in certain conditions or if explicitly requested

func (LookupAppResultOutput) Status

func (LookupAppResultOutput) ToLookupAppResultOutput

func (o LookupAppResultOutput) ToLookupAppResultOutput() LookupAppResultOutput

func (LookupAppResultOutput) ToLookupAppResultOutputWithContext

func (o LookupAppResultOutput) ToLookupAppResultOutputWithContext(ctx context.Context) LookupAppResultOutput

type LookupCertArgs

type LookupCertArgs struct {
	// The App this resource will be created in
	App      string `pulumi:"app"`
	Hostname string `pulumi:"hostname"`
}

A collection of arguments for invoking getCert.

type LookupCertOutputArgs

type LookupCertOutputArgs struct {
	// The App this resource will be created in
	App      pulumi.StringInput `pulumi:"app"`
	Hostname pulumi.StringInput `pulumi:"hostname"`
}

A collection of arguments for invoking getCert.

func (LookupCertOutputArgs) ElementType

func (LookupCertOutputArgs) ElementType() reflect.Type

type LookupCertResult

type LookupCertResult struct {
	// The App this resource will be created in
	App                       string `pulumi:"app"`
	Check                     bool   `pulumi:"check"`
	DnsValidationHostname     string `pulumi:"dnsValidationHostname"`
	DnsValidationInstructions string `pulumi:"dnsValidationInstructions"`
	DnsValidationTarget       string `pulumi:"dnsValidationTarget"`
	Hostname                  string `pulumi:"hostname"`
	// A fly-generated ID
	Id string `pulumi:"id"`
}

A collection of values returned by getCert.

func LookupCert

func LookupCert(ctx *pulumi.Context, args *LookupCertArgs, opts ...pulumi.InvokeOption) (*LookupCertResult, error)

type LookupCertResultOutput

type LookupCertResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCert.

func (LookupCertResultOutput) App

The App this resource will be created in

func (LookupCertResultOutput) Check

func (LookupCertResultOutput) DnsValidationHostname

func (o LookupCertResultOutput) DnsValidationHostname() pulumi.StringOutput

func (LookupCertResultOutput) DnsValidationInstructions

func (o LookupCertResultOutput) DnsValidationInstructions() pulumi.StringOutput

func (LookupCertResultOutput) DnsValidationTarget

func (o LookupCertResultOutput) DnsValidationTarget() pulumi.StringOutput

func (LookupCertResultOutput) ElementType

func (LookupCertResultOutput) ElementType() reflect.Type

func (LookupCertResultOutput) Hostname

func (LookupCertResultOutput) Id

A fly-generated ID

func (LookupCertResultOutput) ToLookupCertResultOutput

func (o LookupCertResultOutput) ToLookupCertResultOutput() LookupCertResultOutput

func (LookupCertResultOutput) ToLookupCertResultOutputWithContext

func (o LookupCertResultOutput) ToLookupCertResultOutputWithContext(ctx context.Context) LookupCertResultOutput

type LookupIpArgs

type LookupIpArgs struct {
	// The App this resource will be created in
	App string `pulumi:"app"`
	// A fly-generated ID
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getIp.

type LookupIpOutputArgs

type LookupIpOutputArgs struct {
	// The App this resource will be created in
	App pulumi.StringInput `pulumi:"app"`
	// A fly-generated ID
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getIp.

func (LookupIpOutputArgs) ElementType

func (LookupIpOutputArgs) ElementType() reflect.Type

type LookupIpResult

type LookupIpResult struct {
	// Empty if using `sharedV4`
	Address string `pulumi:"address"`
	// The App this resource will be created in
	App string `pulumi:"app"`
	// A fly-generated ID
	Id string `pulumi:"id"`
	// Fly region, ex `ord`, `sin`, `mad`
	Region string `pulumi:"region"`
	// `v4`, `v6`, or `privateV6`
	Type string `pulumi:"type"`
}

A collection of values returned by getIp.

func LookupIp

func LookupIp(ctx *pulumi.Context, args *LookupIpArgs, opts ...pulumi.InvokeOption) (*LookupIpResult, error)

type LookupIpResultOutput

type LookupIpResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIp.

func (LookupIpResultOutput) Address

Empty if using `sharedV4`

func (LookupIpResultOutput) App

The App this resource will be created in

func (LookupIpResultOutput) ElementType

func (LookupIpResultOutput) ElementType() reflect.Type

func (LookupIpResultOutput) Id

A fly-generated ID

func (LookupIpResultOutput) Region

Fly region, ex `ord`, `sin`, `mad`

func (LookupIpResultOutput) ToLookupIpResultOutput

func (o LookupIpResultOutput) ToLookupIpResultOutput() LookupIpResultOutput

func (LookupIpResultOutput) ToLookupIpResultOutputWithContext

func (o LookupIpResultOutput) ToLookupIpResultOutputWithContext(ctx context.Context) LookupIpResultOutput

func (LookupIpResultOutput) Type

`v4`, `v6`, or `privateV6`

type LookupVolumeArgs

type LookupVolumeArgs struct {
	// The App this resource will be created in
	App string `pulumi:"app"`
	// A fly-generated ID
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getVolume.

type LookupVolumeOutputArgs

type LookupVolumeOutputArgs struct {
	// The App this resource will be created in
	App pulumi.StringInput `pulumi:"app"`
	// A fly-generated ID
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getVolume.

func (LookupVolumeOutputArgs) ElementType

func (LookupVolumeOutputArgs) ElementType() reflect.Type

type LookupVolumeResult

type LookupVolumeResult struct {
	// The App this resource will be created in
	App       string `pulumi:"app"`
	Encrypted bool   `pulumi:"encrypted"`
	// A fly-generated ID
	Id string `pulumi:"id"`
	// A user-provided identifier
	Name string `pulumi:"name"`
	// Fly region, ex `ord`, `sin`, `mad`
	Region string `pulumi:"region"`
	// Size of volume in GB
	Size int `pulumi:"size"`
}

A collection of values returned by getVolume.

func LookupVolume

func LookupVolume(ctx *pulumi.Context, args *LookupVolumeArgs, opts ...pulumi.InvokeOption) (*LookupVolumeResult, error)

type LookupVolumeResultOutput

type LookupVolumeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVolume.

func (LookupVolumeResultOutput) App

The App this resource will be created in

func (LookupVolumeResultOutput) ElementType

func (LookupVolumeResultOutput) ElementType() reflect.Type

func (LookupVolumeResultOutput) Encrypted

func (LookupVolumeResultOutput) Id

A fly-generated ID

func (LookupVolumeResultOutput) Name

A user-provided identifier

func (LookupVolumeResultOutput) Region

Fly region, ex `ord`, `sin`, `mad`

func (LookupVolumeResultOutput) Size

Size of volume in GB

func (LookupVolumeResultOutput) ToLookupVolumeResultOutput

func (o LookupVolumeResultOutput) ToLookupVolumeResultOutput() LookupVolumeResultOutput

func (LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext

func (o LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext(ctx context.Context) LookupVolumeResultOutput

type Machine

type Machine struct {
	pulumi.CustomResourceState

	// The App this resource will be created in
	App pulumi.StringOutput `pulumi:"app"`
	// Optional boolean telling the Machine to destroy itself once it's complete
	AutoDestroy pulumi.BoolOutput        `pulumi:"autoDestroy"`
	Cmds        pulumi.StringArrayOutput `pulumi:"cmds"`
	// Which machine flavor, ex: `shared`
	CpuType     pulumi.StringOutput      `pulumi:"cpuType"`
	Cpus        pulumi.IntOutput         `pulumi:"cpus"`
	Entrypoints pulumi.StringArrayOutput `pulumi:"entrypoints"`
	// Keys and values must be strings
	Env   pulumi.StringMapOutput   `pulumi:"env"`
	Execs pulumi.StringArrayOutput `pulumi:"execs"`
	// Protocol-less docker image, ex: `registry.fly.io/myapp:mytag`
	Image pulumi.StringOutput `pulumi:"image"`
	// Amount of memory in MB. `256`, `512`, `1024`, ...
	Memory pulumi.IntOutput        `pulumi:"memory"`
	Mounts MachineMountArrayOutput `pulumi:"mounts"`
	// A user-provided identifier
	Name      pulumi.StringOutput `pulumi:"name"`
	PrivateIp pulumi.StringOutput `pulumi:"privateIp"`
	// Fly region, ex `ord`, `sin`, `mad`
	Region   pulumi.StringOutput       `pulumi:"region"`
	Services MachineServiceArrayOutput `pulumi:"services"`
}

func GetMachine

func GetMachine(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MachineState, opts ...pulumi.ResourceOption) (*Machine, error)

GetMachine gets an existing Machine 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 NewMachine

func NewMachine(ctx *pulumi.Context,
	name string, args *MachineArgs, opts ...pulumi.ResourceOption) (*Machine, error)

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

func (*Machine) ElementType

func (*Machine) ElementType() reflect.Type

func (*Machine) ToMachineOutput

func (i *Machine) ToMachineOutput() MachineOutput

func (*Machine) ToMachineOutputWithContext

func (i *Machine) ToMachineOutputWithContext(ctx context.Context) MachineOutput

type MachineArgs

type MachineArgs struct {
	// The App this resource will be created in
	App pulumi.StringInput
	// Optional boolean telling the Machine to destroy itself once it's complete
	AutoDestroy pulumi.BoolPtrInput
	Cmds        pulumi.StringArrayInput
	// Which machine flavor, ex: `shared`
	CpuType     pulumi.StringPtrInput
	Cpus        pulumi.IntPtrInput
	Entrypoints pulumi.StringArrayInput
	// Keys and values must be strings
	Env   pulumi.StringMapInput
	Execs pulumi.StringArrayInput
	// Protocol-less docker image, ex: `registry.fly.io/myapp:mytag`
	Image pulumi.StringInput
	// Amount of memory in MB. `256`, `512`, `1024`, ...
	Memory pulumi.IntPtrInput
	Mounts MachineMountArrayInput
	// A user-provided identifier
	Name pulumi.StringPtrInput
	// Fly region, ex `ord`, `sin`, `mad`
	Region   pulumi.StringInput
	Services MachineServiceArrayInput
}

The set of arguments for constructing a Machine resource.

func (MachineArgs) ElementType

func (MachineArgs) ElementType() reflect.Type

type MachineArray

type MachineArray []MachineInput

func (MachineArray) ElementType

func (MachineArray) ElementType() reflect.Type

func (MachineArray) ToMachineArrayOutput

func (i MachineArray) ToMachineArrayOutput() MachineArrayOutput

func (MachineArray) ToMachineArrayOutputWithContext

func (i MachineArray) ToMachineArrayOutputWithContext(ctx context.Context) MachineArrayOutput

type MachineArrayInput

type MachineArrayInput interface {
	pulumi.Input

	ToMachineArrayOutput() MachineArrayOutput
	ToMachineArrayOutputWithContext(context.Context) MachineArrayOutput
}

MachineArrayInput is an input type that accepts MachineArray and MachineArrayOutput values. You can construct a concrete instance of `MachineArrayInput` via:

MachineArray{ MachineArgs{...} }

type MachineArrayOutput

type MachineArrayOutput struct{ *pulumi.OutputState }

func (MachineArrayOutput) ElementType

func (MachineArrayOutput) ElementType() reflect.Type

func (MachineArrayOutput) Index

func (MachineArrayOutput) ToMachineArrayOutput

func (o MachineArrayOutput) ToMachineArrayOutput() MachineArrayOutput

func (MachineArrayOutput) ToMachineArrayOutputWithContext

func (o MachineArrayOutput) ToMachineArrayOutputWithContext(ctx context.Context) MachineArrayOutput

type MachineInput

type MachineInput interface {
	pulumi.Input

	ToMachineOutput() MachineOutput
	ToMachineOutputWithContext(ctx context.Context) MachineOutput
}

type MachineMap

type MachineMap map[string]MachineInput

func (MachineMap) ElementType

func (MachineMap) ElementType() reflect.Type

func (MachineMap) ToMachineMapOutput

func (i MachineMap) ToMachineMapOutput() MachineMapOutput

func (MachineMap) ToMachineMapOutputWithContext

func (i MachineMap) ToMachineMapOutputWithContext(ctx context.Context) MachineMapOutput

type MachineMapInput

type MachineMapInput interface {
	pulumi.Input

	ToMachineMapOutput() MachineMapOutput
	ToMachineMapOutputWithContext(context.Context) MachineMapOutput
}

MachineMapInput is an input type that accepts MachineMap and MachineMapOutput values. You can construct a concrete instance of `MachineMapInput` via:

MachineMap{ "key": MachineArgs{...} }

type MachineMapOutput

type MachineMapOutput struct{ *pulumi.OutputState }

func (MachineMapOutput) ElementType

func (MachineMapOutput) ElementType() reflect.Type

func (MachineMapOutput) MapIndex

func (MachineMapOutput) ToMachineMapOutput

func (o MachineMapOutput) ToMachineMapOutput() MachineMapOutput

func (MachineMapOutput) ToMachineMapOutputWithContext

func (o MachineMapOutput) ToMachineMapOutputWithContext(ctx context.Context) MachineMapOutput

type MachineMount

type MachineMount struct {
	// Path for volume to be mounted on vm, ex: `/data`
	Path string `pulumi:"path"`
	// ID of volume
	Volume string `pulumi:"volume"`
}

type MachineMountArgs

type MachineMountArgs struct {
	// Path for volume to be mounted on vm, ex: `/data`
	Path pulumi.StringInput `pulumi:"path"`
	// ID of volume
	Volume pulumi.StringInput `pulumi:"volume"`
}

func (MachineMountArgs) ElementType

func (MachineMountArgs) ElementType() reflect.Type

func (MachineMountArgs) ToMachineMountOutput

func (i MachineMountArgs) ToMachineMountOutput() MachineMountOutput

func (MachineMountArgs) ToMachineMountOutputWithContext

func (i MachineMountArgs) ToMachineMountOutputWithContext(ctx context.Context) MachineMountOutput

type MachineMountArray

type MachineMountArray []MachineMountInput

func (MachineMountArray) ElementType

func (MachineMountArray) ElementType() reflect.Type

func (MachineMountArray) ToMachineMountArrayOutput

func (i MachineMountArray) ToMachineMountArrayOutput() MachineMountArrayOutput

func (MachineMountArray) ToMachineMountArrayOutputWithContext

func (i MachineMountArray) ToMachineMountArrayOutputWithContext(ctx context.Context) MachineMountArrayOutput

type MachineMountArrayInput

type MachineMountArrayInput interface {
	pulumi.Input

	ToMachineMountArrayOutput() MachineMountArrayOutput
	ToMachineMountArrayOutputWithContext(context.Context) MachineMountArrayOutput
}

MachineMountArrayInput is an input type that accepts MachineMountArray and MachineMountArrayOutput values. You can construct a concrete instance of `MachineMountArrayInput` via:

MachineMountArray{ MachineMountArgs{...} }

type MachineMountArrayOutput

type MachineMountArrayOutput struct{ *pulumi.OutputState }

func (MachineMountArrayOutput) ElementType

func (MachineMountArrayOutput) ElementType() reflect.Type

func (MachineMountArrayOutput) Index

func (MachineMountArrayOutput) ToMachineMountArrayOutput

func (o MachineMountArrayOutput) ToMachineMountArrayOutput() MachineMountArrayOutput

func (MachineMountArrayOutput) ToMachineMountArrayOutputWithContext

func (o MachineMountArrayOutput) ToMachineMountArrayOutputWithContext(ctx context.Context) MachineMountArrayOutput

type MachineMountInput

type MachineMountInput interface {
	pulumi.Input

	ToMachineMountOutput() MachineMountOutput
	ToMachineMountOutputWithContext(context.Context) MachineMountOutput
}

MachineMountInput is an input type that accepts MachineMountArgs and MachineMountOutput values. You can construct a concrete instance of `MachineMountInput` via:

MachineMountArgs{...}

type MachineMountOutput

type MachineMountOutput struct{ *pulumi.OutputState }

func (MachineMountOutput) ElementType

func (MachineMountOutput) ElementType() reflect.Type

func (MachineMountOutput) Path

Path for volume to be mounted on vm, ex: `/data`

func (MachineMountOutput) ToMachineMountOutput

func (o MachineMountOutput) ToMachineMountOutput() MachineMountOutput

func (MachineMountOutput) ToMachineMountOutputWithContext

func (o MachineMountOutput) ToMachineMountOutputWithContext(ctx context.Context) MachineMountOutput

func (MachineMountOutput) Volume

ID of volume

type MachineOutput

type MachineOutput struct{ *pulumi.OutputState }

func (MachineOutput) App

The App this resource will be created in

func (MachineOutput) AutoDestroy

func (o MachineOutput) AutoDestroy() pulumi.BoolOutput

Optional boolean telling the Machine to destroy itself once it's complete

func (MachineOutput) Cmds

func (MachineOutput) CpuType

func (o MachineOutput) CpuType() pulumi.StringOutput

Which machine flavor, ex: `shared`

func (MachineOutput) Cpus

func (o MachineOutput) Cpus() pulumi.IntOutput

func (MachineOutput) ElementType

func (MachineOutput) ElementType() reflect.Type

func (MachineOutput) Entrypoints

func (o MachineOutput) Entrypoints() pulumi.StringArrayOutput

func (MachineOutput) Env

Keys and values must be strings

func (MachineOutput) Execs

func (MachineOutput) Image

func (o MachineOutput) Image() pulumi.StringOutput

Protocol-less docker image, ex: `registry.fly.io/myapp:mytag`

func (MachineOutput) Memory

func (o MachineOutput) Memory() pulumi.IntOutput

Amount of memory in MB. `256`, `512`, `1024`, ...

func (MachineOutput) Mounts

func (MachineOutput) Name

A user-provided identifier

func (MachineOutput) PrivateIp

func (o MachineOutput) PrivateIp() pulumi.StringOutput

func (MachineOutput) Region

func (o MachineOutput) Region() pulumi.StringOutput

Fly region, ex `ord`, `sin`, `mad`

func (MachineOutput) Services

func (MachineOutput) ToMachineOutput

func (o MachineOutput) ToMachineOutput() MachineOutput

func (MachineOutput) ToMachineOutputWithContext

func (o MachineOutput) ToMachineOutputWithContext(ctx context.Context) MachineOutput

type MachineService

type MachineService struct {
	// Port the machine listens on
	InternalPort int `pulumi:"internalPort"`
	// How the port is exposed
	Ports []MachineServicePort `pulumi:"ports"`
	// `udp` or `tcp`
	Protocol string `pulumi:"protocol"`
}

type MachineServiceArgs

type MachineServiceArgs struct {
	// Port the machine listens on
	InternalPort pulumi.IntInput `pulumi:"internalPort"`
	// How the port is exposed
	Ports MachineServicePortArrayInput `pulumi:"ports"`
	// `udp` or `tcp`
	Protocol pulumi.StringInput `pulumi:"protocol"`
}

func (MachineServiceArgs) ElementType

func (MachineServiceArgs) ElementType() reflect.Type

func (MachineServiceArgs) ToMachineServiceOutput

func (i MachineServiceArgs) ToMachineServiceOutput() MachineServiceOutput

func (MachineServiceArgs) ToMachineServiceOutputWithContext

func (i MachineServiceArgs) ToMachineServiceOutputWithContext(ctx context.Context) MachineServiceOutput

type MachineServiceArray

type MachineServiceArray []MachineServiceInput

func (MachineServiceArray) ElementType

func (MachineServiceArray) ElementType() reflect.Type

func (MachineServiceArray) ToMachineServiceArrayOutput

func (i MachineServiceArray) ToMachineServiceArrayOutput() MachineServiceArrayOutput

func (MachineServiceArray) ToMachineServiceArrayOutputWithContext

func (i MachineServiceArray) ToMachineServiceArrayOutputWithContext(ctx context.Context) MachineServiceArrayOutput

type MachineServiceArrayInput

type MachineServiceArrayInput interface {
	pulumi.Input

	ToMachineServiceArrayOutput() MachineServiceArrayOutput
	ToMachineServiceArrayOutputWithContext(context.Context) MachineServiceArrayOutput
}

MachineServiceArrayInput is an input type that accepts MachineServiceArray and MachineServiceArrayOutput values. You can construct a concrete instance of `MachineServiceArrayInput` via:

MachineServiceArray{ MachineServiceArgs{...} }

type MachineServiceArrayOutput

type MachineServiceArrayOutput struct{ *pulumi.OutputState }

func (MachineServiceArrayOutput) ElementType

func (MachineServiceArrayOutput) ElementType() reflect.Type

func (MachineServiceArrayOutput) Index

func (MachineServiceArrayOutput) ToMachineServiceArrayOutput

func (o MachineServiceArrayOutput) ToMachineServiceArrayOutput() MachineServiceArrayOutput

func (MachineServiceArrayOutput) ToMachineServiceArrayOutputWithContext

func (o MachineServiceArrayOutput) ToMachineServiceArrayOutputWithContext(ctx context.Context) MachineServiceArrayOutput

type MachineServiceInput

type MachineServiceInput interface {
	pulumi.Input

	ToMachineServiceOutput() MachineServiceOutput
	ToMachineServiceOutputWithContext(context.Context) MachineServiceOutput
}

MachineServiceInput is an input type that accepts MachineServiceArgs and MachineServiceOutput values. You can construct a concrete instance of `MachineServiceInput` via:

MachineServiceArgs{...}

type MachineServiceOutput

type MachineServiceOutput struct{ *pulumi.OutputState }

func (MachineServiceOutput) ElementType

func (MachineServiceOutput) ElementType() reflect.Type

func (MachineServiceOutput) InternalPort

func (o MachineServiceOutput) InternalPort() pulumi.IntOutput

Port the machine listens on

func (MachineServiceOutput) Ports

How the port is exposed

func (MachineServiceOutput) Protocol

`udp` or `tcp`

func (MachineServiceOutput) ToMachineServiceOutput

func (o MachineServiceOutput) ToMachineServiceOutput() MachineServiceOutput

func (MachineServiceOutput) ToMachineServiceOutputWithContext

func (o MachineServiceOutput) ToMachineServiceOutputWithContext(ctx context.Context) MachineServiceOutput

type MachineServicePort

type MachineServicePort struct {
	// For a port range, the last port to listen on
	EndPort *int `pulumi:"endPort"`
	// Automatically redirect to HTTPS on "http" handler
	ForceHttps *bool `pulumi:"forceHttps"`
	// How the edge should process requests; ex empty, or `tls` to attach app's certificate
	Handlers []string `pulumi:"handlers"`
	// Mapped external port number, either `port` or `startPort` and `endPort` must be set.
	Port *int `pulumi:"port"`
	// For a port range, the first port to listen on.
	StartPort *int `pulumi:"startPort"`
}

type MachineServicePortArgs

type MachineServicePortArgs struct {
	// For a port range, the last port to listen on
	EndPort pulumi.IntPtrInput `pulumi:"endPort"`
	// Automatically redirect to HTTPS on "http" handler
	ForceHttps pulumi.BoolPtrInput `pulumi:"forceHttps"`
	// How the edge should process requests; ex empty, or `tls` to attach app's certificate
	Handlers pulumi.StringArrayInput `pulumi:"handlers"`
	// Mapped external port number, either `port` or `startPort` and `endPort` must be set.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// For a port range, the first port to listen on.
	StartPort pulumi.IntPtrInput `pulumi:"startPort"`
}

func (MachineServicePortArgs) ElementType

func (MachineServicePortArgs) ElementType() reflect.Type

func (MachineServicePortArgs) ToMachineServicePortOutput

func (i MachineServicePortArgs) ToMachineServicePortOutput() MachineServicePortOutput

func (MachineServicePortArgs) ToMachineServicePortOutputWithContext

func (i MachineServicePortArgs) ToMachineServicePortOutputWithContext(ctx context.Context) MachineServicePortOutput

type MachineServicePortArray

type MachineServicePortArray []MachineServicePortInput

func (MachineServicePortArray) ElementType

func (MachineServicePortArray) ElementType() reflect.Type

func (MachineServicePortArray) ToMachineServicePortArrayOutput

func (i MachineServicePortArray) ToMachineServicePortArrayOutput() MachineServicePortArrayOutput

func (MachineServicePortArray) ToMachineServicePortArrayOutputWithContext

func (i MachineServicePortArray) ToMachineServicePortArrayOutputWithContext(ctx context.Context) MachineServicePortArrayOutput

type MachineServicePortArrayInput

type MachineServicePortArrayInput interface {
	pulumi.Input

	ToMachineServicePortArrayOutput() MachineServicePortArrayOutput
	ToMachineServicePortArrayOutputWithContext(context.Context) MachineServicePortArrayOutput
}

MachineServicePortArrayInput is an input type that accepts MachineServicePortArray and MachineServicePortArrayOutput values. You can construct a concrete instance of `MachineServicePortArrayInput` via:

MachineServicePortArray{ MachineServicePortArgs{...} }

type MachineServicePortArrayOutput

type MachineServicePortArrayOutput struct{ *pulumi.OutputState }

func (MachineServicePortArrayOutput) ElementType

func (MachineServicePortArrayOutput) Index

func (MachineServicePortArrayOutput) ToMachineServicePortArrayOutput

func (o MachineServicePortArrayOutput) ToMachineServicePortArrayOutput() MachineServicePortArrayOutput

func (MachineServicePortArrayOutput) ToMachineServicePortArrayOutputWithContext

func (o MachineServicePortArrayOutput) ToMachineServicePortArrayOutputWithContext(ctx context.Context) MachineServicePortArrayOutput

type MachineServicePortInput

type MachineServicePortInput interface {
	pulumi.Input

	ToMachineServicePortOutput() MachineServicePortOutput
	ToMachineServicePortOutputWithContext(context.Context) MachineServicePortOutput
}

MachineServicePortInput is an input type that accepts MachineServicePortArgs and MachineServicePortOutput values. You can construct a concrete instance of `MachineServicePortInput` via:

MachineServicePortArgs{...}

type MachineServicePortOutput

type MachineServicePortOutput struct{ *pulumi.OutputState }

func (MachineServicePortOutput) ElementType

func (MachineServicePortOutput) ElementType() reflect.Type

func (MachineServicePortOutput) EndPort added in v0.1.17

For a port range, the last port to listen on

func (MachineServicePortOutput) ForceHttps

Automatically redirect to HTTPS on "http" handler

func (MachineServicePortOutput) Handlers

How the edge should process requests; ex empty, or `tls` to attach app's certificate

func (MachineServicePortOutput) Port

Mapped external port number, either `port` or `startPort` and `endPort` must be set.

func (MachineServicePortOutput) StartPort added in v0.1.17

For a port range, the first port to listen on.

func (MachineServicePortOutput) ToMachineServicePortOutput

func (o MachineServicePortOutput) ToMachineServicePortOutput() MachineServicePortOutput

func (MachineServicePortOutput) ToMachineServicePortOutputWithContext

func (o MachineServicePortOutput) ToMachineServicePortOutputWithContext(ctx context.Context) MachineServicePortOutput

type MachineState

type MachineState struct {
	// The App this resource will be created in
	App pulumi.StringPtrInput
	// Optional boolean telling the Machine to destroy itself once it's complete
	AutoDestroy pulumi.BoolPtrInput
	Cmds        pulumi.StringArrayInput
	// Which machine flavor, ex: `shared`
	CpuType     pulumi.StringPtrInput
	Cpus        pulumi.IntPtrInput
	Entrypoints pulumi.StringArrayInput
	// Keys and values must be strings
	Env   pulumi.StringMapInput
	Execs pulumi.StringArrayInput
	// Protocol-less docker image, ex: `registry.fly.io/myapp:mytag`
	Image pulumi.StringPtrInput
	// Amount of memory in MB. `256`, `512`, `1024`, ...
	Memory pulumi.IntPtrInput
	Mounts MachineMountArrayInput
	// A user-provided identifier
	Name      pulumi.StringPtrInput
	PrivateIp pulumi.StringPtrInput
	// Fly region, ex `ord`, `sin`, `mad`
	Region   pulumi.StringPtrInput
	Services MachineServiceArrayInput
}

func (MachineState) ElementType

func (MachineState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// fly.io api token. If not set checks env for FLY_API_TOKEN
	FlyApiToken pulumi.StringPtrOutput `pulumi:"flyApiToken"`
	// Where the provider should look to find the fly http endpoint
	FlyHttpEndpoint pulumi.StringPtrOutput `pulumi:"flyHttpEndpoint"`
}

The provider type for the fly package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

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) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

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

type ProviderArgs

type ProviderArgs struct {
	// fly.io api token. If not set checks env for FLY_API_TOKEN
	FlyApiToken pulumi.StringPtrInput
	// Where the provider should look to find the fly http endpoint
	FlyHttpEndpoint pulumi.StringPtrInput
}

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) FlyApiToken

func (o ProviderOutput) FlyApiToken() pulumi.StringPtrOutput

fly.io api token. If not set checks env for FLY_API_TOKEN

func (ProviderOutput) FlyHttpEndpoint

func (o ProviderOutput) FlyHttpEndpoint() pulumi.StringPtrOutput

Where the provider should look to find the fly http endpoint

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

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

type Volume

type Volume struct {
	pulumi.CustomResourceState

	// The App this resource will be created in
	App       pulumi.StringOutput `pulumi:"app"`
	Encrypted pulumi.BoolOutput   `pulumi:"encrypted"`
	// A user-provided identifier
	Name pulumi.StringOutput `pulumi:"name"`
	// Fly region, ex `ord`, `sin`, `mad`
	Region pulumi.StringOutput `pulumi:"region"`
	// Size of volume in GB
	Size pulumi.IntOutput `pulumi:"size"`
}

func GetVolume

func GetVolume(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeState, opts ...pulumi.ResourceOption) (*Volume, error)

GetVolume gets an existing Volume 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 NewVolume

func NewVolume(ctx *pulumi.Context,
	name string, args *VolumeArgs, opts ...pulumi.ResourceOption) (*Volume, error)

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

func (*Volume) ElementType

func (*Volume) ElementType() reflect.Type

func (*Volume) ToVolumeOutput

func (i *Volume) ToVolumeOutput() VolumeOutput

func (*Volume) ToVolumeOutputWithContext

func (i *Volume) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

type VolumeArgs

type VolumeArgs struct {
	// The App this resource will be created in
	App       pulumi.StringInput
	Encrypted pulumi.BoolPtrInput
	// A user-provided identifier
	Name pulumi.StringPtrInput
	// Fly region, ex `ord`, `sin`, `mad`
	Region pulumi.StringInput
	// Size of volume in GB
	Size pulumi.IntInput
}

The set of arguments for constructing a Volume resource.

func (VolumeArgs) ElementType

func (VolumeArgs) ElementType() reflect.Type

type VolumeArray

type VolumeArray []VolumeInput

func (VolumeArray) ElementType

func (VolumeArray) ElementType() reflect.Type

func (VolumeArray) ToVolumeArrayOutput

func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArray) ToVolumeArrayOutputWithContext

func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeArrayInput

type VolumeArrayInput interface {
	pulumi.Input

	ToVolumeArrayOutput() VolumeArrayOutput
	ToVolumeArrayOutputWithContext(context.Context) VolumeArrayOutput
}

VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. You can construct a concrete instance of `VolumeArrayInput` via:

VolumeArray{ VolumeArgs{...} }

type VolumeArrayOutput

type VolumeArrayOutput struct{ *pulumi.OutputState }

func (VolumeArrayOutput) ElementType

func (VolumeArrayOutput) ElementType() reflect.Type

func (VolumeArrayOutput) Index

func (VolumeArrayOutput) ToVolumeArrayOutput

func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArrayOutput) ToVolumeArrayOutputWithContext

func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeInput

type VolumeInput interface {
	pulumi.Input

	ToVolumeOutput() VolumeOutput
	ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
}

type VolumeMap

type VolumeMap map[string]VolumeInput

func (VolumeMap) ElementType

func (VolumeMap) ElementType() reflect.Type

func (VolumeMap) ToVolumeMapOutput

func (i VolumeMap) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMap) ToVolumeMapOutputWithContext

func (i VolumeMap) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeMapInput

type VolumeMapInput interface {
	pulumi.Input

	ToVolumeMapOutput() VolumeMapOutput
	ToVolumeMapOutputWithContext(context.Context) VolumeMapOutput
}

VolumeMapInput is an input type that accepts VolumeMap and VolumeMapOutput values. You can construct a concrete instance of `VolumeMapInput` via:

VolumeMap{ "key": VolumeArgs{...} }

type VolumeMapOutput

type VolumeMapOutput struct{ *pulumi.OutputState }

func (VolumeMapOutput) ElementType

func (VolumeMapOutput) ElementType() reflect.Type

func (VolumeMapOutput) MapIndex

func (VolumeMapOutput) ToVolumeMapOutput

func (o VolumeMapOutput) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMapOutput) ToVolumeMapOutputWithContext

func (o VolumeMapOutput) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeOutput

type VolumeOutput struct{ *pulumi.OutputState }

func (VolumeOutput) App

The App this resource will be created in

func (VolumeOutput) ElementType

func (VolumeOutput) ElementType() reflect.Type

func (VolumeOutput) Encrypted

func (o VolumeOutput) Encrypted() pulumi.BoolOutput

func (VolumeOutput) Name

func (o VolumeOutput) Name() pulumi.StringOutput

A user-provided identifier

func (VolumeOutput) Region

func (o VolumeOutput) Region() pulumi.StringOutput

Fly region, ex `ord`, `sin`, `mad`

func (VolumeOutput) Size

func (o VolumeOutput) Size() pulumi.IntOutput

Size of volume in GB

func (VolumeOutput) ToVolumeOutput

func (o VolumeOutput) ToVolumeOutput() VolumeOutput

func (VolumeOutput) ToVolumeOutputWithContext

func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

type VolumeState

type VolumeState struct {
	// The App this resource will be created in
	App       pulumi.StringPtrInput
	Encrypted pulumi.BoolPtrInput
	// A user-provided identifier
	Name pulumi.StringPtrInput
	// Fly region, ex `ord`, `sin`, `mad`
	Region pulumi.StringPtrInput
	// Size of volume in GB
	Size pulumi.IntPtrInput
}

func (VolumeState) ElementType

func (VolumeState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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