pulumi

package
v3.65.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 30 Imported by: 6,598

Documentation

Index

Constants

View Source
const (
	// EnvOrganization is the envvar used to read the current Pulumi organization name.
	EnvOrganization = "PULUMI_ORGANIZATION"
	// 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"
	// EnvConfigSecretKeys is the envvar used to read the current Pulumi configuration keys that are secrets.
	//nolint:gosec
	EnvConfigSecretKeys = "PULUMI_CONFIG_SECRET_KEYS"
	// 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

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

Functions

func BoolRef added in v3.24.0

func BoolRef(v bool) *bool

BoolRef returns a pointer to its argument, used in cases where a parameter requires an optional bool.

func Float64Ref added in v3.24.0

func Float64Ref(v float64) *float64

Float64Ref returns a pointer to its argument, used in cases where a parameter requires an optional float64.

func IntRef added in v3.24.0

func IntRef(v int) *int

IntRef returns a pointer to its argument, used in cases where a parameter requires an optional int.

func IsSecret

func IsSecret(o Output) bool

IsSecret returns a bool representing the secretness of the Output

IsSecret may return an inaccurate results if the Output is unknowable (during a preview) or contains an error.

func RegisterInputType added in v3.13.0

func RegisterInputType(interfaceType reflect.Type, input Input)

RegisterInputType registers an Input type with the Pulumi runtime. This allows the input type to be instantiated for a given input interface.

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 RegisterResourceModule

func RegisterResourceModule(pkg, mod string, module ResourceModule)

RegisterResourceModule register a resource module with the Pulumi runtime.

func RegisterResourcePackage

func RegisterResourcePackage(pkg string, resourcePackage ResourcePackage)

RegisterResourcePackage register a resource package with the Pulumi runtime.

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.

func StringRef added in v3.24.0

func StringRef(v string) *string

StringRef returns a pointer to its argument, used in cases where a parameter requires an optional string.

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 by default.
	// This option is mutually exclusive to `ParentURN` and `NoParent`.
	// Use `Alias { NoParent: pulumi.Bool(true) }` to avoid defaulting to the current parent.
	Parent Resource
	// The previous parent of the resource in URN format, mutually exclusive to `Parent` and `ParentURN`.
	// To specify no original parent, use `Alias { NoParent: pulumi.Bool(true) }`.
	ParentURN URNInput
	// When true, indicates that the resource previously had no parent.
	// This option is mutually exclusive to `Parent` and `ParentURN`.
	NoParent BoolInput
	// 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 JSONUnmarshal added in v3.51.1

func JSONUnmarshal(data StringInput) AnyOutput

JSONUnmarshal uses "encoding/json".Unmarshal to deserialize the given Input JSON string into a value.

func JSONUnmarshalWithContext added in v3.51.1

func JSONUnmarshalWithContext(ctx context.Context, data StringInput) AnyOutput

JSONUnmarshalWithContext uses "encoding/json".Unmarshal to deserialize the given Input JSON string into a value.

func (AnyOutput) AsArchiveArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsArchiveArrayArrayOutput() ArchiveArrayArrayOutput

AsArchiveArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]Archive or a compatible type and returns a `ArchiveArrayArrayOutput` with that value. AsArchiveArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArchiveArrayMapOutput added in v3.36.0

func (a AnyOutput) AsArchiveArrayMapOutput() ArchiveArrayMapOutput

AsArchiveArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]Archive or a compatible type and returns a `ArchiveArrayMapOutput` with that value. AsArchiveArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArchiveArrayOutput added in v3.36.0

func (a AnyOutput) AsArchiveArrayOutput() ArchiveArrayOutput

AsArchiveArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []Archive or a compatible type and returns a `ArchiveArrayOutput` with that value. AsArchiveArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArchiveMapArrayOutput added in v3.36.0

func (a AnyOutput) AsArchiveMapArrayOutput() ArchiveMapArrayOutput

AsArchiveMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]Archive or a compatible type and returns a `ArchiveMapArrayOutput` with that value. AsArchiveMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArchiveMapMapOutput added in v3.36.0

func (a AnyOutput) AsArchiveMapMapOutput() ArchiveMapMapOutput

AsArchiveMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]Archive or a compatible type and returns a `ArchiveMapMapOutput` with that value. AsArchiveMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArchiveMapOutput added in v3.36.0

func (a AnyOutput) AsArchiveMapOutput() ArchiveMapOutput

AsArchiveMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]Archive or a compatible type and returns a `ArchiveMapOutput` with that value. AsArchiveMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArchiveOutput added in v3.36.0

func (a AnyOutput) AsArchiveOutput() ArchiveOutput

AsArchiveOutput asserts that the type of the AnyOutput's underlying interface{} value is Archive and returns a `ArchiveOutput` with that value. AsArchiveOutput panics if the value was not the expected type.

func (AnyOutput) AsArrayArrayMapOutput added in v3.36.0

func (a AnyOutput) AsArrayArrayMapOutput() ArrayArrayMapOutput

AsArrayArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][][]interface{} or a compatible type and returns a `ArrayArrayMapOutput` with that value. AsArrayArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsArrayArrayOutput() ArrayArrayOutput

AsArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]interface{} or a compatible type and returns a `ArrayArrayOutput` with that value. AsArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArrayMapOutput added in v3.36.0

func (a AnyOutput) AsArrayMapOutput() ArrayMapOutput

AsArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]interface{} or a compatible type and returns a `ArrayMapOutput` with that value. AsArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsArrayOutput added in v3.36.0

func (a AnyOutput) AsArrayOutput() ArrayOutput

AsArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []interface{} or a compatible type and returns a `ArrayOutput` with that value. AsArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsAssetArrayArrayOutput() AssetArrayArrayOutput

AsAssetArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]Asset or a compatible type and returns a `AssetArrayArrayOutput` with that value. AsAssetArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetArrayMapOutput added in v3.36.0

func (a AnyOutput) AsAssetArrayMapOutput() AssetArrayMapOutput

AsAssetArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]Asset or a compatible type and returns a `AssetArrayMapOutput` with that value. AsAssetArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetArrayOutput added in v3.36.0

func (a AnyOutput) AsAssetArrayOutput() AssetArrayOutput

AsAssetArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []Asset or a compatible type and returns a `AssetArrayOutput` with that value. AsAssetArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetMapArrayOutput added in v3.36.0

func (a AnyOutput) AsAssetMapArrayOutput() AssetMapArrayOutput

AsAssetMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]Asset or a compatible type and returns a `AssetMapArrayOutput` with that value. AsAssetMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetMapMapOutput added in v3.36.0

func (a AnyOutput) AsAssetMapMapOutput() AssetMapMapOutput

AsAssetMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]Asset or a compatible type and returns a `AssetMapMapOutput` with that value. AsAssetMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetMapOutput added in v3.36.0

func (a AnyOutput) AsAssetMapOutput() AssetMapOutput

AsAssetMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]Asset or a compatible type and returns a `AssetMapOutput` with that value. AsAssetMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveArrayArrayOutput() AssetOrArchiveArrayArrayOutput

AsAssetOrArchiveArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]AssetOrArchive or a compatible type and returns a `AssetOrArchiveArrayArrayOutput` with that value. AsAssetOrArchiveArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveArrayMapOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveArrayMapOutput() AssetOrArchiveArrayMapOutput

AsAssetOrArchiveArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]AssetOrArchive or a compatible type and returns a `AssetOrArchiveArrayMapOutput` with that value. AsAssetOrArchiveArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveArrayOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveArrayOutput() AssetOrArchiveArrayOutput

AsAssetOrArchiveArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []AssetOrArchive or a compatible type and returns a `AssetOrArchiveArrayOutput` with that value. AsAssetOrArchiveArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveMapArrayOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveMapArrayOutput() AssetOrArchiveMapArrayOutput

AsAssetOrArchiveMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]AssetOrArchive or a compatible type and returns a `AssetOrArchiveMapArrayOutput` with that value. AsAssetOrArchiveMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveMapMapOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveMapMapOutput() AssetOrArchiveMapMapOutput

AsAssetOrArchiveMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]AssetOrArchive or a compatible type and returns a `AssetOrArchiveMapMapOutput` with that value. AsAssetOrArchiveMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveMapOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveMapOutput() AssetOrArchiveMapOutput

AsAssetOrArchiveMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]AssetOrArchive or a compatible type and returns a `AssetOrArchiveMapOutput` with that value. AsAssetOrArchiveMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsAssetOrArchiveOutput added in v3.36.0

func (a AnyOutput) AsAssetOrArchiveOutput() AssetOrArchiveOutput

AsAssetOrArchiveOutput asserts that the type of the AnyOutput's underlying interface{} value is AssetOrArchive and returns a `AssetOrArchiveOutput` with that value. AsAssetOrArchiveOutput panics if the value was not the expected type.

func (AnyOutput) AsAssetOutput added in v3.36.0

func (a AnyOutput) AsAssetOutput() AssetOutput

AsAssetOutput asserts that the type of the AnyOutput's underlying interface{} value is Asset and returns a `AssetOutput` with that value. AsAssetOutput panics if the value was not the expected type.

func (AnyOutput) AsBoolArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsBoolArrayArrayOutput() BoolArrayArrayOutput

AsBoolArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]bool or a compatible type and returns a `BoolArrayArrayOutput` with that value. AsBoolArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsBoolArrayMapOutput added in v3.36.0

func (a AnyOutput) AsBoolArrayMapOutput() BoolArrayMapOutput

AsBoolArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]bool or a compatible type and returns a `BoolArrayMapOutput` with that value. AsBoolArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsBoolArrayOutput added in v3.36.0

func (a AnyOutput) AsBoolArrayOutput() BoolArrayOutput

AsBoolArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []bool or a compatible type and returns a `BoolArrayOutput` with that value. AsBoolArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsBoolMapArrayOutput added in v3.36.0

func (a AnyOutput) AsBoolMapArrayOutput() BoolMapArrayOutput

AsBoolMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]bool or a compatible type and returns a `BoolMapArrayOutput` with that value. AsBoolMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsBoolMapMapOutput added in v3.36.0

func (a AnyOutput) AsBoolMapMapOutput() BoolMapMapOutput

AsBoolMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]bool or a compatible type and returns a `BoolMapMapOutput` with that value. AsBoolMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsBoolMapOutput added in v3.36.0

func (a AnyOutput) AsBoolMapOutput() BoolMapOutput

AsBoolMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]bool or a compatible type and returns a `BoolMapOutput` with that value. AsBoolMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsBoolOutput added in v3.36.0

func (a AnyOutput) AsBoolOutput() BoolOutput

AsBoolOutput asserts that the type of the AnyOutput's underlying interface{} value is bool and returns a `BoolOutput` with that value. AsBoolOutput panics if the value was not the expected type.

func (AnyOutput) AsBoolPtrOutput added in v3.36.0

func (a AnyOutput) AsBoolPtrOutput() BoolPtrOutput

AsBoolPtrOutput asserts that the type of the AnyOutput's underlying interface{} value is *bool or a compatible type and returns a `BoolPtrOutput` with that value. AsBoolPtrOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64ArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsFloat64ArrayArrayOutput() Float64ArrayArrayOutput

AsFloat64ArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]float64 or a compatible type and returns a `Float64ArrayArrayOutput` with that value. AsFloat64ArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64ArrayMapOutput added in v3.36.0

func (a AnyOutput) AsFloat64ArrayMapOutput() Float64ArrayMapOutput

AsFloat64ArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]float64 or a compatible type and returns a `Float64ArrayMapOutput` with that value. AsFloat64ArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64ArrayOutput added in v3.36.0

func (a AnyOutput) AsFloat64ArrayOutput() Float64ArrayOutput

AsFloat64ArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []float64 or a compatible type and returns a `Float64ArrayOutput` with that value. AsFloat64ArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64MapArrayOutput added in v3.36.0

func (a AnyOutput) AsFloat64MapArrayOutput() Float64MapArrayOutput

AsFloat64MapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]float64 or a compatible type and returns a `Float64MapArrayOutput` with that value. AsFloat64MapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64MapMapOutput added in v3.36.0

func (a AnyOutput) AsFloat64MapMapOutput() Float64MapMapOutput

