Documentation

Overview

nolint: lll, interfacer

nolint: lll, interfacer

Index

Constants

const (
	// EnvProject is the envvar used to read the current Pulumi project name.
	EnvProject = "PULUMI_PROJECT"
	// EnvStack is the envvar used to read the current Pulumi stack name.
	EnvStack = "PULUMI_STACK"
	// EnvConfig is the envvar used to read the current Pulumi configuration variables.
	EnvConfig = "PULUMI_CONFIG"
	// EnvParallel is the envvar used to read the current Pulumi degree of parallelism.
	EnvParallel = "PULUMI_PARALLEL"
	// EnvDryRun is the envvar used to read the current Pulumi dry-run setting.
	EnvDryRun = "PULUMI_DRY_RUN"
	// EnvMonitor is the envvar used to read the current Pulumi monitor RPC address.
	EnvMonitor = "PULUMI_MONITOR"
	// EnvEngine is the envvar used to read the current Pulumi engine RPC address.
	EnvEngine = "PULUMI_ENGINE"
)

Variables

var ErrPlugins = errors.New("pulumi: plugins requested")

Functions

func RegisterOutputType

func RegisterOutputType(output Output)

RegisterOutputType registers an Output type with the Pulumi runtime. If a value of this type's concrete type is returned by an Apply, the Apply will return the specific Output type.

func RegisterPackage

func RegisterPackage(info PackageInfo)

func Run

func Run(body RunFunc, opts ...RunOption)

Run executes the body of a Pulumi program, granting it access to a deployment context that it may use to register resources and orchestrate deployment activities. This connects back to the Pulumi engine using gRPC. If the program fails, the process will be terminated and the function will not return.

func RunErr

func RunErr(body RunFunc, opts ...RunOption) error

RunErr executes the body of a Pulumi program, granting it access to a deployment context that it may use to register resources and orchestrate deployment activities. This connects back to the Pulumi engine using gRPC.

func RunWithContext

func RunWithContext(ctx *Context, body RunFunc) error

RunWithContext runs the body of a Pulumi program using the given Context for information about the target stack, configuration, and engine connection.

Types

type Alias

type Alias struct {
	// Optional URN that uniquely identifies a resource. If specified, it takes preference and
	// other members of the struct are ignored.
	URN URNInput
	// The previous name of the resource.  If not provided, the current name of the resource is used.
	Name StringInput
	// The previous type of the resource.  If not provided, the current type of the resource is used.
	Type StringInput
	// The previous parent of the resource.  If not provided, the current parent of the resource is used.
	Parent Resource
	// The previous parent of the resource in URN format, mutually exclusive to 'Parent'
	ParentURN URNInput
	// The name of the previous stack of the resource.  If not provided, defaults to `context.GetStack()
	Stack StringInput
	// The previous project of the resource. If not provided, defaults to `context.GetProject()`.
	Project StringInput
}

Alias is a partial description of prior named used for a resource. It can be processed in the context of a resource creation to determine what the full aliased URN would be.

type AnyOutput

type AnyOutput struct{ *OutputState }

func Any

func Any(v interface{}) AnyOutput

func AnyWithContext

func AnyWithContext(ctx context.Context, v interface{}) AnyOutput

func (AnyOutput) ElementType

func (AnyOutput) ElementType() reflect.Type

type Archive

type Archive interface {
	AssetOrArchive
	ArchiveInput

	ToAssetOrArchiveOutput() AssetOrArchiveOutput
	ToAssetOrArchiveOutputWithContext(ctx context.Context) AssetOrArchiveOutput

	// Assets returns a map of named assets or archives, for collections.
	Assets() map[string]interface{}
	// Path returns the filesystem path, for file-based archives.
	Path() string
	// URI returns a URI, for remote network-based archives.
	URI() string
	// contains filtered or unexported methods
}

Archive represents a collection of Assets.

func NewAssetArchive

func NewAssetArchive(assets map[string]interface{}) Archive

NewAssetArchive creates a new archive from an in-memory collection of named assets or other archives.

func NewFileArchive

func NewFileArchive(path string) Archive

NewFileArchive creates an archive backed by a file and specified by that file's path.

func NewRemoteArchive

func NewRemoteArchive(uri string) Archive

NewRemoteArchive creates an archive backed by a remote file and specified by that file's URL.

type ArchiveArray

type ArchiveArray []ArchiveInput

ArchiveArray is an input type for []ArchiveInput values.

func (ArchiveArray) ElementType

func (ArchiveArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]Archive).

func (ArchiveArray) ToArchiveArrayOutput

func (in ArchiveArray) ToArchiveArrayOutput() ArchiveArrayOutput

func (ArchiveArray) ToArchiveArrayOutputWithContext

func (in ArchiveArray) ToArchiveArrayOutputWithContext(ctx context.Context) ArchiveArrayOutput

type ArchiveArrayInput

type ArchiveArrayInput interface {
	Input

	ToArchiveArrayOutput() ArchiveArrayOutput
	ToArchiveArrayOutputWithContext(ctx context.Context) ArchiveArrayOutput
}

ArchiveArrayInput is an input type that accepts ArchiveArray and ArchiveArrayOutput values.

type ArchiveArrayMap

type ArchiveArrayMap map[string]ArchiveArrayInput

ArchiveArrayMap is an input type for map[string]ArchiveArrayInput values.

func (ArchiveArrayMap) ElementType

func (ArchiveArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]Archive).

func (ArchiveArrayMap) ToArchiveArrayMapOutput

func (in ArchiveArrayMap) ToArchiveArrayMapOutput() ArchiveArrayMapOutput

func (ArchiveArrayMap) ToArchiveArrayMapOutputWithContext

func (in ArchiveArrayMap) ToArchiveArrayMapOutputWithContext(ctx context.Context) ArchiveArrayMapOutput

type ArchiveArrayMapInput

type ArchiveArrayMapInput interface {
	Input

	ToArchiveArrayMapOutput() ArchiveArrayMapOutput
	ToArchiveArrayMapOutputWithContext(ctx context.Context) ArchiveArrayMapOutput
}

ArchiveArrayMapInput is an input type that accepts ArchiveArrayMap and ArchiveArrayMapOutput values.

type ArchiveArrayMapOutput

type ArchiveArrayMapOutput struct{ *OutputState }

ArchiveArrayMapOutput is an Output that returns map[string][]Archive values.

func (ArchiveArrayMapOutput) ElementType

func (ArchiveArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][]Archive).

func (ArchiveArrayMapOutput) MapIndex

func (o ArchiveArrayMapOutput) MapIndex(k StringInput) ArchiveArrayOutput

func (ArchiveArrayMapOutput) ToArchiveArrayMapOutput

func (o ArchiveArrayMapOutput) ToArchiveArrayMapOutput() ArchiveArrayMapOutput

func (ArchiveArrayMapOutput) ToArchiveArrayMapOutputWithContext

func (o ArchiveArrayMapOutput) ToArchiveArrayMapOutputWithContext(ctx context.Context) ArchiveArrayMapOutput

type ArchiveArrayOutput

type ArchiveArrayOutput struct{ *OutputState }

ArchiveArrayOutput is an Output that returns []Archive values.

func (ArchiveArrayOutput) ElementType

func (ArchiveArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]Archive).

func (ArchiveArrayOutput) Index

func (o ArchiveArrayOutput) Index(i IntInput) ArchiveOutput

func (ArchiveArrayOutput) ToArchiveArrayOutput

func (o ArchiveArrayOutput) ToArchiveArrayOutput() ArchiveArrayOutput

func (ArchiveArrayOutput) ToArchiveArrayOutputWithContext

func (o ArchiveArrayOutput) ToArchiveArrayOutputWithContext(ctx context.Context) ArchiveArrayOutput

type ArchiveInput

type ArchiveInput interface {
	Input

	ToArchiveOutput() ArchiveOutput
	ToArchiveOutputWithContext(ctx context.Context) ArchiveOutput
}

ArchiveInput is an input type that accepts Archive and ArchiveOutput values.

type ArchiveMap

type ArchiveMap map[string]ArchiveInput

ArchiveMap is an input type for map[string]ArchiveInput values.

func (ArchiveMap) ElementType

func (ArchiveMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]Archive).

func (ArchiveMap) ToArchiveMapOutput

func (in ArchiveMap) ToArchiveMapOutput() ArchiveMapOutput

func (ArchiveMap) ToArchiveMapOutputWithContext

func (in ArchiveMap) ToArchiveMapOutputWithContext(ctx context.Context) ArchiveMapOutput

type ArchiveMapArray

type ArchiveMapArray []ArchiveMapInput

ArchiveMapArray is an input type for []ArchiveMapInput values.

func (ArchiveMapArray) ElementType

func (ArchiveMapArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]map[string]Archive).

func (ArchiveMapArray) ToArchiveMapArrayOutput

func (in ArchiveMapArray) ToArchiveMapArrayOutput() ArchiveMapArrayOutput

func (ArchiveMapArray) ToArchiveMapArrayOutputWithContext

func (in ArchiveMapArray) ToArchiveMapArrayOutputWithContext(ctx context.Context) ArchiveMapArrayOutput

type ArchiveMapArrayInput

type ArchiveMapArrayInput interface {
	Input

	ToArchiveMapArrayOutput() ArchiveMapArrayOutput
	ToArchiveMapArrayOutputWithContext(ctx context.Context) ArchiveMapArrayOutput
}

ArchiveMapArrayInput is an input type that accepts ArchiveMapArray and ArchiveMapArrayOutput values.

type ArchiveMapArrayOutput

type ArchiveMapArrayOutput struct{ *OutputState }

ArchiveMapArrayOutput is an Output that returns []map[string]Archive values.

func (ArchiveMapArrayOutput) ElementType

func (ArchiveMapArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]map[string]Archive).

func (ArchiveMapArrayOutput) Index

func (o ArchiveMapArrayOutput) Index(i IntInput) ArchiveMapOutput

func (ArchiveMapArrayOutput) ToArchiveMapArrayOutput

func (o ArchiveMapArrayOutput) ToArchiveMapArrayOutput() ArchiveMapArrayOutput

func (ArchiveMapArrayOutput) ToArchiveMapArrayOutputWithContext

func (o ArchiveMapArrayOutput) ToArchiveMapArrayOutputWithContext(ctx context.Context) ArchiveMapArrayOutput

type ArchiveMapInput

type ArchiveMapInput interface {
	Input

	ToArchiveMapOutput() ArchiveMapOutput
	ToArchiveMapOutputWithContext(ctx context.Context) ArchiveMapOutput
}

ArchiveMapInput is an input type that accepts ArchiveMap and ArchiveMapOutput values.

type ArchiveMapOutput

type ArchiveMapOutput struct{ *OutputState }

ArchiveMapOutput is an Output that returns map[string]Archive values.

func (ArchiveMapOutput) ElementType

func (ArchiveMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string]Archive).

func (ArchiveMapOutput) MapIndex

func (o ArchiveMapOutput) MapIndex(k StringInput) ArchiveOutput

func (ArchiveMapOutput) ToArchiveMapOutput

func (o ArchiveMapOutput) ToArchiveMapOutput() ArchiveMapOutput

func (ArchiveMapOutput) ToArchiveMapOutputWithContext

func (o ArchiveMapOutput) ToArchiveMapOutputWithContext(ctx context.Context) ArchiveMapOutput

