Back to godoc.org

Package pulumi

v2.10.1
Latest Go to latest

The latest major version is v2.

Published: 4 days ago | License: Apache-2.0 | Module: github.com/pulumi/pulumi/sdk/v2

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

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.

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 ArchiveArrayArray

type ArchiveArrayArray []ArchiveArrayInput

ArchiveArrayArray is an input type for []ArchiveArrayInput values.

func (ArchiveArrayArray) ElementType

func (ArchiveArrayArray) ElementType() reflect.Type

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

func (ArchiveArrayArray) ToArchiveArrayArrayOutput

func (in ArchiveArrayArray) ToArchiveArrayArrayOutput() ArchiveArrayArrayOutput

func (ArchiveArrayArray) ToArchiveArrayArrayOutputWithContext

func (in ArchiveArrayArray) ToArchiveArrayArrayOutputWithContext(ctx context.Context) ArchiveArrayArrayOutput

type ArchiveArrayArrayInput

type ArchiveArrayArrayInput interface {
	Input

	ToArchiveArrayArrayOutput() ArchiveArrayArrayOutput
	ToArchiveArrayArrayOutputWithContext(ctx context.Context) ArchiveArrayArrayOutput
}

ArchiveArrayArrayInput is an input type that accepts ArchiveArrayArray and ArchiveArrayArrayOutput values.

type ArchiveArrayArrayOutput

type ArchiveArrayArrayOutput struct{ *OutputState }

ArchiveArrayArrayOutput is an Output that returns [][]Archive values.

func (ArchiveArrayArrayOutput) ElementType

func (ArchiveArrayArrayOutput) ElementType() reflect.Type

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

func (ArchiveArrayArrayOutput) Index

func (o ArchiveArrayArrayOutput) Index(i IntInput) ArchiveArrayOutput

func (ArchiveArrayArrayOutput) ToArchiveArrayArrayOutput

func (o ArchiveArrayArrayOutput) ToArchiveArrayArrayOutput() ArchiveArrayArrayOutput

func (ArchiveArrayArrayOutput) ToArchiveArrayArrayOutputWithContext

func (o ArchiveArrayArrayOutput) ToArchiveArrayArrayOutputWithContext(ctx context.Context) ArchiveArrayArrayOutput

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 ArchiveMapMap

type ArchiveMapMap map[string]ArchiveMapInput

ArchiveMapMap is an input type for map[string]ArchiveMapInput values.

func (ArchiveMapMap) ElementType

func (ArchiveMapMap) ElementType() reflect.Type

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

func (ArchiveMapMap) ToArchiveMapMapOutput

func (in ArchiveMapMap) ToArchiveMapMapOutput() ArchiveMapMapOutput

func (ArchiveMapMap) ToArchiveMapMapOutputWithContext

func (in ArchiveMapMap) ToArchiveMapMapOutputWithContext(ctx context.Context) ArchiveMapMapOutput

type ArchiveMapMapInput

type ArchiveMapMapInput interface {
	Input

	ToArchiveMapMapOutput() ArchiveMapMapOutput
	ToArchiveMapMapOutputWithContext(ctx context.Context) ArchiveMapMapOutput
}

ArchiveMapMapInput is an input type that accepts ArchiveMapMap and ArchiveMapMapOutput values.

type ArchiveMapMapOutput

type ArchiveMapMapOutput struct{ *OutputState }

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

func (ArchiveMapMapOutput) ElementType

func (ArchiveMapMapOutput) ElementType() reflect.Type

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

func (ArchiveMapMapOutput) MapIndex

func (o ArchiveMapMapOutput) MapIndex(k StringInput) ArchiveMapOutput

func (ArchiveMapMapOutput) ToArchiveMapMapOutput

func (o ArchiveMapMapOutput) ToArchiveMapMapOutput() ArchiveMapMapOutput

func (ArchiveMapMapOutput) ToArchiveMapMapOutputWithContext

func (o ArchiveMapMapOutput) ToArchiveMapMapOutputWithContext(ctx context.Context) ArchiveMapMapOutput

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 ArrayArray

type ArrayArray []ArrayInput

ArrayArray is an input type for []ArrayInput values.

func (ArrayArray) ElementType

func (ArrayArray) ElementType() reflect.Type

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

func (ArrayArray) ToArrayArrayOutput

func (in ArrayArray) ToArrayArrayOutput() ArrayArrayOutput

func (ArrayArray) ToArrayArrayOutputWithContext

func (in ArrayArray) ToArrayArrayOutputWithContext(ctx context.Context) ArrayArrayOutput

type ArrayArrayInput

type ArrayArrayInput interface {
	Input

	ToArrayArrayOutput() ArrayArrayOutput
	ToArrayArrayOutputWithContext(ctx context.Context) ArrayArrayOutput
}

ArrayArrayInput is an input type that accepts ArrayArray and ArrayArrayOutput values.

type ArrayArrayOutput

type ArrayArrayOutput struct{ *OutputState }

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

func (ArrayArrayOutput) ElementType

func (ArrayArrayOutput) ElementType() reflect.Type

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

func (ArrayArrayOutput) Index

func (o ArrayArrayOutput) Index(i IntInput) ArrayOutput

func (ArrayArrayOutput) ToArrayArrayOutput

func (o ArrayArrayOutput) ToArrayArrayOutput() ArrayArrayOutput

func (ArrayArrayOutput) ToArrayArrayOutputWithContext

func (o ArrayArrayOutput) ToArrayArrayOutputWithContext(ctx context.Context) ArrayArrayOutput

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 AssetArrayArray

type AssetArrayArray []AssetArrayInput

AssetArrayArray is an input type for []AssetArrayInput values.

func (AssetArrayArray) ElementType

func (AssetArrayArray) ElementType() reflect.Type

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

func (AssetArrayArray) ToAssetArrayArrayOutput

func (in AssetArrayArray) ToAssetArrayArrayOutput() AssetArrayArrayOutput

func (AssetArrayArray) ToAssetArrayArrayOutputWithContext

func (in AssetArrayArray) ToAssetArrayArrayOutputWithContext(ctx context.Context) AssetArrayArrayOutput

type AssetArrayArrayInput

type AssetArrayArrayInput interface {
	Input

	ToAssetArrayArrayOutput() AssetArrayArrayOutput
	ToAssetArrayArrayOutputWithContext(ctx context.Context) AssetArrayArrayOutput
}

AssetArrayArrayInput is an input type that accepts AssetArrayArray and AssetArrayArrayOutput values.

type AssetArrayArrayOutput

type AssetArrayArrayOutput struct{ *OutputState }

AssetArrayArrayOutput is an Output that returns [][]Asset values.

func (AssetArrayArrayOutput) ElementType

func (AssetArrayArrayOutput) ElementType() reflect.Type

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

func (AssetArrayArrayOutput) Index

func (o AssetArrayArrayOutput) Index(i IntInput) AssetArrayOutput

func (AssetArrayArrayOutput) ToAssetArrayArrayOutput

func (o AssetArrayArrayOutput) ToAssetArrayArrayOutput() AssetArrayArrayOutput

func (AssetArrayArrayOutput) ToAssetArrayArrayOutputWithContext

func (o AssetArrayArrayOutput) ToAssetArrayArrayOutputWithContext(ctx context.Context) AssetArrayArrayOutput

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)