AsFloat64MapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]float64 or a compatible type and returns a `Float64MapMapOutput` with that value. AsFloat64MapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64MapOutput added in v3.36.0

func (a AnyOutput) AsFloat64MapOutput() Float64MapOutput

AsFloat64MapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]float64 or a compatible type and returns a `Float64MapOutput` with that value. AsFloat64MapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsFloat64Output added in v3.36.0

func (a AnyOutput) AsFloat64Output() Float64Output

AsFloat64Output asserts that the type of the AnyOutput's underlying interface{} value is float64 and returns a `Float64Output` with that value. AsFloat64Output panics if the value was not the expected type.

func (AnyOutput) AsFloat64PtrOutput added in v3.36.0

func (a AnyOutput) AsFloat64PtrOutput() Float64PtrOutput

AsFloat64PtrOutput asserts that the type of the AnyOutput's underlying interface{} value is *float64 or a compatible type and returns a `Float64PtrOutput` with that value. AsFloat64PtrOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsIDArrayArrayOutput() IDArrayArrayOutput

AsIDArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]ID or a compatible type and returns a `IDArrayArrayOutput` with that value. AsIDArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDArrayMapOutput added in v3.36.0

func (a AnyOutput) AsIDArrayMapOutput() IDArrayMapOutput

AsIDArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]ID or a compatible type and returns a `IDArrayMapOutput` with that value. AsIDArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDArrayOutput added in v3.36.0

func (a AnyOutput) AsIDArrayOutput() IDArrayOutput

AsIDArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []ID or a compatible type and returns a `IDArrayOutput` with that value. AsIDArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDMapArrayOutput added in v3.36.0

func (a AnyOutput) AsIDMapArrayOutput() IDMapArrayOutput

AsIDMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]ID or a compatible type and returns a `IDMapArrayOutput` with that value. AsIDMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDMapMapOutput added in v3.36.0

func (a AnyOutput) AsIDMapMapOutput() IDMapMapOutput

AsIDMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]ID or a compatible type and returns a `IDMapMapOutput` with that value. AsIDMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDMapOutput added in v3.36.0

func (a AnyOutput) AsIDMapOutput() IDMapOutput

AsIDMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]ID or a compatible type and returns a `IDMapOutput` with that value. AsIDMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIDOutput added in v3.36.0

func (a AnyOutput) AsIDOutput() IDOutput

AsIDOutput asserts that the type of the AnyOutput's underlying interface{} value is ID and returns a `IDOutput` with that value. AsIDOutput panics if the value was not the expected type.

func (AnyOutput) AsIDPtrOutput added in v3.36.0

func (a AnyOutput) AsIDPtrOutput() IDPtrOutput

AsIDPtrOutput asserts that the type of the AnyOutput's underlying interface{} value is *ID or a compatible type and returns a `IDPtrOutput` with that value. AsIDPtrOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsIntArrayArrayOutput() IntArrayArrayOutput

AsIntArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]int or a compatible type and returns a `IntArrayArrayOutput` with that value. AsIntArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntArrayMapOutput added in v3.36.0

func (a AnyOutput) AsIntArrayMapOutput() IntArrayMapOutput

AsIntArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]int or a compatible type and returns a `IntArrayMapOutput` with that value. AsIntArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntArrayOutput added in v3.36.0

func (a AnyOutput) AsIntArrayOutput() IntArrayOutput

AsIntArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []int or a compatible type and returns a `IntArrayOutput` with that value. AsIntArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntMapArrayOutput added in v3.36.0

func (a AnyOutput) AsIntMapArrayOutput() IntMapArrayOutput

AsIntMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]int or a compatible type and returns a `IntMapArrayOutput` with that value. AsIntMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntMapMapOutput added in v3.36.0

func (a AnyOutput) AsIntMapMapOutput() IntMapMapOutput

AsIntMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]int or a compatible type and returns a `IntMapMapOutput` with that value. AsIntMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntMapOutput added in v3.36.0

func (a AnyOutput) AsIntMapOutput() IntMapOutput

AsIntMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]int or a compatible type and returns a `IntMapOutput` with that value. AsIntMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsIntOutput added in v3.36.0

func (a AnyOutput) AsIntOutput() IntOutput

AsIntOutput asserts that the type of the AnyOutput's underlying interface{} value is int and returns a `IntOutput` with that value. AsIntOutput panics if the value was not the expected type.

func (AnyOutput) AsIntPtrOutput added in v3.36.0

func (a AnyOutput) AsIntPtrOutput() IntPtrOutput

AsIntPtrOutput asserts that the type of the AnyOutput's underlying interface{} value is *int or a compatible type and returns a `IntPtrOutput` with that value. AsIntPtrOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsMapArrayOutput added in v3.36.0

func (a AnyOutput) AsMapArrayOutput() MapArrayOutput

AsMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]interface{} or a compatible type and returns a `MapArrayOutput` with that value. AsMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsMapMapOutput added in v3.36.0

func (a AnyOutput) AsMapMapOutput() MapMapOutput

AsMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]interface{} or a compatible type and returns a `MapMapOutput` with that value. AsMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsMapOutput added in v3.36.0

func (a AnyOutput) AsMapOutput() MapOutput

AsMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]interface{} or a compatible type and returns a `MapOutput` with that value. AsMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsStringArrayArrayOutput() StringArrayArrayOutput

AsStringArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]string or a compatible type and returns a `StringArrayArrayOutput` with that value. AsStringArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringArrayMapOutput added in v3.36.0

func (a AnyOutput) AsStringArrayMapOutput() StringArrayMapOutput

AsStringArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]string or a compatible type and returns a `StringArrayMapOutput` with that value. AsStringArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringArrayOutput added in v3.36.0

func (a AnyOutput) AsStringArrayOutput() StringArrayOutput

AsStringArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []string or a compatible type and returns a `StringArrayOutput` with that value. AsStringArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringMapArrayOutput added in v3.36.0

func (a AnyOutput) AsStringMapArrayOutput() StringMapArrayOutput

AsStringMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]string or a compatible type and returns a `StringMapArrayOutput` with that value. AsStringMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringMapMapOutput added in v3.36.0

func (a AnyOutput) AsStringMapMapOutput() StringMapMapOutput

AsStringMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]string or a compatible type and returns a `StringMapMapOutput` with that value. AsStringMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringMapOutput added in v3.36.0

func (a AnyOutput) AsStringMapOutput() StringMapOutput

AsStringMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]string or a compatible type and returns a `StringMapOutput` with that value. AsStringMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsStringOutput added in v3.36.0

func (a AnyOutput) AsStringOutput() StringOutput

AsStringOutput asserts that the type of the AnyOutput's underlying interface{} value is string and returns a `StringOutput` with that value. AsStringOutput panics if the value was not the expected type.

func (AnyOutput) AsStringPtrOutput added in v3.36.0

func (a AnyOutput) AsStringPtrOutput() StringPtrOutput

AsStringPtrOutput asserts that the type of the AnyOutput's underlying interface{} value is *string or a compatible type and returns a `StringPtrOutput` with that value. AsStringPtrOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNArrayArrayOutput added in v3.36.0

func (a AnyOutput) AsURNArrayArrayOutput() URNArrayArrayOutput

AsURNArrayArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is [][]URN or a compatible type and returns a `URNArrayArrayOutput` with that value. AsURNArrayArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNArrayMapOutput added in v3.36.0

func (a AnyOutput) AsURNArrayMapOutput() URNArrayMapOutput

AsURNArrayMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string][]URN or a compatible type and returns a `URNArrayMapOutput` with that value. AsURNArrayMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNArrayOutput added in v3.36.0

func (a AnyOutput) AsURNArrayOutput() URNArrayOutput

AsURNArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []URN or a compatible type and returns a `URNArrayOutput` with that value. AsURNArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNMapArrayOutput added in v3.36.0

func (a AnyOutput) AsURNMapArrayOutput() URNMapArrayOutput

AsURNMapArrayOutput asserts that the type of the AnyOutput's underlying interface{} value is []map[string]URN or a compatible type and returns a `URNMapArrayOutput` with that value. AsURNMapArrayOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNMapMapOutput added in v3.36.0

func (a AnyOutput) AsURNMapMapOutput() URNMapMapOutput

AsURNMapMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]map[string]URN or a compatible type and returns a `URNMapMapOutput` with that value. AsURNMapMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNMapOutput added in v3.36.0

func (a AnyOutput) AsURNMapOutput() URNMapOutput

AsURNMapOutput asserts that the type of the AnyOutput's underlying interface{} value is map[string]URN or a compatible type and returns a `URNMapOutput` with that value. AsURNMapOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) AsURNOutput added in v3.36.0

func (a AnyOutput) AsURNOutput() URNOutput

AsURNOutput asserts that the type of the AnyOutput's underlying interface{} value is URN and returns a `URNOutput` with that value. AsURNOutput panics if the value was not the expected type.

func (AnyOutput) AsURNPtrOutput added in v3.36.0

func (a AnyOutput) AsURNPtrOutput() URNPtrOutput

AsURNPtrOutput asserts that the type of the AnyOutput's underlying interface{} value is *URN or a compatible type and returns a `URNPtrOutput` with that value. AsURNPtrOutput panics if the value was not the expected type or a compatible type.

func (AnyOutput) ElementType

func (AnyOutput) ElementType() reflect.Type

func (AnyOutput) MarshalJSON added in v3.50.0

func (AnyOutput) MarshalJSON() ([]byte, error)

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 ToArchiveArray

func ToArchiveArray(in []Archive) ArchiveArray

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 ToArchiveArrayArray

func ToArchiveArrayArray(in [][]Archive) ArchiveArrayArray

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 ToArchiveArrayArrayOutput

func ToArchiveArrayArrayOutput(in []ArchiveArrayOutput) ArchiveArrayArrayOutput

func (ArchiveArrayArrayOutput) ElementType

func (ArchiveArrayArrayOutput) ElementType() reflect.Type

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