type ArchiveOutput

type ArchiveOutput struct{ *OutputState }

ArchiveOutput is an Output that returns Archive values.

func (ArchiveOutput) ElementType

func (ArchiveOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (Archive).

func (ArchiveOutput) ToArchiveOutput

func (o ArchiveOutput) ToArchiveOutput() ArchiveOutput

func (ArchiveOutput) ToArchiveOutputWithContext

func (o ArchiveOutput) ToArchiveOutputWithContext(ctx context.Context) ArchiveOutput

func (ArchiveOutput) ToAssetOrArchiveOutput

func (o ArchiveOutput) ToAssetOrArchiveOutput() AssetOrArchiveOutput

func (ArchiveOutput) ToAssetOrArchiveOutputWithContext

func (o ArchiveOutput) ToAssetOrArchiveOutputWithContext(ctx context.Context) AssetOrArchiveOutput

type Array

type Array []Input

Array is an input type for []Input values.

func (Array) ElementType

func (Array) ElementType() reflect.Type

ElementType returns the element type of this Input ([]interface{}).

func (Array) ToArrayOutput

func (in Array) ToArrayOutput() ArrayOutput

func (Array) ToArrayOutputWithContext

func (in Array) ToArrayOutputWithContext(ctx context.Context) ArrayOutput

type ArrayInput

type ArrayInput interface {
	Input

	ToArrayOutput() ArrayOutput
	ToArrayOutputWithContext(ctx context.Context) ArrayOutput
}

ArrayInput is an input type that accepts Array and ArrayOutput values.

type ArrayMap

type ArrayMap map[string]ArrayInput

ArrayMap is an input type for map[string]ArrayInput values.

func (ArrayMap) ElementType

func (ArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]interface{}).

func (ArrayMap) ToArrayMapOutput

func (in ArrayMap) ToArrayMapOutput() ArrayMapOutput

func (ArrayMap) ToArrayMapOutputWithContext

func (in ArrayMap) ToArrayMapOutputWithContext(ctx context.Context) ArrayMapOutput

type ArrayMapInput

type ArrayMapInput interface {
	Input

	ToArrayMapOutput() ArrayMapOutput
	ToArrayMapOutputWithContext(ctx context.Context) ArrayMapOutput
}

ArrayMapInput is an input type that accepts ArrayMap and ArrayMapOutput values.

type ArrayMapOutput

type ArrayMapOutput struct{ *OutputState }

ArrayMapOutput is an Output that returns map[string][]interface{} values.

func (ArrayMapOutput) ElementType

func (ArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][]interface{}).

func (ArrayMapOutput) MapIndex

func (o ArrayMapOutput) MapIndex(k StringInput) ArrayOutput

func (ArrayMapOutput) ToArrayMapOutput

func (o ArrayMapOutput) ToArrayMapOutput() ArrayMapOutput

func (ArrayMapOutput) ToArrayMapOutputWithContext

func (o ArrayMapOutput) ToArrayMapOutputWithContext(ctx context.Context) ArrayMapOutput

type ArrayOutput

type ArrayOutput struct{ *OutputState }

ArrayOutput is an Output that returns []interface{} values.

func All

func All(inputs ...interface{}) ArrayOutput

All returns an ArrayOutput that will resolve when all of the provided inputs will resolve. Each element of the array will contain the resolved value of the corresponding output. The output will be rejected if any of the inputs is rejected.

func AllWithContext

func AllWithContext(ctx context.Context, inputs ...interface{}) ArrayOutput

AllWithContext returns an ArrayOutput that will resolve when all of the provided inputs will resolve. Each element of the array will contain the resolved value of the corresponding output. The output will be rejected if any of the inputs is rejected.

func (ArrayOutput) ElementType

func (ArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]interface{}).

func (ArrayOutput) Index

func (o ArrayOutput) Index(i IntInput) Output

func (ArrayOutput) ToArrayOutput

func (o ArrayOutput) ToArrayOutput() ArrayOutput

func (ArrayOutput) ToArrayOutputWithContext

func (o ArrayOutput) ToArrayOutputWithContext(ctx context.Context) ArrayOutput

type Asset

type Asset interface {
	AssetOrArchive
	AssetInput

	ToAssetOrArchiveOutput() AssetOrArchiveOutput
	ToAssetOrArchiveOutputWithContext(ctx context.Context) AssetOrArchiveOutput

	// Path returns the filesystem path, for file-based assets.
	Path() string
	// Text returns an in-memory blob of text, for string-based assets.
	Text() string
	// URI returns a URI, for remote network-based assets.
	URI() string
	// contains filtered or unexported methods
}

Asset represents a file that is managed in conjunction with Pulumi resources. An Asset may be backed by a number of sources, including local filesystem paths, in-memory blobs of text, or remote files referenced by a URL.

func NewFileAsset

func NewFileAsset(path string) Asset

NewFileAsset creates an asset backed by a file and specified by that file's path.

func NewRemoteAsset

func NewRemoteAsset(uri string) Asset

NewRemoteAsset creates an asset backed by a remote file and specified by that file's URL.

func NewStringAsset

func NewStringAsset(text string) Asset

NewStringAsset creates an asset backed by a piece of in-memory text.

type AssetArray

type AssetArray []AssetInput

AssetArray is an input type for []AssetInput values.

func (AssetArray) ElementType

func (AssetArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]Asset).

func (AssetArray) ToAssetArrayOutput

func (in AssetArray) ToAssetArrayOutput() AssetArrayOutput

func (AssetArray) ToAssetArrayOutputWithContext

func (in AssetArray) ToAssetArrayOutputWithContext(ctx context.Context) AssetArrayOutput

type AssetArrayInput

type AssetArrayInput interface {
	Input

	ToAssetArrayOutput() AssetArrayOutput
	ToAssetArrayOutputWithContext(ctx context.Context) AssetArrayOutput
}

AssetArrayInput is an input type that accepts AssetArray and AssetArrayOutput values.

type AssetArrayMap

type AssetArrayMap map[string]AssetArrayInput

AssetArrayMap is an input type for map[string]AssetArrayInput values.

func (AssetArrayMap) ElementType

func (AssetArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]Asset).

func (AssetArrayMap) ToAssetArrayMapOutput

func (in AssetArrayMap) ToAssetArrayMapOutput() AssetArrayMapOutput

func (AssetArrayMap) ToAssetArrayMapOutputWithContext

func (in AssetArrayMap) ToAssetArrayMapOutputWithContext(ctx context.Context) AssetArrayMapOutput

type AssetArrayMapInput

type AssetArrayMapInput interface {
	Input

	ToAssetArrayMapOutput() AssetArrayMapOutput
	ToAssetArrayMapOutputWithContext(ctx context.Context) AssetArrayMapOutput
}

AssetArrayMapInput is an input type that accepts AssetArrayMap and AssetArrayMapOutput values.

type AssetArrayMapOutput

type AssetArrayMapOutput struct{ *OutputState }

AssetArrayMapOutput is an Output that returns map[string][]Asset values.

func (AssetArrayMapOutput) ElementType

func (AssetArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][]Asset).

func (AssetArrayMapOutput) MapIndex

func (o AssetArrayMapOutput) MapIndex(k StringInput) AssetArrayOutput

func (AssetArrayMapOutput) ToAssetArrayMapOutput

func (o AssetArrayMapOutput) ToAssetArrayMapOutput() AssetArrayMapOutput

func (AssetArrayMapOutput) ToAssetArrayMapOutputWithContext

func (o AssetArrayMapOutput) ToAssetArrayMapOutputWithContext(ctx context.Context) AssetArrayMapOutput

type AssetArrayOutput

type AssetArrayOutput struct{ *OutputState }

AssetArrayOutput is an Output that returns []Asset values.

func (AssetArrayOutput) ElementType

func (AssetArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]Asset).

func (AssetArrayOutput) Index

func (o AssetArrayOutput) Index(i IntInput) AssetOutput

func (AssetArrayOutput) ToAssetArrayOutput

func (o AssetArrayOutput) ToAssetArrayOutput() AssetArrayOutput

func (AssetArrayOutput) ToAssetArrayOutputWithContext

func (o AssetArrayOutput) ToAssetArrayOutputWithContext(ctx context.Context) AssetArrayOutput

type AssetInput

type AssetInput interface {
	Input

	ToAssetOutput() AssetOutput
	ToAssetOutputWithContext(ctx context.Context) AssetOutput
}

AssetInput is an input type that accepts Asset and AssetOutput values.

type AssetMap

type AssetMap map[string]AssetInput

AssetMap is an input type for map[string]AssetInput values.

func (AssetMap) ElementType

func (AssetMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]Asset).

func (AssetMap) ToAssetMapOutput

func (in AssetMap) ToAssetMapOutput() AssetMapOutput

func (AssetMap) ToAssetMapOutputWithContext

func (in AssetMap) ToAssetMapOutputWithContext(ctx context.Context) AssetMapOutput

type AssetMapArray

type AssetMapArray []AssetMapInput

AssetMapArray is an input type for []AssetMapInput values.

func (AssetMapArray) ElementType

func (AssetMapArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]map[string]Asset).

func (AssetMapArray) ToAssetMapArrayOutput

func (in AssetMapArray) ToAssetMapArrayOutput() AssetMapArrayOutput

func (AssetMapArray) ToAssetMapArrayOutputWithContext

func (in AssetMapArray) ToAssetMapArrayOutputWithContext(ctx context.Context) AssetMapArrayOutput

type AssetMapArrayInput

type AssetMapArrayInput interface {
	Input

	ToAssetMapArrayOutput() AssetMapArrayOutput
	ToAssetMapArrayOutputWithContext(ctx context.Context) AssetMapArrayOutput
}

AssetMapArrayInput is an input type that accepts AssetMapArray and AssetMapArrayOutput values.

type AssetMapArrayOutput

type AssetMapArrayOutput struct{ *OutputState }

AssetMapArrayOutput is an Output that returns []map[string]Asset values.

func (AssetMapArrayOutput) ElementType

func (AssetMapArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]map[string]Asset).

func (AssetMapArrayOutput) Index

func (o AssetMapArrayOutput) Index(i IntInput) AssetMapOutput

func (AssetMapArrayOutput) ToAssetMapArrayOutput

func (o AssetMapArrayOutput) ToAssetMapArrayOutput() AssetMapArrayOutput

func (AssetMapArrayOutput) ToAssetMapArrayOutputWithContext

func (o AssetMapArrayOutput) ToAssetMapArrayOutputWithContext(ctx context.Context) AssetMapArrayOutput

type AssetMapInput

type AssetMapInput interface {
	Input

	ToAssetMapOutput() AssetMapOutput
	ToAssetMapOutputWithContext(ctx context.Context) AssetMapOutput
}

AssetMapInput is an input type that accepts AssetMap and AssetMapOutput values.

type AssetMapOutput

type AssetMapOutput struct{ *OutputState }

AssetMapOutput is an Output that returns map[string]Asset values.

func (AssetMapOutput) ElementType

func (AssetMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string]Asset).

func (AssetMapOutput) MapIndex

func (o AssetMapOutput) MapIndex(k StringInput) AssetOutput

func (AssetMapOutput) ToAssetMapOutput

func (o AssetMapOutput) ToAssetMapOutput() AssetMapOutput

