pulumi/cmd/pulumi-test-language/tests/testdata
Brandon Pollack 6a2f6bde95
Implement a first version of `can` in PCL, py, and ts (#18571)
Implement a first version of `can` in PCL (#18522)

[Terraform's `can`

function](https://developer.hashicorp.com/terraform/language/functions/can))
accepts a single argument
of variable types and returns true if it runs successfully or false
otherwise, much like `try` but with onl
y one argument.

This change Adds the following:

* PCL gets a new `can` function which takes a single argument which is
  an expression to be tried.
* Code gen for python and nodejs to support can function implementation
  and calling it.
* a conformance test for `can`
2025-02-13 06:34:45 +00:00
..
internal-bad-schema
l1-builtin-can Implement a first version of `can` in PCL, py, and ts (#18571) 2025-02-13 06:34:45 +00:00
l1-builtin-info
l1-builtin-try Implement a first version of `try` in PCL (#18454) 2025-02-11 15:34:56 +00:00
l1-empty
l1-keyword-overlap Fix overlap when "this" keyword used in ts generation. (#18177) 2025-01-28 17:08:44 +00:00
l1-main/subdir
l1-output-array
l1-output-bool
l1-output-map
l1-output-number
l1-output-string
l1-stack-reference
l2-component-call-simple Add the `l2-component-call-simple` conformance test (#18207) 2025-01-13 16:41:39 +00:00
l2-component-component-resource-ref Add a conformance test for component-hydrated resource references (#18153) 2025-01-06 13:40:53 +00:00
l2-component-program-resource-ref
l2-destroy Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-engine-update-options
l2-explicit-parameterized-provider
l2-explicit-provider
l2-failed-create-continue-on-error
l2-invoke-dependencies
l2-invoke-options
l2-invoke-options-depends-on
l2-invoke-secrets
l2-invoke-simple
l2-invoke-variants
l2-large-string
l2-map-keys
l2-parameterized-resource
l2-plain
l2-primitive-ref
l2-provider-grpc-config
l2-provider-grpc-config-schema-secret
l2-provider-grpc-config-secret
l2-ref-ref
l2-resource-alpha
l2-resource-asset-archive
l2-resource-config
l2-resource-invoke-dynamic-function Conformance test that takes dynamic list input and returns dynamic values (#18424) 2025-02-12 03:39:05 +00:00
l2-resource-keyword-overlap Fix overlap when "this" keyword used in ts generation. (#18177) 2025-01-28 17:08:44 +00:00
l2-resource-option-deleted-with Conformance test the `deletedWith` resource option (#18226) 2025-01-15 10:42:08 +00:00
l2-resource-option-protect Conformance test the `protect` resource option (#18224) 2025-01-15 10:38:12 +00:00
l2-resource-option-retain-on-delete Conformance test the `retainOnDelete` resource option (#18225) 2025-01-15 10:44:16 +00:00
l2-resource-parent-inheritance
l2-resource-primitives
l2-resource-secret
l2-resource-simple
l2-target-up-with-new-dependency
snapshots
snapshots_bad
snapshots_edit
snapshots_runtime_options/projects/l1-empty