func (ArchiveArrayArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (ArchiveArrayArrayOutput) MarshalJSON added in v3.50.0

func (ArchiveArrayArrayOutput) MarshalJSON() ([]byte, error)

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 ToArchiveArrayMap

func ToArchiveArrayMap(in map[string][]Archive) ArchiveArrayMap

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 ToArchiveArrayMapOutput

func ToArchiveArrayMapOutput(in map[string]ArchiveArrayOutput) ArchiveArrayMapOutput

func (ArchiveArrayMapOutput) ElementType

func (ArchiveArrayMapOutput) ElementType() reflect.Type

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

func (ArchiveArrayMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (ArchiveArrayMapOutput) MarshalJSON added in v3.50.0

func (ArchiveArrayMapOutput) MarshalJSON() ([]byte, error)

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 ToArchiveArrayOutput

func ToArchiveArrayOutput(in []ArchiveOutput) ArchiveArrayOutput

func (ArchiveArrayOutput) ElementType

func (ArchiveArrayOutput) ElementType() reflect.Type

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

func (ArchiveArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (ArchiveArrayOutput) MarshalJSON added in v3.50.0

func (ArchiveArrayOutput) MarshalJSON() ([]byte, error)

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 ToArchiveMap

func ToArchiveMap(in map[string]Archive) ArchiveMap

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 ToArchiveMapArray

func ToArchiveMapArray(in []map[string]Archive) ArchiveMapArray

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 ToArchiveMapArrayOutput

func ToArchiveMapArrayOutput(in []ArchiveMapOutput) ArchiveMapArrayOutput

func (ArchiveMapArrayOutput) ElementType

func (ArchiveMapArrayOutput) ElementType() reflect.Type

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

func (ArchiveMapArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (ArchiveMapArrayOutput) MarshalJSON added in v3.50.0

func (ArchiveMapArrayOutput) MarshalJSON() ([]byte, error)

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 ToArchiveMapMap

func ToArchiveMapMap(in map[string]map[string]Archive) ArchiveMapMap

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 ToArchiveMapMapOutput

func ToArchiveMapMapOutput(in map[string]ArchiveMapOutput) ArchiveMapMapOutput

func (ArchiveMapMapOutput) ElementType

func (ArchiveMapMapOutput) ElementType() reflect.Type

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

func (ArchiveMapMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (ArchiveMapMapOutput) MarshalJSON added in v3.50.0

func (ArchiveMapMapOutput) MarshalJSON() ([]byte, error)

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 ToArchiveMapOutput

func ToArchiveMapOutput(in map[string]ArchiveOutput) ArchiveMapOutput

func (ArchiveMapOutput) ElementType

func (ArchiveMapOutput) ElementType() reflect.Type

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

func (ArchiveMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (ArchiveMapOutput) MarshalJSON added in v3.50.0

func (ArchiveMapOutput) MarshalJSON() ([]byte, error)

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) MarshalJSON added in v3.50.0

func (ArchiveOutput) MarshalJSON() ([]byte, error)

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 ToArray

func ToArray(in []interface{}) Array

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 ToArrayArray

func ToArrayArray(in [][]interface{}) ArrayArray

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 ArrayArrayMap

type ArrayArrayMap map[string]ArrayArrayInput

ArrayArrayMap is an input type for map[string]ArrayArrayInput values.

func ToArrayArrayMap

func ToArrayArrayMap(in map[string][][]interface{}) ArrayArrayMap

func (ArrayArrayMap) ElementType

func (ArrayArrayMap) ElementType() reflect.Type

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

func (ArrayArrayMap) ToArrayArrayMapOutput

func (in ArrayArrayMap) ToArrayArrayMapOutput() ArrayArrayMapOutput

func (ArrayArrayMap) ToArrayArrayMapOutputWithContext

func (in ArrayArrayMap) ToArrayArrayMapOutputWithContext(ctx context.Context) ArrayArrayMapOutput

type ArrayArrayMapInput

type ArrayArrayMapInput interface {
	Input

	ToArrayArrayMapOutput() ArrayArrayMapOutput
	ToArrayArrayMapOutputWithContext(ctx context.Context) ArrayArrayMapOutput
}

ArrayArrayMapInput is an input type that accepts ArrayArrayMap and ArrayArrayMapOutput values.

type ArrayArrayMapOutput

type ArrayArrayMapOutput struct{ *OutputState }

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

func ToArrayArrayMapOutput

func ToArrayArrayMapOutput(in map[string]ArrayArrayOutput) ArrayArrayMapOutput

func (ArrayArrayMapOutput) ElementType

func (ArrayArrayMapOutput) ElementType() reflect.Type

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

func (ArrayArrayMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (ArrayArrayMapOutput) MarshalJSON added in v3.50.0

func (ArrayArrayMapOutput) MarshalJSON() ([]byte, error)

func (ArrayArrayMapOutput) ToArrayArrayMapOutput

func (o ArrayArrayMapOutput) ToArrayArrayMapOutput() ArrayArrayMapOutput

func (ArrayArrayMapOutput) ToArrayArrayMapOutputWithContext

func (o ArrayArrayMapOutput) ToArrayArrayMapOutputWithContext(ctx context.Context) ArrayArrayMapOutput

type ArrayArrayOutput

type ArrayArrayOutput struct{ *OutputState }

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

func ToArrayArrayOutput

func ToArrayArrayOutput(in []ArrayOutput) ArrayArrayOutput

func (ArrayArrayOutput) ElementType

func (ArrayArrayOutput) ElementType() reflect.Type

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

func (ArrayArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (ArrayArrayOutput) MarshalJSON added in v3.50.0

func (ArrayArrayOutput) MarshalJSON() ([]byte, error)

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 ToArrayMap

func ToArrayMap(in map[string][]interface{}) ArrayMap

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 ToArrayMapOutput

func ToArrayMapOutput(in map[string]ArrayOutput) ArrayMapOutput

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

MapIndex looks up the key k in the map.

func (ArrayMapOutput) MarshalJSON added in v3.50.0

func (ArrayMapOutput) MarshalJSON() ([]byte, error)

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 ToArrayOutput

func ToArrayOutput(in []Output) ArrayOutput

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

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (ArrayOutput) MarshalJSON added in v3.50.0

func (ArrayOutput) MarshalJSON() ([]byte, error)

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 ToAssetArray

func ToAssetArray(in []Asset) AssetArray

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 ToAssetArrayArray

func ToAssetArrayArray(in [][]Asset) AssetArrayArray

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 ToAssetArrayArrayOutput

func ToAssetArrayArrayOutput(in []AssetArrayOutput) AssetArrayArrayOutput

func (AssetArrayArrayOutput) ElementType

func (AssetArrayArrayOutput) ElementType() reflect.Type

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

func (AssetArrayArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (AssetArrayArrayOutput) MarshalJSON added in v3.50.0

func (AssetArrayArrayOutput) MarshalJSON() ([]byte, error)

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 ToAssetArrayMap

func ToAssetArrayMap(in map[string][]Asset) AssetArrayMap

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 ToAssetArrayMapOutput

func ToAssetArrayMapOutput(in map[string]AssetArrayOutput) AssetArrayMapOutput

func (AssetArrayMapOutput) ElementType

func (AssetArrayMapOutput) ElementType() reflect.Type

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

func (AssetArrayMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (AssetArrayMapOutput) MarshalJSON added in v3.50.0

func (AssetArrayMapOutput) MarshalJSON() ([]byte, error)

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 ToAssetArrayOutput

func ToAssetArrayOutput(in []AssetOutput) AssetArrayOutput

func (AssetArrayOutput) ElementType

func (AssetArrayOutput) ElementType() reflect.Type

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

func (AssetArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (AssetArrayOutput) MarshalJSON added in v3.50.0

func (AssetArrayOutput) MarshalJSON() ([]byte, error)

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 ToAssetMap

func ToAssetMap(in map[string]Asset) AssetMap

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 ToAssetMapArray

func ToAssetMapArray(in []map[string]Asset) AssetMapArray

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 ToAssetMapArrayOutput

func ToAssetMapArrayOutput(in []AssetMapOutput) AssetMapArrayOutput

func (AssetMapArrayOutput) ElementType

func (AssetMapArrayOutput) ElementType() reflect.Type

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

func (AssetMapArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (AssetMapArrayOutput) MarshalJSON added in v3.50.0

func (AssetMapArrayOutput) MarshalJSON() ([]byte, error)

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 AssetMapMap

type AssetMapMap map[string]AssetMapInput

AssetMapMap is an input type for map[string]AssetMapInput values.

func ToAssetMapMap

func ToAssetMapMap(in map[string]map[string]Asset) AssetMapMap

func (AssetMapMap) ElementType

func (AssetMapMap) ElementType() reflect.Type

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

func (AssetMapMap) ToAssetMapMapOutput

func (in AssetMapMap) ToAssetMapMapOutput() AssetMapMapOutput

func (AssetMapMap) ToAssetMapMapOutputWithContext

func (in AssetMapMap) ToAssetMapMapOutputWithContext(ctx context.Context) AssetMapMapOutput

type AssetMapMapInput

type AssetMapMapInput interface {
	Input

	ToAssetMapMapOutput() AssetMapMapOutput
	ToAssetMapMapOutputWithContext(ctx context.Context) AssetMapMapOutput
}

AssetMapMapInput is an input type that accepts AssetMapMap and AssetMapMapOutput values.

type AssetMapMapOutput

type AssetMapMapOutput struct{ *OutputState }

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

func ToAssetMapMapOutput

func ToAssetMapMapOutput(in map[string]AssetMapOutput) AssetMapMapOutput

func (AssetMapMapOutput) ElementType

func (AssetMapMapOutput) ElementType() reflect.Type

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

func (AssetMapMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (AssetMapMapOutput) MarshalJSON added in v3.50.0

func (AssetMapMapOutput) MarshalJSON() ([]byte, error)

func (AssetMapMapOutput) ToAssetMapMapOutput

func (o AssetMapMapOutput) ToAssetMapMapOutput() AssetMapMapOutput

func (AssetMapMapOutput) ToAssetMapMapOutputWithContext

func (o AssetMapMapOutput) ToAssetMapMapOutputWithContext(ctx context.Context) AssetMapMapOutput

type AssetMapOutput

type AssetMapOutput struct{ *OutputState }

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

func ToAssetMapOutput

func ToAssetMapOutput(in map[string]AssetOutput) AssetMapOutput

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

MapIndex looks up the key k in the map.

func (AssetMapOutput) MarshalJSON added in v3.50.0

func (AssetMapOutput) MarshalJSON() ([]byte, error)

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 AssetOrArchiveArrayArray

type AssetOrArchiveArrayArray []AssetOrArchiveArrayInput

AssetOrArchiveArrayArray is an input type for []AssetOrArchiveArrayInput values.

func (AssetOrArchiveArrayArray) ElementType

func (AssetOrArchiveArrayArray) ElementType() reflect.Type

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

func (AssetOrArchiveArrayArray) ToAssetOrArchiveArrayArrayOutput

func (in AssetOrArchiveArrayArray) ToAssetOrArchiveArrayArrayOutput() AssetOrArchiveArrayArrayOutput

func (AssetOrArchiveArrayArray) ToAssetOrArchiveArrayArrayOutputWithContext

func (in AssetOrArchiveArrayArray) ToAssetOrArchiveArrayArrayOutputWithContext(ctx context.Context) AssetOrArchiveArrayArrayOutput

type AssetOrArchiveArrayArrayInput

type AssetOrArchiveArrayArrayInput interface {
	Input

	ToAssetOrArchiveArrayArrayOutput() AssetOrArchiveArrayArrayOutput
	ToAssetOrArchiveArrayArrayOutputWithContext(ctx context.Context) AssetOrArchiveArrayArrayOutput
}

AssetOrArchiveArrayArrayInput is an input type that accepts AssetOrArchiveArrayArray and AssetOrArchiveArrayArrayOutput values.

type AssetOrArchiveArrayArrayOutput

type AssetOrArchiveArrayArrayOutput struct{ *OutputState }

AssetOrArchiveArrayArrayOutput is an Output that returns [][]AssetOrArchive values.

func (AssetOrArchiveArrayArrayOutput) ElementType

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

func (AssetOrArchiveArrayArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (AssetOrArchiveArrayArrayOutput) MarshalJSON added in v3.50.0

func (AssetOrArchiveArrayArrayOutput) MarshalJSON() ([]byte, error)

func (AssetOrArchiveArrayArrayOutput) ToAssetOrArchiveArrayArrayOutput

func (o AssetOrArchiveArrayArrayOutput) ToAssetOrArchiveArrayArrayOutput() AssetOrArchiveArrayArrayOutput

func (AssetOrArchiveArrayArrayOutput) ToAssetOrArchiveArrayArrayOutputWithContext

func (o AssetOrArchiveArrayArrayOutput) ToAssetOrArchiveArrayArrayOutputWithContext(ctx context.Context) AssetOrArchiveArrayArrayOutput

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

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

func (AssetOrArchiveArrayMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (AssetOrArchiveArrayMapOutput) MarshalJSON added in v3.50.0

func (AssetOrArchiveArrayMapOutput) MarshalJSON() ([]byte, error)

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

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (AssetOrArchiveArrayOutput) MarshalJSON added in v3.50.0

func (AssetOrArchiveArrayOutput) MarshalJSON() ([]byte, error)

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

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

func (AssetOrArchiveMapArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (AssetOrArchiveMapArrayOutput) MarshalJSON added in v3.50.0

func (AssetOrArchiveMapArrayOutput) MarshalJSON() ([]byte, error)

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 AssetOrArchiveMapMap

type AssetOrArchiveMapMap map[string]AssetOrArchiveMapInput

AssetOrArchiveMapMap is an input type for map[string]AssetOrArchiveMapInput values.

func (AssetOrArchiveMapMap) ElementType

func (AssetOrArchiveMapMap) ElementType() reflect.Type

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

func (AssetOrArchiveMapMap) ToAssetOrArchiveMapMapOutput

func (in AssetOrArchiveMapMap) ToAssetOrArchiveMapMapOutput() AssetOrArchiveMapMapOutput

func (AssetOrArchiveMapMap) ToAssetOrArchiveMapMapOutputWithContext

func (in AssetOrArchiveMapMap) ToAssetOrArchiveMapMapOutputWithContext(ctx context.Context) AssetOrArchiveMapMapOutput

type AssetOrArchiveMapMapInput

type AssetOrArchiveMapMapInput interface {
	Input

	ToAssetOrArchiveMapMapOutput() AssetOrArchiveMapMapOutput
	ToAssetOrArchiveMapMapOutputWithContext(ctx context.Context) AssetOrArchiveMapMapOutput
}

AssetOrArchiveMapMapInput is an input type that accepts AssetOrArchiveMapMap and AssetOrArchiveMapMapOutput values.

type AssetOrArchiveMapMapOutput

type AssetOrArchiveMapMapOutput struct{ *OutputState }

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

func (AssetOrArchiveMapMapOutput) ElementType

func (AssetOrArchiveMapMapOutput) ElementType() reflect.Type

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

func (AssetOrArchiveMapMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (AssetOrArchiveMapMapOutput) MarshalJSON added in v3.50.0

func (AssetOrArchiveMapMapOutput) MarshalJSON() ([]byte, error)

func (AssetOrArchiveMapMapOutput) ToAssetOrArchiveMapMapOutput

func (o AssetOrArchiveMapMapOutput) ToAssetOrArchiveMapMapOutput() AssetOrArchiveMapMapOutput

func (AssetOrArchiveMapMapOutput) ToAssetOrArchiveMapMapOutputWithContext

func (o AssetOrArchiveMapMapOutput) ToAssetOrArchiveMapMapOutputWithContext(ctx context.Context) AssetOrArchiveMapMapOutput

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

MapIndex looks up the key k in the map.

func (AssetOrArchiveMapOutput) MarshalJSON added in v3.50.0

func (AssetOrArchiveMapOutput) MarshalJSON() ([]byte, error)

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) MarshalJSON added in v3.50.0

func (AssetOrArchiveOutput) MarshalJSON() ([]byte, error)

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) MarshalJSON added in v3.50.0

func (AssetOutput) MarshalJSON() ([]byte, error)

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 ToBoolArray

func ToBoolArray(in []bool) BoolArray

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 BoolArrayArray

type BoolArrayArray []BoolArrayInput

BoolArrayArray is an input type for []BoolArrayInput values.

func ToBoolArrayArray

func ToBoolArrayArray(in [][]bool) BoolArrayArray

func (BoolArrayArray) ElementType

func (BoolArrayArray) ElementType() reflect.Type

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

func (BoolArrayArray) ToBoolArrayArrayOutput

func (in BoolArrayArray) ToBoolArrayArrayOutput() BoolArrayArrayOutput

func (BoolArrayArray) ToBoolArrayArrayOutputWithContext

func (in BoolArrayArray) ToBoolArrayArrayOutputWithContext(ctx context.Context) BoolArrayArrayOutput

type BoolArrayArrayInput

type BoolArrayArrayInput interface {
	Input

	ToBoolArrayArrayOutput() BoolArrayArrayOutput
	ToBoolArrayArrayOutputWithContext(ctx context.Context) BoolArrayArrayOutput
}

BoolArrayArrayInput is an input type that accepts BoolArrayArray and BoolArrayArrayOutput values.

type BoolArrayArrayOutput

type BoolArrayArrayOutput struct{ *OutputState }

BoolArrayArrayOutput is an Output that returns [][]bool values.

func ToBoolArrayArrayOutput

func ToBoolArrayArrayOutput(in []BoolArrayOutput) BoolArrayArrayOutput

func (BoolArrayArrayOutput) ElementType

func (BoolArrayArrayOutput) ElementType() reflect.Type

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

func (BoolArrayArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (BoolArrayArrayOutput) MarshalJSON added in v3.50.0

func (BoolArrayArrayOutput) MarshalJSON() ([]byte, error)

func (BoolArrayArrayOutput) ToBoolArrayArrayOutput

func (o BoolArrayArrayOutput) ToBoolArrayArrayOutput() BoolArrayArrayOutput

func (BoolArrayArrayOutput) ToBoolArrayArrayOutputWithContext

func (o BoolArrayArrayOutput) ToBoolArrayArrayOutputWithContext(ctx context.Context) BoolArrayArrayOutput

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 ToBoolArrayMap

func ToBoolArrayMap(in map[string][]bool) BoolArrayMap

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 ToBoolArrayMapOutput

func ToBoolArrayMapOutput(in map[string]BoolArrayOutput) BoolArrayMapOutput

func (BoolArrayMapOutput) ElementType

func (BoolArrayMapOutput) ElementType() reflect.Type

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

func (BoolArrayMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (BoolArrayMapOutput) MarshalJSON added in v3.50.0

func (BoolArrayMapOutput) MarshalJSON() ([]byte, error)

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 ToBoolArrayOutput

func ToBoolArrayOutput(in []BoolOutput) BoolArrayOutput

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

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (BoolArrayOutput) MarshalJSON added in v3.50.0

func (BoolArrayOutput) MarshalJSON() ([]byte, error)

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

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

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 ToBoolMap

func ToBoolMap(in map[string]bool) BoolMap

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 ToBoolMapArray

func ToBoolMapArray(in []map[string]bool) BoolMapArray

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 ToBoolMapArrayOutput

func ToBoolMapArrayOutput(in []BoolMapOutput) BoolMapArrayOutput

func (BoolMapArrayOutput) ElementType

func (BoolMapArrayOutput) ElementType() reflect.Type

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

func (BoolMapArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (BoolMapArrayOutput) MarshalJSON added in v3.50.0

func (BoolMapArrayOutput) MarshalJSON() ([]byte, error)

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 BoolMapMap

type BoolMapMap map[string]BoolMapInput

BoolMapMap is an input type for map[string]BoolMapInput values.

func ToBoolMapMap

func ToBoolMapMap(in map[string]map[string]bool) BoolMapMap

func (BoolMapMap) ElementType

func (BoolMapMap) ElementType() reflect.Type

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

func (BoolMapMap) ToBoolMapMapOutput

func (in BoolMapMap) ToBoolMapMapOutput() BoolMapMapOutput

func (BoolMapMap) ToBoolMapMapOutputWithContext

func (in BoolMapMap) ToBoolMapMapOutputWithContext(ctx context.Context) BoolMapMapOutput

type BoolMapMapInput

type BoolMapMapInput interface {
	Input

	ToBoolMapMapOutput() BoolMapMapOutput
	ToBoolMapMapOutputWithContext(ctx context.Context) BoolMapMapOutput
}

BoolMapMapInput is an input type that accepts BoolMapMap and BoolMapMapOutput values.

type BoolMapMapOutput

type BoolMapMapOutput struct{ *OutputState }

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

func ToBoolMapMapOutput

func ToBoolMapMapOutput(in map[string]BoolMapOutput) BoolMapMapOutput

func (BoolMapMapOutput) ElementType

func (BoolMapMapOutput) ElementType() reflect.Type

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

func (BoolMapMapOutput) MapIndex

MapIndex looks up the key k in the map.

func (BoolMapMapOutput) MarshalJSON added in v3.50.0

func (BoolMapMapOutput) MarshalJSON() ([]byte, error)

func (BoolMapMapOutput) ToBoolMapMapOutput

func (o BoolMapMapOutput) ToBoolMapMapOutput() BoolMapMapOutput

func (BoolMapMapOutput) ToBoolMapMapOutputWithContext

func (o BoolMapMapOutput) ToBoolMapMapOutputWithContext(ctx context.Context) BoolMapMapOutput

type BoolMapOutput

type BoolMapOutput struct{ *OutputState }

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

func ToBoolMapOutput

func ToBoolMapOutput(in map[string]BoolOutput) BoolMapOutput

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

MapIndex looks up the key k in the map.

func (BoolMapOutput) MarshalJSON added in v3.50.0

func (BoolMapOutput) MarshalJSON() ([]byte, error)

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) MarshalJSON added in v3.50.0

func (BoolOutput) MarshalJSON() ([]byte, error)

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.

func BoolPtrFromPtr added in v3.49.0

func BoolPtrFromPtr(v *bool) BoolPtrInput

type BoolPtrOutput

type BoolPtrOutput struct{ *OutputState }

BoolPtrOutput is an Output that returns *bool values.

func (BoolPtrOutput) Elem

func (o BoolPtrOutput) Elem() BoolOutput

Elem dereferences the pointer value or returns the zero value of the approporiate type if the pointer is nil.

func (BoolPtrOutput) ElementType

func (BoolPtrOutput) ElementType() reflect.Type

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

func (BoolPtrOutput) MarshalJSON added in v3.50.0

func (BoolPtrOutput) MarshalJSON() ([]byte, error)

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) Call added in v3.7.0

func (ctx *Context) Call(tok string, args Input, output Output, self Resource, opts ...InvokeOption) (Output, error)

Call will invoke a provider call function, identified by its token tok.

output is used to determine the output type to return; self is optional for methods.

func (*Context) Close

func (ctx *Context) Close() error

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

func (*Context) Context added in v3.37.0

func (ctx *Context) Context() context.Context

Context returns the base context used to instantiate the current 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) (err 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) IsConfigSecret added in v3.3.0

func (ctx *Context) IsConfigSecret(key string) bool

IsConfigSecret returns true if the config value is a secret.

func (*Context) NewOutput added in v3.3.0

func (ctx *Context) NewOutput() (Output, func(interface{}), func(error))

NewOutput creates a new output associated with this context.

func (*Context) Organization added in v3.40.2

func (ctx *Context) Organization() string

Organization returns the current organization name.

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

func (ctx *Context) RegisterRemoteComponentResource(
	t, name string, props Input, 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) RunningWithMocks added in v3.52.0

func (ctx *Context) RunningWithMocks() bool

RunningWithMocks is true if the program is running using a Mock monitor instead of a real Pulumi engine.

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
}

CustomTimeouts specifies timeouts for resource provisioning operations. Use it with the Timeouts option when creating new resources to override default timeouts.

Each timeout is specified as a duration string such as, "5ms" (5 milliseconds), "40s" (40 seconds), and "1m30s" (1 minute, 30 seconds).

The following units are accepted.

  • ns: nanoseconds
  • us: microseconds
  • µs: microseconds
  • ms: milliseconds
  • s: seconds
  • m: minutes
  • h: hours

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 ToFloat64Array

func ToFloat64Array(in []float64) Float64Array

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 Float64ArrayArray

type Float64ArrayArray []Float64ArrayInput

Float64ArrayArray is an input type for []Float64ArrayInput values.

func ToFloat64ArrayArray

func ToFloat64ArrayArray(in [][]float64) Float64ArrayArray

func (Float64ArrayArray) ElementType

func (Float64ArrayArray) ElementType() reflect.Type

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

func (Float64ArrayArray) ToFloat64ArrayArrayOutput

func (in Float64ArrayArray) ToFloat64ArrayArrayOutput() Float64ArrayArrayOutput

func (Float64ArrayArray) ToFloat64ArrayArrayOutputWithContext

func (in Float64ArrayArray) ToFloat64ArrayArrayOutputWithContext(ctx context.Context) Float64ArrayArrayOutput

type Float64ArrayArrayInput

type Float64ArrayArrayInput interface {
	Input

	ToFloat64ArrayArrayOutput() Float64ArrayArrayOutput
	ToFloat64ArrayArrayOutputWithContext(ctx context.Context) Float64ArrayArrayOutput
}

Float64ArrayArrayInput is an input type that accepts Float64ArrayArray and Float64ArrayArrayOutput values.

type Float64ArrayArrayOutput

type Float64ArrayArrayOutput struct{ *OutputState }

Float64ArrayArrayOutput is an Output that returns [][]float64 values.

func ToFloat64ArrayArrayOutput

func ToFloat64ArrayArrayOutput(in []Float64ArrayOutput) Float64ArrayArrayOutput

func (Float64ArrayArrayOutput) ElementType

func (Float64ArrayArrayOutput) ElementType() reflect.Type

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

func (Float64ArrayArrayOutput) Index

Index looks up the i'th element of the array if it is in bounds or returns the zero value of the appropriate type if the index is out of bounds.

func (Float64ArrayArrayOutput) MarshalJSON added in v3.50.0

func (Float64ArrayArrayOutput) MarshalJSON() ([]byte, error)

func (Float64ArrayArrayOutput) ToFloat64ArrayArrayOutput

func (o Float64ArrayArrayOutput) ToFloat64ArrayArrayOutput() Float64ArrayArrayOutput

func (Float64ArrayArrayOutput) ToFloat64ArrayArrayOutputWithContext

func (o Float64ArrayArrayOutput) ToFloat64ArrayArrayOutputWithContext(ctx context.Context) Float64ArrayArrayOutput

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 ToFloat64ArrayMap

func ToFloat64ArrayMap(in map[string][]float64) Float64ArrayMap

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