func (AssetMapOutput) ToAssetMapOutputWithContext

func (o AssetMapOutput) ToAssetMapOutputWithContext(ctx context.Context) AssetMapOutput

type AssetOrArchive

type AssetOrArchive interface {
	// contains filtered or unexported methods
}

AssetOrArchive represents either an Asset or an Archive.

type AssetOrArchiveArray

type AssetOrArchiveArray []AssetOrArchiveInput

AssetOrArchiveArray is an input type for []AssetOrArchiveInput values.

func (AssetOrArchiveArray) ElementType

func (AssetOrArchiveArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]AssetOrArchive).

func (AssetOrArchiveArray) ToAssetOrArchiveArrayOutput

func (in AssetOrArchiveArray) ToAssetOrArchiveArrayOutput() AssetOrArchiveArrayOutput

func (AssetOrArchiveArray) ToAssetOrArchiveArrayOutputWithContext

func (in AssetOrArchiveArray) ToAssetOrArchiveArrayOutputWithContext(ctx context.Context) AssetOrArchiveArrayOutput

type AssetOrArchiveArrayInput

type AssetOrArchiveArrayInput interface {
	Input

	ToAssetOrArchiveArrayOutput() AssetOrArchiveArrayOutput
	ToAssetOrArchiveArrayOutputWithContext(ctx context.Context) AssetOrArchiveArrayOutput
}

AssetOrArchiveArrayInput is an input type that accepts AssetOrArchiveArray and AssetOrArchiveArrayOutput values.

type AssetOrArchiveArrayMap

type AssetOrArchiveArrayMap map[string]AssetOrArchiveArrayInput

AssetOrArchiveArrayMap is an input type for map[string]AssetOrArchiveArrayInput values.

func (AssetOrArchiveArrayMap) ElementType

func (AssetOrArchiveArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]AssetOrArchive).

func (AssetOrArchiveArrayMap) ToAssetOrArchiveArrayMapOutput

func (in AssetOrArchiveArrayMap) ToAssetOrArchiveArrayMapOutput() AssetOrArchiveArrayMapOutput

func (AssetOrArchiveArrayMap) ToAssetOrArchiveArrayMapOutputWithContext

func (in AssetOrArchiveArrayMap) ToAssetOrArchiveArrayMapOutputWithContext(ctx context.Context) AssetOrArchiveArrayMapOutput

type AssetOrArchiveArrayMapInput

type AssetOrArchiveArrayMapInput interface {
	Input

	ToAssetOrArchiveArrayMapOutput() AssetOrArchiveArrayMapOutput
	ToAssetOrArchiveArrayMapOutputWithContext(ctx context.Context) AssetOrArchiveArrayMapOutput
}

AssetOrArchiveArrayMapInput is an input type that accepts AssetOrArchiveArrayMap and AssetOrArchiveArrayMapOutput values.

type AssetOrArchiveArrayMapOutput

type AssetOrArchiveArrayMapOutput struct{ *OutputState }

AssetOrArchiveArrayMapOutput is an Output that returns map[string][]AssetOrArchive values.

func (AssetOrArchiveArrayMapOutput) ElementType

func (AssetOrArchiveArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][]AssetOrArchive).

func (AssetOrArchiveArrayMapOutput) MapIndex

func (o AssetOrArchiveArrayMapOutput) MapIndex(k StringInput) AssetOrArchiveArrayOutput

func (AssetOrArchiveArrayMapOutput) ToAssetOrArchiveArrayMapOutput

func (o AssetOrArchiveArrayMapOutput) ToAssetOrArchiveArrayMapOutput() AssetOrArchiveArrayMapOutput

func (AssetOrArchiveArrayMapOutput) ToAssetOrArchiveArrayMapOutputWithContext

func (o AssetOrArchiveArrayMapOutput) ToAssetOrArchiveArrayMapOutputWithContext(ctx context.Context) AssetOrArchiveArrayMapOutput

type AssetOrArchiveArrayOutput

type AssetOrArchiveArrayOutput struct{ *OutputState }

AssetOrArchiveArrayOutput is an Output that returns []AssetOrArchive values.

func (AssetOrArchiveArrayOutput) ElementType

func (AssetOrArchiveArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]AssetOrArchive).

func (AssetOrArchiveArrayOutput) Index

func (o AssetOrArchiveArrayOutput) Index(i IntInput) AssetOrArchiveOutput

func (AssetOrArchiveArrayOutput) ToAssetOrArchiveArrayOutput

func (o AssetOrArchiveArrayOutput) ToAssetOrArchiveArrayOutput() AssetOrArchiveArrayOutput

func (AssetOrArchiveArrayOutput) ToAssetOrArchiveArrayOutputWithContext

func (o AssetOrArchiveArrayOutput) ToAssetOrArchiveArrayOutputWithContext(ctx context.Context) AssetOrArchiveArrayOutput

type AssetOrArchiveInput

type AssetOrArchiveInput interface {
	Input

	ToAssetOrArchiveOutput() AssetOrArchiveOutput
	ToAssetOrArchiveOutputWithContext(ctx context.Context) AssetOrArchiveOutput
}

AssetOrArchiveInput is an input type that accepts AssetOrArchive and AssetOrArchiveOutput values.

type AssetOrArchiveMap

type AssetOrArchiveMap map[string]AssetOrArchiveInput

AssetOrArchiveMap is an input type for map[string]AssetOrArchiveInput values.

func (AssetOrArchiveMap) ElementType

func (AssetOrArchiveMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]AssetOrArchive).

func (AssetOrArchiveMap) ToAssetOrArchiveMapOutput

func (in AssetOrArchiveMap) ToAssetOrArchiveMapOutput() AssetOrArchiveMapOutput

func (AssetOrArchiveMap) ToAssetOrArchiveMapOutputWithContext

func (in AssetOrArchiveMap) ToAssetOrArchiveMapOutputWithContext(ctx context.Context) AssetOrArchiveMapOutput

type AssetOrArchiveMapArray

type AssetOrArchiveMapArray []AssetOrArchiveMapInput

AssetOrArchiveMapArray is an input type for []AssetOrArchiveMapInput values.

func (AssetOrArchiveMapArray) ElementType

func (AssetOrArchiveMapArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]map[string]AssetOrArchive).

func (AssetOrArchiveMapArray) ToAssetOrArchiveMapArrayOutput

func (in AssetOrArchiveMapArray) ToAssetOrArchiveMapArrayOutput() AssetOrArchiveMapArrayOutput

func (AssetOrArchiveMapArray) ToAssetOrArchiveMapArrayOutputWithContext

func (in AssetOrArchiveMapArray) ToAssetOrArchiveMapArrayOutputWithContext(ctx context.Context) AssetOrArchiveMapArrayOutput

type AssetOrArchiveMapArrayInput

type AssetOrArchiveMapArrayInput interface {
	Input

	ToAssetOrArchiveMapArrayOutput() AssetOrArchiveMapArrayOutput
	ToAssetOrArchiveMapArrayOutputWithContext(ctx context.Context) AssetOrArchiveMapArrayOutput
}

AssetOrArchiveMapArrayInput is an input type that accepts AssetOrArchiveMapArray and AssetOrArchiveMapArrayOutput values.

type AssetOrArchiveMapArrayOutput

type AssetOrArchiveMapArrayOutput struct{ *OutputState }

AssetOrArchiveMapArrayOutput is an Output that returns []map[string]AssetOrArchive values.

func (AssetOrArchiveMapArrayOutput) ElementType

func (AssetOrArchiveMapArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]map[string]AssetOrArchive).

func (AssetOrArchiveMapArrayOutput) Index

func (o AssetOrArchiveMapArrayOutput) Index(i IntInput) AssetOrArchiveMapOutput

func (AssetOrArchiveMapArrayOutput) ToAssetOrArchiveMapArrayOutput

func (o AssetOrArchiveMapArrayOutput) ToAssetOrArchiveMapArrayOutput() AssetOrArchiveMapArrayOutput

func (AssetOrArchiveMapArrayOutput) ToAssetOrArchiveMapArrayOutputWithContext

func (o AssetOrArchiveMapArrayOutput) ToAssetOrArchiveMapArrayOutputWithContext(ctx context.Context) AssetOrArchiveMapArrayOutput

type AssetOrArchiveMapInput

type AssetOrArchiveMapInput interface {
	Input

	ToAssetOrArchiveMapOutput() AssetOrArchiveMapOutput
	ToAssetOrArchiveMapOutputWithContext(ctx context.Context) AssetOrArchiveMapOutput
}

AssetOrArchiveMapInput is an input type that accepts AssetOrArchiveMap and AssetOrArchiveMapOutput values.

type AssetOrArchiveMapOutput

type AssetOrArchiveMapOutput struct{ *OutputState }

AssetOrArchiveMapOutput is an Output that returns map[string]AssetOrArchive values.

func (AssetOrArchiveMapOutput) ElementType

func (AssetOrArchiveMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string]AssetOrArchive).

func (AssetOrArchiveMapOutput) MapIndex

func (o AssetOrArchiveMapOutput) MapIndex(k StringInput) AssetOrArchiveOutput

func (AssetOrArchiveMapOutput) ToAssetOrArchiveMapOutput

func (o AssetOrArchiveMapOutput) ToAssetOrArchiveMapOutput() AssetOrArchiveMapOutput

func (AssetOrArchiveMapOutput) ToAssetOrArchiveMapOutputWithContext

func (o AssetOrArchiveMapOutput) ToAssetOrArchiveMapOutputWithContext(ctx context.Context) AssetOrArchiveMapOutput

type AssetOrArchiveOutput

type AssetOrArchiveOutput struct{ *OutputState }

AssetOrArchiveOutput is an Output that returns AssetOrArchive values.

func (AssetOrArchiveOutput) ElementType

func (AssetOrArchiveOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (AssetOrArchive).

func (AssetOrArchiveOutput) ToAssetOrArchiveOutput

func (o AssetOrArchiveOutput) ToAssetOrArchiveOutput() AssetOrArchiveOutput

func (AssetOrArchiveOutput) ToAssetOrArchiveOutputWithContext

func (o AssetOrArchiveOutput) ToAssetOrArchiveOutputWithContext(ctx context.Context) AssetOrArchiveOutput

type AssetOutput

type AssetOutput struct{ *OutputState }

AssetOutput is an Output that returns Asset values.

func (AssetOutput) ElementType

func (AssetOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (Asset).

func (AssetOutput) ToAssetOrArchiveOutput

func (o AssetOutput) ToAssetOrArchiveOutput() AssetOrArchiveOutput

func (AssetOutput) ToAssetOrArchiveOutputWithContext

func (o AssetOutput) ToAssetOrArchiveOutputWithContext(ctx context.Context) AssetOrArchiveOutput

func (AssetOutput) ToAssetOutput

func (o AssetOutput) ToAssetOutput() AssetOutput

func (AssetOutput) ToAssetOutputWithContext

func (o AssetOutput) ToAssetOutputWithContext(ctx context.Context) AssetOutput

type Bool

type Bool bool

Bool is an input type for bool values.

func (Bool) ElementType

func (Bool) ElementType() reflect.Type

ElementType returns the element type of this Input (bool).

func (Bool) ToBoolOutput

func (in Bool) ToBoolOutput() BoolOutput

func (Bool) ToBoolOutputWithContext

func (in Bool) ToBoolOutputWithContext(ctx context.Context) BoolOutput

func (Bool) ToBoolPtrOutput

func (in Bool) ToBoolPtrOutput() BoolPtrOutput

func (Bool) ToBoolPtrOutputWithContext

func (in Bool) ToBoolPtrOutputWithContext(ctx context.Context) BoolPtrOutput

type BoolArray

type BoolArray []BoolInput

BoolArray is an input type for []BoolInput values.

func (BoolArray) ElementType

func (BoolArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]bool).

func (BoolArray) ToBoolArrayOutput

func (in BoolArray) ToBoolArrayOutput() BoolArrayOutput

func (BoolArray) ToBoolArrayOutputWithContext

func (in BoolArray) ToBoolArrayOutputWithContext(ctx context.Context) BoolArrayOutput

type BoolArrayInput

type BoolArrayInput interface {
	Input

	ToBoolArrayOutput() BoolArrayOutput
	ToBoolArrayOutputWithContext(ctx context.Context) BoolArrayOutput
}

BoolArrayInput is an input type that accepts BoolArray and BoolArrayOutput values.

type BoolArrayMap

type BoolArrayMap map[string]BoolArrayInput

BoolArrayMap is an input type for map[string]BoolArrayInput values.

func (BoolArrayMap) ElementType

func (BoolArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]bool).

func (BoolArrayMap) ToBoolArrayMapOutput

func (in BoolArrayMap) ToBoolArrayMapOutput() BoolArrayMapOutput

func (BoolArrayMap) ToBoolArrayMapOutputWithContext

func (in BoolArrayMap) ToBoolArrayMapOutputWithContext(ctx context.Context) BoolArrayMapOutput

type BoolArrayMapInput

type BoolArrayMapInput interface {
	Input

	ToBoolArrayMapOutput() BoolArrayMapOutput
	ToBoolArrayMapOutputWithContext(ctx context.Context) BoolArrayMapOutput
}

BoolArrayMapInput is an input type that accepts BoolArrayMap and BoolArrayMapOutput values.

type BoolArrayMapOutput

type BoolArrayMapOutput struct{ *OutputState }

BoolArrayMapOutput is an Output that returns map[string][]bool values.

func (BoolArrayMapOutput) ElementType

func (BoolArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][]bool).

func (BoolArrayMapOutput) MapIndex

func (o BoolArrayMapOutput) MapIndex(k StringInput) BoolArrayOutput

func (BoolArrayMapOutput) ToBoolArrayMapOutput

func (o BoolArrayMapOutput) ToBoolArrayMapOutput() BoolArrayMapOutput

func (BoolArrayMapOutput) ToBoolArrayMapOutputWithContext

func (o BoolArrayMapOutput) ToBoolArrayMapOutputWithContext(ctx context.Context) BoolArrayMapOutput

type BoolArrayOutput

type BoolArrayOutput struct{ *OutputState }

BoolArrayOutput is an Output that returns []bool values.

func (BoolArrayOutput) ElementType

func (BoolArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]bool).

func (BoolArrayOutput) Index

func (o BoolArrayOutput) Index(i IntInput) BoolOutput

func (BoolArrayOutput) ToBoolArrayOutput

func (o BoolArrayOutput) ToBoolArrayOutput() BoolArrayOutput

func (BoolArrayOutput) ToBoolArrayOutputWithContext

func (o BoolArrayOutput) ToBoolArrayOutputWithContext(ctx context.Context) BoolArrayOutput

type BoolInput

type BoolInput interface {
	Input

	ToBoolOutput() BoolOutput
	ToBoolOutputWithContext(ctx context.Context) BoolOutput
}

BoolInput is an input type that accepts Bool and BoolOutput values.

type BoolMap

type BoolMap map[string]BoolInput

BoolMap is an input type for map[string]BoolInput values.

func (BoolMap) ElementType

func (BoolMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]bool).

func (BoolMap) ToBoolMapOutput

func (in BoolMap) ToBoolMapOutput() BoolMapOutput

func (BoolMap) ToBoolMapOutputWithContext

func (in BoolMap) ToBoolMapOutputWithContext(ctx context.Context) BoolMapOutput

type BoolMapArray

type BoolMapArray []BoolMapInput

BoolMapArray is an input type for []BoolMapInput values.

func (BoolMapArray) ElementType

func (BoolMapArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]map[string]bool).

func (BoolMapArray) ToBoolMapArrayOutput

func (in BoolMapArray) ToBoolMapArrayOutput() BoolMapArrayOutput

func (BoolMapArray) ToBoolMapArrayOutputWithContext

func (in BoolMapArray) ToBoolMapArrayOutputWithContext(ctx context.Context) BoolMapArrayOutput

type BoolMapArrayInput

type BoolMapArrayInput interface {
	Input

	ToBoolMapArrayOutput() BoolMapArrayOutput
	ToBoolMapArrayOutputWithContext(ctx context.Context) BoolMapArrayOutput
}

BoolMapArrayInput is an input type that accepts BoolMapArray and BoolMapArrayOutput values.

type BoolMapArrayOutput

type BoolMapArrayOutput struct{ *OutputState }

BoolMapArrayOutput is an Output that returns []map[string]bool values.

func (BoolMapArrayOutput) ElementType

func (BoolMapArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]map[string]bool).

func (BoolMapArrayOutput) Index

func (o BoolMapArrayOutput) Index(i IntInput) BoolMapOutput

func (BoolMapArrayOutput) ToBoolMapArrayOutput

func (o BoolMapArrayOutput) ToBoolMapArrayOutput() BoolMapArrayOutput

func (BoolMapArrayOutput) ToBoolMapArrayOutputWithContext

func (o BoolMapArrayOutput) ToBoolMapArrayOutputWithContext(ctx context.Context) BoolMapArrayOutput

type BoolMapInput

type BoolMapInput interface {
	Input

	ToBoolMapOutput() BoolMapOutput
	ToBoolMapOutputWithContext(ctx context.Context) BoolMapOutput
}

BoolMapInput is an input type that accepts BoolMap and BoolMapOutput values.

type BoolMapOutput

type BoolMapOutput struct{ *OutputState }

BoolMapOutput is an Output that returns map[string]bool values.

func (BoolMapOutput) ElementType

func (BoolMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string]bool).

func (BoolMapOutput) MapIndex

func (o BoolMapOutput) MapIndex(k StringInput) BoolOutput

func (BoolMapOutput) ToBoolMapOutput

func (o BoolMapOutput) ToBoolMapOutput() BoolMapOutput

func (BoolMapOutput) ToBoolMapOutputWithContext

func (o BoolMapOutput) ToBoolMapOutputWithContext(ctx context.Context) BoolMapOutput

type BoolOutput

type BoolOutput struct{ *OutputState }

BoolOutput is an Output that returns bool values.

func (BoolOutput) ElementType

func (BoolOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (bool).

func (BoolOutput) ToBoolOutput

func (o BoolOutput) ToBoolOutput() BoolOutput

func (BoolOutput) ToBoolOutputWithContext

func (o BoolOutput) ToBoolOutputWithContext(ctx context.Context) BoolOutput

func (BoolOutput) ToBoolPtrOutput

func (o BoolOutput) ToBoolPtrOutput() BoolPtrOutput

func (BoolOutput) ToBoolPtrOutputWithContext

func (o BoolOutput) ToBoolPtrOutputWithContext(ctx context.Context) BoolPtrOutput

type BoolPtrInput

type BoolPtrInput interface {
	Input

	ToBoolPtrOutput() BoolPtrOutput
	ToBoolPtrOutputWithContext(ctx context.Context) BoolPtrOutput
}

BoolPtrInput is an input type that accepts BoolPtr and BoolPtrOutput values.

func BoolPtr

func BoolPtr(v bool) BoolPtrInput

BoolPtr is an input type for *bool values.

type BoolPtrOutput

type BoolPtrOutput struct{ *OutputState }

BoolPtrOutput is an Output that returns *bool values.

func (BoolPtrOutput) Elem

func (o BoolPtrOutput) Elem() BoolOutput

func (BoolPtrOutput) ElementType

func (BoolPtrOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (*bool).

func (BoolPtrOutput) ToBoolPtrOutput

func (o BoolPtrOutput) ToBoolPtrOutput() BoolPtrOutput

func (BoolPtrOutput) ToBoolPtrOutputWithContext

func (o BoolPtrOutput) ToBoolPtrOutputWithContext(ctx context.Context) BoolPtrOutput

type ComponentResource

type ComponentResource interface {
	Resource
}

ComponentResource is a resource that aggregates one or more other child resources into a higher level abstraction. The component resource itself is a resource, but does not require custom CRUD operations for provisioning.

type Context

type Context struct {
	Log Log // the logging interface for the Pulumi log stream.
	// contains filtered or unexported fields
}

Context handles registration of resources and exposes metadata about the current deployment context.

func NewContext

func NewContext(ctx context.Context, info RunInfo) (*Context, error)

NewContext creates a fresh run context out of the given metadata.

func (*Context) Close

func (ctx *Context) Close() error

Close implements io.Closer and relinquishes any outstanding resources held by the context.

func (*Context) DryRun

func (ctx *Context) DryRun() bool

DryRun is true when evaluating a program for purposes of planning, instead of performing a true deployment.

func (*Context) Export

func (ctx *Context) Export(name string, value Input)

Export registers a key and value pair with the current context's stack.

func (*Context) GetConfig

func (ctx *Context) GetConfig(key string) (string, bool)

GetConfig returns the config value, as a string, and a bool indicating whether it exists or not.

func (*Context) Invoke

func (ctx *Context) Invoke(tok string, args interface{}, result interface{}, opts ...InvokeOption) error

Invoke will invoke a provider's function, identified by its token tok. This function call is synchronous.

args and result must be pointers to struct values fields and appropriately tagged and typed for use with Pulumi.

func (*Context) Parallel

func (ctx *Context) Parallel() int

Parallel returns the degree of parallelism currently being used by the engine (1 being entirely serial).

func (*Context) Project

func (ctx *Context) Project() string

Project returns the current project name.

func (*Context) ReadResource

func (ctx *Context) ReadResource(
	t, name string, id IDInput, props Input, resource CustomResource, opts ...ResourceOption) error

ReadResource reads an existing custom resource's state from the resource monitor. t is the fully qualified type token and name is the "name" part to use in creating a stable and globally unique URN for the object. id is the ID of the resource to read, and props contains any state necessary to perform the read (typically props will be nil). opts contains optional settings that govern the way the resource is managed.

The value passed to resource must be a pointer to a struct. The fields of this struct that correspond to output properties of the resource must have types that are assignable from Output, and must have a `pulumi` tag that records the name of the corresponding output property. The struct must embed the CustomResourceState type.

For example, given a custom resource with an int-typed output "foo" and a string-typed output "bar", one would define the following CustomResource type:

type MyResource struct {
    pulumi.CustomResourceState

    Foo pulumi.IntOutput    `pulumi:"foo"`
    Bar pulumi.StringOutput `pulumi:"bar"`
}

And invoke ReadResource like so:

var resource MyResource
err := ctx.ReadResource(tok, name, id, nil, &resource, opts...)

func (*Context) RegisterComponentResource

func (ctx *Context) RegisterComponentResource(
	t, name string, resource ComponentResource, opts ...ResourceOption) error

func (*Context) RegisterResource

func (ctx *Context) RegisterResource(
	t, name string, props Input, resource Resource, opts ...ResourceOption) error

RegisterResource creates and registers a new resource object. t is the fully qualified type token and name is the "name" part to use in creating a stable and globally unique URN for the object. props contains the goal state for the resource object and opts contains optional settings that govern the way the resource is created.

The value passed to resource must be a pointer to a struct. The fields of this struct that correspond to output properties of the resource must have types that are assignable from Output, and must have a `pulumi` tag that records the name of the corresponding output property. The struct must embed either the ResourceState or the CustomResourceState type.

For example, given a custom resource with an int-typed output "foo" and a string-typed output "bar", one would define the following CustomResource type:

type MyResource struct {
    pulumi.CustomResourceState

    Foo pulumi.IntOutput    `pulumi:"foo"`
    Bar pulumi.StringOutput `pulumi:"bar"`
}

And invoke RegisterResource like so:

var resource MyResource
err := ctx.RegisterResource(tok, name, props, &resource, opts...)

func (*Context) RegisterResourceOutputs

func (ctx *Context) RegisterResourceOutputs(resource Resource, outs Map) error

RegisterResourceOutputs completes the resource registration, attaching an optional set of computed outputs.

func (*Context) RegisterStackTransformation

func (ctx *Context) RegisterStackTransformation(t ResourceTransformation) error

RegisterStackTransformation adds a transformation to all future resources constructed in this Pulumi stack.

func (*Context) Stack

func (ctx *Context) Stack() string

Stack returns the current stack name being deployed into.

type CustomResource

type CustomResource interface {
	Resource
	// ID is the provider-assigned unique identifier for this managed resource.  It is set during deployments,
	// but might be missing ("") during planning phases.
	ID() IDOutput
	// contains filtered or unexported methods
}

CustomResource is a cloud resource whose create, read, update, and delete (CRUD) operations are managed by performing external operations on some physical entity. The engine understands how to diff and perform partial updates of them, and these CRUD operations are implemented in a dynamically loaded plugin for the defining package.

type CustomResourceState

type CustomResourceState struct {
	ResourceState
	// contains filtered or unexported fields
}

func (CustomResourceState) ID

func (s CustomResourceState) ID() IDOutput

type CustomTimeouts

type CustomTimeouts struct {
	Create string
	Update string
	Delete string
}

type Float32

type Float32 float32

Float32 is an input type for float32 values.

func (Float32) ElementType

func (Float32) ElementType() reflect.Type

ElementType returns the element type of this Input (float32).

func (Float32) ToFloat32Output

func (in Float32) ToFloat32Output() Float32Output

func (Float32) ToFloat32OutputWithContext

func (in Float32) ToFloat32OutputWithContext(ctx context.Context) Float32Output

func (Float32) ToFloat32PtrOutput

func (in Float32) ToFloat32PtrOutput() Float32PtrOutput

func (Float32) ToFloat32PtrOutputWithContext

func (in Float32) ToFloat32PtrOutputWithContext(ctx context.Context) Float32PtrOutput

type Float32Array

type Float32Array []Float32Input

Float32Array is an input type for []Float32Input values.

func (Float32Array) ElementType

func (Float32Array) ElementType() reflect.Type

ElementType returns the element type of this Input ([]float32).

func (Float32Array) ToFloat32ArrayOutput

func (in Float32Array) ToFloat32ArrayOutput() Float32ArrayOutput

func (Float32Array) ToFloat32ArrayOutputWithContext

func (in Float32Array) ToFloat32ArrayOutputWithContext(ctx context.Context) Float32ArrayOutput

type Float32ArrayInput

type Float32ArrayInput interface {
	Input

	ToFloat32ArrayOutput() Float32ArrayOutput
	ToFloat32ArrayOutputWithContext(ctx context.Context) Float32ArrayOutput
}

Float32ArrayInput is an input type that accepts Float32Array and Float32ArrayOutput values.

type Float32ArrayMap

type Float32ArrayMap map[string]Float32ArrayInput

Float32ArrayMap is an input type for map[string]Float32ArrayInput values.

func (Float32ArrayMap) ElementType

func (Float32ArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]float32).

func (Float32ArrayMap) ToFloat32ArrayMapOutput

func (in Float32ArrayMap) ToFloat32ArrayMapOutput() Float32ArrayMapOutput

func (Float32ArrayMap) ToFloat32ArrayMapOutputWithContext

func (in Float32ArrayMap) ToFloat32ArrayMapOutputWithContext(ctx context.Context) Float32ArrayMapOutput

type Float32ArrayMapInput

type Float32ArrayMapInput interface {
	Input

	ToFloat32ArrayMapOutput() Float32ArrayMapOutput
	ToFloat32ArrayMapOutputWithContext(ctx context.Context) Float32ArrayMapOutput
}

Float32ArrayMapInput is an input type that accepts Float32ArrayMap and Float32ArrayMapOutput values.

type Float32ArrayMapOutput

type Float32ArrayMapOutput struct{ *OutputState }

Float32ArrayMapOutput is an Output that returns map[string][]float32 values.

func (Float32ArrayMapOutput) ElementType

func (Float32ArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][]float32).

func (Float32ArrayMapOutput) MapIndex

func (o Float32ArrayMapOutput) MapIndex(k StringInput) Float32ArrayOutput

func (Float32ArrayMapOutput) ToFloat32ArrayMapOutput

func (o Float32ArrayMapOutput) ToFloat32ArrayMapOutput() Float32ArrayMapOutput

func (Float32ArrayMapOutput) ToFloat32ArrayMapOutputWithContext

func (o Float32ArrayMapOutput) ToFloat32ArrayMapOutputWithContext(ctx context.Context) Float32ArrayMapOutput

type Float32ArrayOutput

type Float32ArrayOutput struct{ *OutputState }

Float32ArrayOutput is an Output that returns []float32 values.

func (Float32ArrayOutput) ElementType

func (Float32ArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]float32).

func (Float32ArrayOutput) Index

func (o Float32ArrayOutput) Index(i IntInput) Float32Output

func (Float32ArrayOutput) ToFloat32ArrayOutput

func (o Float32ArrayOutput) ToFloat32ArrayOutput() Float32ArrayOutput

func (Float32ArrayOutput) ToFloat32ArrayOutputWithContext

func (o Float32ArrayOutput) ToFloat32ArrayOutputWithContext(ctx context.Context) Float32ArrayOutput

type Float32Input

type Float32Input interface {
	Input

	ToFloat32Output() Float32Output
	ToFloat32OutputWithContext(ctx context.Context) Float32Output
}

Float32Input is an input type that accepts Float32 and Float32Output values.

type Float32Map

type Float32Map map[string]Float32Input

Float32Map is an input type for map[string]Float32Input values.

func (Float32Map) ElementType

func (Float32Map) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]float32).

func (Float32Map) ToFloat32MapOutput

func (in Float32Map) ToFloat32MapOutput() Float32MapOutput

func (Float32Map) ToFloat32MapOutputWithContext

func (in Float32Map) ToFloat32MapOutputWithContext(ctx context.Context) Float32MapOutput

type Float32MapArray

type Float32MapArray []Float32MapInput

Float32MapArray is an input type for []Float32MapInput values.

func (Float32MapArray) ElementType

func (Float32MapArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]map[string]float32).

func (Float32MapArray) ToFloat32MapArrayOutput

func (in Float32MapArray) ToFloat32MapArrayOutput() Float32MapArrayOutput

func (Float32MapArray) ToFloat32MapArrayOutputWithContext

func (in Float32MapArray) ToFloat32MapArrayOutputWithContext(ctx context.Context) Float32MapArrayOutput

type Float32MapArrayInput

type Float32MapArrayInput interface {
	Input

	ToFloat32MapArrayOutput() Float32MapArrayOutput
	ToFloat32MapArrayOutputWithContext(ctx context.Context) Float32MapArrayOutput
}

Float32MapArrayInput is an input type that accepts Float32MapArray and Float32MapArrayOutput values.

type Float32MapArrayOutput

type Float32MapArrayOutput struct{ *OutputState }

Float32MapArrayOutput is an Output that returns []map[string]float32 values.

func (Float32MapArrayOutput) ElementType

func (Float32MapArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]map[string]float32).

func (Float32MapArrayOutput) Index

func (o Float32MapArrayOutput) Index(i IntInput) Float32MapOutput

func (Float32MapArrayOutput) ToFloat32MapArrayOutput

func (o Float32MapArrayOutput) ToFloat32MapArrayOutput() Float32MapArrayOutput

func (Float32MapArrayOutput) ToFloat32MapArrayOutputWithContext

func (o Float32MapArrayOutput) ToFloat32MapArrayOutputWithContext(ctx context.Context) Float32MapArrayOutput

type Float32MapInput

type Float32MapInput interface {
	Input

	ToFloat32MapOutput() Float32MapOutput
	ToFloat32MapOutputWithContext(ctx context.Context) Float32MapOutput
}

Float32MapInput is an input type that accepts Float32Map and Float32MapOutput values.

type Float32MapOutput

type Float32MapOutput struct{ *OutputState }

Float32MapOutput is an Output that returns map[string]float32 values.

func (Float32MapOutput) ElementType

func (Float32MapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string]float32).

func (Float32MapOutput) MapIndex

func (o Float32MapOutput) MapIndex(k StringInput) Float32Output

func (Float32MapOutput) ToFloat32MapOutput

func (o Float32MapOutput) ToFloat32MapOutput() Float32MapOutput

func (Float32MapOutput) ToFloat32MapOutputWithContext

func (o Float32MapOutput) ToFloat32MapOutputWithContext(ctx context.Context) Float32MapOutput

type Float32Output

type Float32Output struct{ *OutputState }

Float32Output is an Output that returns float32 values.

func (Float32Output) ElementType

func (Float32Output) ElementType() reflect.Type

ElementType returns the element type of this Output (float32).

func (Float32Output) ToFloat32Output

func (o Float32Output) ToFloat32Output() Float32Output

func (Float32Output) ToFloat32OutputWithContext

func (o Float32Output) ToFloat32OutputWithContext(ctx context.Context) Float32Output

func (Float32Output) ToFloat32PtrOutput

func (o Float32Output) ToFloat32PtrOutput() Float32PtrOutput

func (Float32Output) ToFloat32PtrOutputWithContext

func (o Float32Output) ToFloat32PtrOutputWithContext(ctx context.Context) Float32PtrOutput

type Float32PtrInput

type Float32PtrInput interface {
	Input

	ToFloat32PtrOutput() Float32PtrOutput
	ToFloat32PtrOutputWithContext(ctx context.Context) Float32PtrOutput
}

Float32PtrInput is an input type that accepts Float32Ptr and Float32PtrOutput values.

func Float32Ptr

func Float32Ptr(v float32) Float32PtrInput

Float32Ptr is an input type for *float32 values.

type Float32PtrOutput

type Float32PtrOutput struct{ *OutputState }

Float32PtrOutput is an Output that returns *float32 values.

func (Float32PtrOutput) Elem

func (o Float32PtrOutput) Elem() Float32Output

func (Float32PtrOutput) ElementType

func (Float32PtrOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (*float32).

func (Float32PtrOutput) ToFloat32PtrOutput

func (o Float32PtrOutput) ToFloat32PtrOutput() Float32PtrOutput

func (Float32PtrOutput) ToFloat32PtrOutputWithContext

func (o Float32PtrOutput) ToFloat32PtrOutputWithContext(ctx context.Context) Float32PtrOutput

type Float64

type Float64 float64

Float64 is an input type for float64 values.

func (Float64) ElementType

func (Float64) ElementType() reflect.Type

ElementType returns the element type of this Input (float64).

func (Float64) ToFloat64Output

func (in Float64) ToFloat64Output() Float64Output

func (Float64) ToFloat64OutputWithContext

func (in Float64) ToFloat64OutputWithContext(ctx context.Context) Float64Output

func (Float64) ToFloat64PtrOutput

func (in Float64) ToFloat64PtrOutput() Float64PtrOutput

func (Float64) ToFloat64PtrOutputWithContext

func (in Float64) ToFloat64PtrOutputWithContext(ctx context.Context) Float64PtrOutput

type Float64Array

type Float64Array []Float64Input

Float64Array is an input type for []Float64Input values.

func (Float64Array) ElementType

func (Float64Array) ElementType() reflect.Type

ElementType returns the element type of this Input ([]float64).

func (Float64Array) ToFloat64ArrayOutput

func (in Float64Array) ToFloat64ArrayOutput() Float64ArrayOutput

func (Float64Array) ToFloat64ArrayOutputWithContext

func (in Float64Array) ToFloat64ArrayOutputWithContext(ctx context.Context) Float64ArrayOutput

type Float64ArrayInput

type Float64ArrayInput interface {
	Input

	ToFloat64ArrayOutput() Float64ArrayOutput
	ToFloat64ArrayOutputWithContext(ctx context.Context) Float64ArrayOutput
}

Float64ArrayInput is an input type that accepts Float64Array and Float64ArrayOutput values.

type Float64ArrayMap

type Float64ArrayMap map[string]Float64ArrayInput

Float64ArrayMap is an input type for map[string]Float64ArrayInput values.

func (Float64ArrayMap) ElementType

func (Float64ArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]float64).

func (Float64ArrayMap) ToFloat64ArrayMapOutput

func (in Float64ArrayMap) ToFloat64ArrayMapOutput() Float64ArrayMapOutput

func (Float64ArrayMap) ToFloat64ArrayMapOutputWithContext

func (in Float64ArrayMap) ToFloat64ArrayMapOutputWithContext(ctx context.Context) Float64ArrayMapOutput

type Float64ArrayMapInput

type Float64ArrayMapInput interface {
	Input

	ToFloat64ArrayMapOutput() Float64ArrayMapOutput
	ToFloat64ArrayMapOutputWithContext(ctx context.Context) Float64ArrayMapOutput
}

Float64ArrayMapInput is an input type that accepts Float64ArrayMap and Float64ArrayMapOutput values.

type Float64ArrayMapOutput

type Float64ArrayMapOutput struct{ *OutputState }

Float64ArrayMapOutput is an Output that returns map[string][]float64 values.

func (Float64ArrayMapOutput) ElementType

func (Float64ArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][]float64).

func (Float64ArrayMapOutput) MapIndex

func (o Float64ArrayMapOutput) MapIndex(k StringInput) Float64ArrayOutput

func (Float64ArrayMapOutput) ToFloat64ArrayMapOutput

func (o Float64ArrayMapOutput) ToFloat64ArrayMapOutput() Float64ArrayMapOutput

func (Float64ArrayMapOutput) ToFloat64ArrayMapOutputWithContext

func (o Float64ArrayMapOutput) ToFloat64ArrayMapOutputWithContext(ctx context.Context) Float64ArrayMapOutput

type Float64ArrayOutput

type Float64ArrayOutput struct{ *OutputState }

Float64ArrayOutput is an Output that returns []float64 values.

func (Float64ArrayOutput) ElementType

func (Float64ArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]float64).

func (Float64ArrayOutput) Index

func (o Float64ArrayOutput) Index(i IntInput) Float64Output

func (Float64ArrayOutput) ToFloat64ArrayOutput

func (o Float64ArrayOutput) ToFloat64ArrayOutput() Float64ArrayOutput

func (Float64ArrayOutput) ToFloat64ArrayOutputWithContext

func (o Float64ArrayOutput) ToFloat64ArrayOutputWithContext(ctx context.Context) Float64ArrayOutput

type Float64Input

type Float64Input interface {
	Input

	ToFloat64Output() Float64Output
	ToFloat64OutputWithContext(ctx context.Context) Float64Output
}

Float64Input is an input type that accepts Float64 and Float64Output values.

type Float64Map

type Float64Map map[string]Float64Input

Float64Map is an input type for map[string]Float64Input values.

func (Float64Map) ElementType

func (Float64Map) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]float64).

func (Float64Map) ToFloat64MapOutput

func (in Float64Map) ToFloat64MapOutput() Float64MapOutput

func (Float64Map) ToFloat64MapOutputWithContext

func (in Float64Map) ToFloat64MapOutputWithContext(ctx context.Context) Float64MapOutput

type Float64MapArray

type Float64MapArray []Float64MapInput

Float64MapArray is an input type for []Float64MapInput values.

func (Float64MapArray) ElementType

func (Float64MapArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]map[string]float64).

func (Float64MapArray) ToFloat64MapArrayOutput

func (in Float64MapArray) ToFloat64MapArrayOutput() Float64MapArrayOutput

func (Float64MapArray) ToFloat64MapArrayOutputWithContext

func (in Float64MapArray) ToFloat64MapArrayOutputWithContext(ctx context.Context) Float64MapArrayOutput

type Float64MapArrayInput

type Float64MapArrayInput interface {
	Input

	ToFloat64MapArrayOutput() Float64MapArrayOutput
	ToFloat64MapArrayOutputWithContext(ctx context.Context) Float64MapArrayOutput
}

Float64MapArrayInput is an input type that accepts Float64MapArray and Float64MapArrayOutput values.

type Float64MapArrayOutput

type Float64MapArrayOutput struct{ *OutputState }

Float64MapArrayOutput is an Output that returns []map[string]float64 values.

func (Float64MapArrayOutput) ElementType

func (Float64MapArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]map[string]float64).

func (Float64MapArrayOutput) Index

func (o Float64MapArrayOutput) Index(i IntInput) Float64MapOutput

func (Float64MapArrayOutput) ToFloat64MapArrayOutput

func (o Float64MapArrayOutput) ToFloat64MapArrayOutput() Float64MapArrayOutput

func (Float64MapArrayOutput) ToFloat64MapArrayOutputWithContext

func (o Float64MapArrayOutput) ToFloat64MapArrayOutputWithContext(ctx context.Context) Float64MapArrayOutput

type Float64MapInput

type Float64MapInput interface {
	Input

	ToFloat64MapOutput() Float64MapOutput
	ToFloat64MapOutputWithContext(ctx context.Context) Float64MapOutput
}

Float64MapInput is an input type that accepts Float64Map and Float64MapOutput values.

type Float64MapOutput

type Float64MapOutput struct{ *OutputState }

Float64MapOutput is an Output that returns map[string]float64 values.

func (Float64MapOutput) ElementType

func (Float64MapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string]float64).

func (Float64MapOutput) MapIndex

func (o Float64MapOutput) MapIndex(k StringInput) Float64Output

func (Float64MapOutput) ToFloat64MapOutput

func (o Float64MapOutput) ToFloat64MapOutput() Float64MapOutput

func (Float64MapOutput) ToFloat64MapOutputWithContext

func (o Float64MapOutput) ToFloat64MapOutputWithContext(ctx context.Context) Float64MapOutput

type Float64Output

type Float64Output struct{ *OutputState }

Float64Output is an Output that returns float64 values.

func (Float64Output) ElementType

func (Float64Output) ElementType() reflect.Type

ElementType returns the element type of this Output (float64).

func (Float64Output) ToFloat64Output

func (o Float64Output) ToFloat64Output() Float64Output

func (Float64Output) ToFloat64OutputWithContext

func (o Float64Output) ToFloat64OutputWithContext(ctx context.Context) Float64Output

func (Float64Output) ToFloat64PtrOutput

func (o Float64Output) ToFloat64PtrOutput() Float64PtrOutput

func (Float64Output) ToFloat64PtrOutputWithContext

func (o Float64Output) ToFloat64PtrOutputWithContext(ctx context.Context) Float64PtrOutput

type Float64PtrInput

type Float64PtrInput interface {
	Input

	ToFloat64PtrOutput() Float64PtrOutput
	ToFloat64PtrOutputWithContext(ctx context.Context) Float64PtrOutput
}

Float64PtrInput is an input type that accepts Float64Ptr and Float64PtrOutput values.

func Float64Ptr

func Float64Ptr(v float64) Float64PtrInput

Float64Ptr is an input type for *float64 values.

type Float64PtrOutput

type Float64PtrOutput struct{ *OutputState }

Float64PtrOutput is an Output that returns *float64 values.

func (Float64PtrOutput) Elem

func (o Float64PtrOutput) Elem() Float64Output

func (Float64PtrOutput) ElementType

func (Float64PtrOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (*float64).

func (Float64PtrOutput) ToFloat64PtrOutput

func (o Float64PtrOutput) ToFloat64PtrOutput() Float64PtrOutput

func (Float64PtrOutput) ToFloat64PtrOutputWithContext

func (o Float64PtrOutput) ToFloat64PtrOutputWithContext(ctx context.Context) Float64PtrOutput

type ID

type ID string

ID is a unique identifier assigned by a resource provider to a resource.

func (ID) ElementType

func (ID) ElementType() reflect.Type

ElementType returns the element type of this Input (ID).

func (ID) ToIDOutput

func (in ID) ToIDOutput() IDOutput

func (ID) ToIDOutputWithContext

func (in ID) ToIDOutputWithContext(ctx context.Context) IDOutput

func (ID) ToIDPtrOutput

func (in ID) ToIDPtrOutput() IDPtrOutput

func (ID) ToIDPtrOutputWithContext

func (in ID) ToIDPtrOutputWithContext(ctx context.Context) IDPtrOutput

func (ID) ToStringOutput

func (in ID) ToStringOutput() StringOutput

func (ID) ToStringOutputWithContext

func (in ID) ToStringOutputWithContext(ctx context.Context) StringOutput

func (ID) ToStringPtrOutput

func (in ID) ToStringPtrOutput() StringPtrOutput

func (ID) ToStringPtrOutputWithContext

func (in ID) ToStringPtrOutputWithContext(ctx context.Context) StringPtrOutput

type IDArray

type IDArray []IDInput

IDArray is an input type for []IDInput values.

func (IDArray) ElementType

func (IDArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]ID).

func (IDArray) ToIDArrayOutput

func (in IDArray) ToIDArrayOutput() IDArrayOutput

func (IDArray) ToIDArrayOutputWithContext

func (in IDArray) ToIDArrayOutputWithContext(ctx context.Context) IDArrayOutput

type IDArrayInput

type IDArrayInput interface {
	Input

	ToIDArrayOutput() IDArrayOutput
	ToIDArrayOutputWithContext(ctx context.Context) IDArrayOutput
}

IDArrayInput is an input type that accepts IDArray and IDArrayOutput values.

type IDArrayMap

type IDArrayMap map[string]IDArrayInput

IDArrayMap is an input type for map[string]IDArrayInput values.

func (IDArrayMap) ElementType

func (IDArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]ID).

func (IDArrayMap) ToIDArrayMapOutput

func (in IDArrayMap) ToIDArrayMapOutput() IDArrayMapOutput

func (IDArrayMap) ToIDArrayMapOutputWithContext

func (in IDArrayMap) ToIDArrayMapOutputWithContext(ctx context.Context) IDArrayMapOutput

type IDArrayMapInput

type IDArrayMapInput interface {
	Input

	ToIDArrayMapOutput() IDArrayMapOutput
	ToIDArrayMapOutputWithContext(ctx context.Context) IDArrayMapOutput
}

IDArrayMapInput is an input type that accepts IDArrayMap and IDArrayMapOutput values.

type IDArrayMapOutput

type IDArrayMapOutput struct{ *OutputState }

IDArrayMapOutput is an Output that returns map[string][]ID values.

func (IDArrayMapOutput) ElementType

func (IDArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][]ID).

func (IDArrayMapOutput) MapIndex

func (o IDArrayMapOutput) MapIndex(k StringInput) IDArrayOutput

func (IDArrayMapOutput) ToIDArrayMapOutput

func (o IDArrayMapOutput) ToIDArrayMapOutput() IDArrayMapOutput

func (IDArrayMapOutput) ToIDArrayMapOutputWithContext

func (o IDArrayMapOutput) ToIDArrayMapOutputWithContext(ctx context.Context) IDArrayMapOutput

type IDArrayOutput

type IDArrayOutput struct{ *OutputState }

IDArrayOutput is an Output that returns []ID values.

func (IDArrayOutput) ElementType

func (IDArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]ID).

func (IDArrayOutput) Index

func (o IDArrayOutput) Index(i IntInput) IDOutput

func (IDArrayOutput) ToIDArrayOutput

func (o IDArrayOutput) ToIDArrayOutput() IDArrayOutput

func (IDArrayOutput) ToIDArrayOutputWithContext

func (o IDArrayOutput) ToIDArrayOutputWithContext(ctx context.Context) IDArrayOutput

type IDInput

type IDInput interface {
	Input

	ToIDOutput() IDOutput
	ToIDOutputWithContext(ctx context.Context) IDOutput
}

IDInput is an input type that accepts ID and IDOutput values.

type IDMap

type IDMap map[string]IDInput

IDMap is an input type for map[string]IDInput values.

func (IDMap) ElementType

func (IDMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]ID).

func (IDMap) ToIDMapOutput

func (in IDMap) ToIDMapOutput() IDMapOutput

func (IDMap) ToIDMapOutputWithContext

func (in IDMap) ToIDMapOutputWithContext(ctx context.Context) IDMapOutput

type IDMapArray

type IDMapArray []IDMapInput

IDMapArray is an input type for []IDMapInput values.

func (IDMapArray) ElementType

func (IDMapArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]map[string]ID).

func (IDMapArray) ToIDMapArrayOutput

func (in IDMapArray) ToIDMapArrayOutput() IDMapArrayOutput

func (IDMapArray) ToIDMapArrayOutputWithContext

func (in IDMapArray) ToIDMapArrayOutputWithContext(ctx context.Context) IDMapArrayOutput

type IDMapArrayInput

type IDMapArrayInput interface {
	Input

	ToIDMapArrayOutput() IDMapArrayOutput
	ToIDMapArrayOutputWithContext(ctx context.Context) IDMapArrayOutput
}

IDMapArrayInput is an input type that accepts IDMapArray and IDMapArrayOutput values.

type IDMapArrayOutput

type IDMapArrayOutput struct{ *OutputState }

IDMapArrayOutput is an Output that returns []map[string]ID values.

func (IDMapArrayOutput) ElementType

func (IDMapArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]map[string]ID).

func (IDMapArrayOutput) Index

func (o IDMapArrayOutput) Index(i IntInput) IDMapOutput

func (IDMapArrayOutput) ToIDMapArrayOutput

func (o IDMapArrayOutput) ToIDMapArrayOutput() IDMapArrayOutput

func (IDMapArrayOutput) ToIDMapArrayOutputWithContext

func (o IDMapArrayOutput) ToIDMapArrayOutputWithContext(ctx context.Context) IDMapArrayOutput

type IDMapInput

type IDMapInput interface {
	Input

	ToIDMapOutput() IDMapOutput
	ToIDMapOutputWithContext(ctx context.Context) IDMapOutput
}

IDMapInput is an input type that accepts IDMap and IDMapOutput values.

type IDMapOutput

type IDMapOutput struct{ *OutputState }

IDMapOutput is an Output that returns map[string]ID values.

func (IDMapOutput) ElementType

func (IDMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string]ID).

func (IDMapOutput) MapIndex

func (o IDMapOutput) MapIndex(k StringInput) IDOutput

func (IDMapOutput) ToIDMapOutput

func (o IDMapOutput) ToIDMapOutput() IDMapOutput

func (IDMapOutput) ToIDMapOutputWithContext

func (o IDMapOutput) ToIDMapOutputWithContext(ctx context.Context) IDMapOutput

type IDOutput

type IDOutput struct{ *OutputState }

IDOutput is an Output that returns ID values.

func (IDOutput) ElementType

func (IDOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (ID).

func (IDOutput) ToIDOutput

func (o IDOutput) ToIDOutput() IDOutput

func (IDOutput) ToIDOutputWithContext

func (o IDOutput) ToIDOutputWithContext(ctx context.Context) IDOutput

func (IDOutput) ToIDPtrOutput

func (o IDOutput) ToIDPtrOutput() IDPtrOutput

func (IDOutput) ToIDPtrOutputWithContext

func (o IDOutput) ToIDPtrOutputWithContext(ctx context.Context) IDPtrOutput

func (IDOutput) ToStringOutput

func (o IDOutput) ToStringOutput() StringOutput

func (IDOutput) ToStringOutputWithContext

func (o IDOutput) ToStringOutputWithContext(ctx context.Context) StringOutput

func (IDOutput) ToStringPtrOutput

func (o IDOutput) ToStringPtrOutput() StringPtrOutput

func (IDOutput) ToStringPtrOutputWithContext

func (o IDOutput) ToStringPtrOutputWithContext(ctx context.Context) StringPtrOutput

type IDPtrInput

type IDPtrInput interface {
	Input

	ToIDPtrOutput() IDPtrOutput
	ToIDPtrOutputWithContext(ctx context.Context) IDPtrOutput
}

IDPtrInput is an input type that accepts IDPtr and IDPtrOutput values.

func IDPtr

func IDPtr(v ID) IDPtrInput

IDPtr is an input type for *ID values.

type IDPtrOutput

type IDPtrOutput struct{ *OutputState }

IDPtrOutput is an Output that returns *ID values.

func (IDPtrOutput) Elem

func (o IDPtrOutput) Elem() IDOutput

func (IDPtrOutput) ElementType

func (IDPtrOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (*ID).

func (IDPtrOutput) ToIDPtrOutput

func (o IDPtrOutput) ToIDPtrOutput() IDPtrOutput

func (IDPtrOutput) ToIDPtrOutputWithContext

func (o IDPtrOutput) ToIDPtrOutputWithContext(ctx context.Context) IDPtrOutput

type Input

type Input interface {
	ElementType() reflect.Type
}

Input is the type of a generic input value for a Pulumi resource. This type is used in conjunction with Output to provide polymorphism over strongly-typed input values.

The intended pattern for nested Pulumi value types is to define an input interface and a plain, input, and output variant of the value type that implement the input interface.

For example, given a nested Pulumi value type with the following shape:

type Nested struct {
    Foo int
    Bar string
}

We would define the following:

var nestedType = reflect.TypeOf((*Nested)(nil)).Elem()

type NestedInput interface {
    pulumi.Input

    ToNestedOutput() NestedOutput
    ToNestedOutputWithContext(context.Context) NestedOutput
}

type Nested struct {
    Foo int `pulumi:"foo"`
    Bar string `pulumi:"bar"`
}

type NestedInputValue struct {
    Foo pulumi.IntInput `pulumi:"foo"`
    Bar pulumi.StringInput `pulumi:"bar"`
}

func (NestedInputValue) ElementType() reflect.Type {
    return nestedType
}

func (v NestedInputValue) ToNestedOutput() NestedOutput {
    return pulumi.ToOutput(v).(NestedOutput)
}

func (v NestedInputValue) ToNestedOutputWithContext(ctx context.Context) NestedOutput {
    return pulumi.ToOutputWithContext(ctx, v).(NestedOutput)
}

type NestedOutput struct { *pulumi.OutputState }

func (NestedOutput) ElementType() reflect.Type {
    return nestedType
}

func (o NestedOutput) ToNestedOutput() NestedOutput {
    return o
}

func (o NestedOutput) ToNestedOutputWithContext(ctx context.Context) NestedOutput {
    return o
}

type Int

type Int int

Int is an input type for int values.

func (Int) ElementType

func (Int) ElementType() reflect.Type

ElementType returns the element type of this Input (int).

func (Int) ToIntOutput

func (in Int) ToIntOutput() IntOutput

func (Int) ToIntOutputWithContext

func (in Int) ToIntOutputWithContext(ctx context.Context) IntOutput

func (Int) ToIntPtrOutput

func (in Int) ToIntPtrOutput() IntPtrOutput

func (Int) ToIntPtrOutputWithContext

func (in Int) ToIntPtrOutputWithContext(ctx context.Context) IntPtrOutput

type Int16

type Int16 int16

Int16 is an input type for int16 values.

func (Int16) ElementType

func (Int16) ElementType() reflect.Type

ElementType returns the element type of this Input (int16).

func (Int16) ToInt16Output

func (in Int16) ToInt16Output() Int16Output

func (Int16) ToInt16OutputWithContext

func (in Int16) ToInt16OutputWithContext(ctx context.Context) Int16Output

func (Int16) ToInt16PtrOutput

func (in Int16) ToInt16PtrOutput() Int16PtrOutput

func (Int16) ToInt16PtrOutputWithContext

func (in Int16) ToInt16PtrOutputWithContext(ctx context.Context) Int16PtrOutput

type Int16Array

type Int16Array []Int16Input

Int16Array is an input type for []Int16Input values.

func (Int16Array) ElementType

func (Int16Array) ElementType() reflect.Type

ElementType returns the element type of this Input ([]int16).

func (Int16Array) ToInt16ArrayOutput

func (in Int16Array) ToInt16ArrayOutput() Int16ArrayOutput

func (Int16Array) ToInt16ArrayOutputWithContext

func (in Int16Array) ToInt16ArrayOutputWithContext(ctx context.Context) Int16ArrayOutput

type Int16ArrayInput

type Int16ArrayInput interface {
	Input

	ToInt16ArrayOutput() Int16ArrayOutput
	ToInt16ArrayOutputWithContext(ctx context.Context) Int16ArrayOutput
}

Int16ArrayInput is an input type that accepts Int16Array and Int16ArrayOutput values.

type Int16ArrayMap

type Int16ArrayMap map[string]Int16ArrayInput

Int16ArrayMap is an input type for map[string]Int16ArrayInput values.

func (Int16ArrayMap) ElementType

func (Int16ArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]int16).

func (Int16ArrayMap) ToInt16ArrayMapOutput

func (in Int16ArrayMap) ToInt16ArrayMapOutput() Int16ArrayMapOutput

func (Int16ArrayMap) ToInt16ArrayMapOutputWithContext

func (in Int16ArrayMap) ToInt16ArrayMapOutputWithContext(ctx context.Context) Int16ArrayMapOutput

type Int16ArrayMapInput

type Int16ArrayMapInput interface {
	Input

	ToInt16ArrayMapOutput() Int16ArrayMapOutput
	ToInt16ArrayMapOutputWithContext(ctx context.Context) Int16ArrayMapOutput
}

Int16ArrayMapInput is an input type that accepts Int16ArrayMap and Int16ArrayMapOutput values.

type Int16ArrayMapOutput

type Int16ArrayMapOutput struct{ *OutputState }

Int16ArrayMapOutput is an Output that returns map[string][]int16 values.

func (Int16ArrayMapOutput) ElementType

func (Int16ArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][]int16).

func (Int16ArrayMapOutput) MapIndex

func (o Int16ArrayMapOutput) MapIndex(k StringInput) Int16ArrayOutput

func (Int16ArrayMapOutput) ToInt16ArrayMapOutput

func (o Int16ArrayMapOutput) ToInt16ArrayMapOutput() Int16ArrayMapOutput

func (Int16ArrayMapOutput) ToInt16ArrayMapOutputWithContext

func (o Int16ArrayMapOutput) ToInt16ArrayMapOutputWithContext(ctx context.Context) Int16ArrayMapOutput

type Int16ArrayOutput

type Int16ArrayOutput struct{ *OutputState }

Int16ArrayOutput is an Output that returns []int16 values.

func (Int16ArrayOutput) ElementType

func (Int16ArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]int16).

func (Int16ArrayOutput) Index

func (o Int16ArrayOutput) Index(i IntInput) Int16Output

func (Int16ArrayOutput) ToInt16ArrayOutput

func (o Int16ArrayOutput) ToInt16ArrayOutput() Int16ArrayOutput

func (Int16ArrayOutput) ToInt16ArrayOutputWithContext

func (o Int16ArrayOutput) ToInt16ArrayOutputWithContext(ctx context.Context) Int16ArrayOutput

type Int16Input

type Int16Input interface {
	Input

	ToInt16Output() Int16Output
	ToInt16OutputWithContext(ctx context.Context) Int16Output
}

Int16Input is an input type that accepts Int16 and Int16Output values.

type Int16Map

type Int16Map map[string]Int16Input

Int16Map is an input type for map[string]Int16Input values.

func (Int16Map) ElementType

func (Int16Map) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string]int16).

func (Int16Map) ToInt16MapOutput

func (in Int16Map) ToInt16MapOutput() Int16MapOutput

func (Int16Map) ToInt16MapOutputWithContext

func (in Int16Map) ToInt16MapOutputWithContext(ctx context.Context) Int16MapOutput

type Int16MapArray

type Int16MapArray []Int16MapInput

Int16MapArray is an input type for []Int16MapInput values.

func (Int16MapArray) ElementType

func (Int16MapArray) ElementType() reflect.Type

ElementType returns the element type of this Input ([]map[string]int16).

func (Int16MapArray) ToInt16MapArrayOutput

func (in Int16MapArray) ToInt16MapArrayOutput() Int16MapArrayOutput

func (Int16MapArray) ToInt16MapArrayOutputWithContext

func (in Int16MapArray) ToInt16MapArrayOutputWithContext(ctx context.Context) Int16MapArrayOutput

type Int16MapArrayInput

type Int16MapArrayInput interface {
	Input

	ToInt16MapArrayOutput() Int16MapArrayOutput
	ToInt16MapArrayOutputWithContext(ctx context.Context) Int16MapArrayOutput
}

Int16MapArrayInput is an input type that accepts Int16MapArray and Int16MapArrayOutput values.

type Int16MapArrayOutput

type Int16MapArrayOutput struct{ *OutputState }

Int16MapArrayOutput is an Output that returns []map[string]int16 values.

func (Int16MapArrayOutput) ElementType

func (Int16MapArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]map[string]int16).

func (Int16MapArrayOutput) Index

func (o Int16MapArrayOutput) Index(i IntInput) Int16MapOutput

func (Int16MapArrayOutput) ToInt16MapArrayOutput

func (o Int16MapArrayOutput) ToInt16MapArrayOutput() Int16MapArrayOutput

func (Int16MapArrayOutput) ToInt16MapArrayOutputWithContext

func (o Int16MapArrayOutput) ToInt16MapArrayOutputWithContext(ctx context.Context) Int16MapArrayOutput

type Int16MapInput

type Int16MapInput interface {
	Input

	ToInt16MapOutput() Int16MapOutput
	ToInt16MapOutputWithContext(ctx context.Context) Int16MapOutput
}

Int16MapInput is an input type that accepts Int16Map and Int16MapOutput values.

type Int16MapOutput

type Int16MapOutput struct{ *OutputState }

Int16MapOutput is an Output that returns map[string]int16 values.

func (Int16MapOutput) ElementType

func (Int16MapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string]int16).

func (Int16MapOutput) MapIndex

func (o Int16MapOutput) MapIndex(k StringInput) Int16Output

func (Int16MapOutput) ToInt16MapOutput

func (o Int16MapOutput) ToInt16MapOutput() Int16MapOutput

func (Int16MapOutput) ToInt16MapOutputWithContext

func (o Int16MapOutput) ToInt16MapOutputWithContext(ctx context.Context) Int16MapOutput

type Int16Output

type Int16Output struct{ *OutputState }

Int16Output is an Output that returns int16 values.

func (Int16Output) ElementType

func (Int16Output) ElementType() reflect.Type

ElementType returns the element type of this Output (int16).

func (Int16Output) ToInt16Output

func (o Int16Output) ToInt16Output() Int16Output

func (Int16Output) ToInt16OutputWithContext

func (o Int16Output) ToInt16OutputWithContext(ctx context.Context) Int16Output

func (Int16Output) ToInt16PtrOutput

func (o Int16Output) ToInt16PtrOutput() Int16PtrOutput

func (Int16Output) ToInt16PtrOutputWithContext

func (o Int16Output) ToInt16PtrOutputWithContext(ctx context.Context) Int16PtrOutput

type Int16PtrInput

type Int16PtrInput interface {
	Input

	ToInt16PtrOutput() Int16PtrOutput
	ToInt16PtrOutputWithContext(ctx context.Context) Int16PtrOutput
}

Int16PtrInput is an input type that accepts Int16Ptr and Int16PtrOutput values.

func Int16Ptr

func Int16Ptr(v int16) Int16PtrInput

Int16Ptr is an input type for *int16 values.

type Int16PtrOutput

type Int16PtrOutput struct{ *OutputState }

Int16PtrOutput is an Output that returns *int16 values.

func (Int16PtrOutput) Elem

func (o Int16PtrOutput) Elem() Int16Output

func (Int16PtrOutput) ElementType

func (Int16PtrOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (*int16).

func (Int16PtrOutput) ToInt16PtrOutput

func (o Int16PtrOutput) ToInt16PtrOutput() Int16PtrOutput

func (Int16PtrOutput) ToInt16PtrOutputWithContext

func (o Int16PtrOutput) ToInt16PtrOutputWithContext(ctx context.Context) Int16PtrOutput

type Int32

type Int32 int32

Int32 is an input type for int32 values.

func (Int32) ElementType

func (Int32) ElementType() reflect.Type

ElementType returns the element type of this Input (int32).

func (Int32) ToInt32Output

func (in Int32) ToInt32Output() Int32Output

func (Int32) ToInt32OutputWithContext

func (in Int32) ToInt32OutputWithContext(ctx context.Context) Int32Output

func (Int32) ToInt32PtrOutput

func (in Int32) ToInt32PtrOutput() Int32PtrOutput

func (Int32) ToInt32PtrOutputWithContext

func (in Int32) ToInt32PtrOutputWithContext(ctx context.Context) Int32PtrOutput

type Int32Array

type Int32Array []Int32Input

Int32Array is an input type for []Int32Input values.

func (Int32Array) ElementType

func (Int32Array) ElementType() reflect.Type

ElementType returns the element type of this Input ([]int32).

func (Int32Array) ToInt32ArrayOutput

func (in Int32Array) ToInt32ArrayOutput() Int32ArrayOutput

func (Int32Array) ToInt32ArrayOutputWithContext

func (in Int32Array) ToInt32ArrayOutputWithContext(ctx context.Context) Int32ArrayOutput

type Int32ArrayInput

type Int32ArrayInput interface {
	Input

	ToInt32ArrayOutput() Int32ArrayOutput
	ToInt32ArrayOutputWithContext(ctx context.Context) Int32ArrayOutput
}

Int32ArrayInput is an input type that accepts Int32Array and Int32ArrayOutput values.

type Int32ArrayMap

type Int32ArrayMap map[string]Int32ArrayInput

Int32ArrayMap is an input type for map[string]Int32ArrayInput values.

func (Int32ArrayMap) ElementType

func (Int32ArrayMap) ElementType() reflect.Type

ElementType returns the element type of this Input (map[string][]int32).

func (Int32ArrayMap) ToInt32ArrayMapOutput

func (in Int32ArrayMap) ToInt32ArrayMapOutput() Int32ArrayMapOutput

func (Int32ArrayMap) ToInt32ArrayMapOutputWithContext

func (in Int32ArrayMap) ToInt32ArrayMapOutputWithContext(ctx context.Context) Int32ArrayMapOutput

type Int32ArrayMapInput

type Int32ArrayMapInput interface {
	Input

	ToInt32ArrayMapOutput() Int32ArrayMapOutput
	ToInt32ArrayMapOutputWithContext(ctx context.Context) Int32ArrayMapOutput
}

Int32ArrayMapInput is an input type that accepts Int32ArrayMap and Int32ArrayMapOutput values.

type Int32ArrayMapOutput

type Int32ArrayMapOutput struct{ *OutputState }

Int32ArrayMapOutput is an Output that returns map[string][]int32 values.

func (Int32ArrayMapOutput) ElementType

func (Int32ArrayMapOutput) ElementType() reflect.Type

ElementType returns the element type of this Output (map[string][]int32).

func (Int32ArrayMapOutput) MapIndex

func (o Int32ArrayMapOutput) MapIndex(k StringInput) Int32ArrayOutput

func (Int32ArrayMapOutput) ToInt32ArrayMapOutput

func (o Int32ArrayMapOutput) ToInt32ArrayMapOutput() Int32ArrayMapOutput

func (Int32ArrayMapOutput) ToInt32ArrayMapOutputWithContext

func (o Int32ArrayMapOutput) ToInt32ArrayMapOutputWithContext(ctx context.Context) Int32ArrayMapOutput

type Int32ArrayOutput

type Int32ArrayOutput struct{ *OutputState }

Int32ArrayOutput is an Output that returns []int32 values.

func (Int32ArrayOutput) ElementType

func (Int32ArrayOutput) ElementType() reflect.Type

ElementType returns the element type of this Output ([]int32).

func (Int32ArrayOutput) Index

func (o Int32ArrayOutput) Index(i IntInput) Int32Output

func (Int32ArrayOutput) ToInt32ArrayOutput

func (o Int32ArrayOutput) ToInt32ArrayOutput() Int32ArrayOutput

func (Int32ArrayOutput)