pulumi/cmd/pulumi-test-language/tests
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
..
testdata Implement a first version of `can` in PCL, py, and ts (#18571) 2025-02-13 06:34:45 +00:00
assert.go Factor out conformance testing framework (#17999) 2024-12-12 09:23:07 +00:00
grpc.go Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
internal_bad_schema.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_builtin_can.go Implement a first version of `can` in PCL, py, and ts (#18571) 2025-02-13 06:34:45 +00:00
l1_builtin_info.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_builtin_try.go Implement a first version of `try` in PCL (#18454) 2025-02-11 15:34:56 +00:00
l1_empty.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_keyword_overlap.go Fix overlap when "this" keyword used in ts generation. (#18177) 2025-01-28 17:08:44 +00:00
l1_main.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_output_array.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_output_bool.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_output_map.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_output_number.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_output_string.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_stack_reference.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l2_component_call_simple.go Add the `l2-component-call-simple` conformance test (#18207) 2025-01-13 16:41:39 +00:00
l2_component_component_resource_ref.go Add a conformance test for component-hydrated resource references (#18153) 2025-01-06 13:40:53 +00:00
l2_component_program_resource_ref.go Add a conformance test for program-hydrated resource references (#18139) 2025-01-06 10:50:37 +00:00
l2_destroy.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_engine_update_options.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_explicit_parameterized_provider.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_explicit_provider.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_failed_create_continue_on_error.go Preview conformance tests (#18295) 2025-01-23 17:14:53 +00:00
l2_invoke_dependencies.go Break out L2 invoke conformance tests (#18005) 2024-12-16 09:23:05 +00:00
l2_invoke_options.go Break out L2 invoke conformance tests (#18005) 2024-12-16 09:23:05 +00:00
l2_invoke_options_depends_on.go Break out L2 invoke conformance tests (#18005) 2024-12-16 09:23:05 +00:00
l2_invoke_secrets.go Break out L2 invoke conformance tests (#18005) 2024-12-16 09:23:05 +00:00
l2_invoke_simple.go Break out L2 invoke conformance tests (#18005) 2024-12-16 09:23:05 +00:00
l2_invoke_variants.go Break out L2 invoke conformance tests (#18005) 2024-12-16 09:23:05 +00:00
l2_large_string.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_map_keys.go Re-add `l2-map-keys` and `l2-provider-grpc-config` (#18154) 2025-01-07 12:12:13 +00:00
l2_parameterized_resource.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_plain.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_primitive_ref.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_provider_grpc_config.go Re-add `l2-map-keys` and `l2-provider-grpc-config` (#18154) 2025-01-07 12:12:13 +00:00
l2_provider_grpc_config_schema_secret.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_provider_grpc_config_secret.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_ref_ref.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_resource_alpha.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_resource_asset_archive.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_resource_config.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_resource_invoke_dynamic_function.go Conformance test that takes dynamic list input and returns dynamic values (#18424) 2025-02-12 03:39:05 +00:00
l2_resource_keyword_overlap.go Fix overlap when "this" keyword used in ts generation. (#18177) 2025-01-28 17:08:44 +00:00
l2_resource_option_deleted_with.go Conformance test the `deletedWith` resource option (#18226) 2025-01-15 10:42:08 +00:00
l2_resource_option_protect.go Conformance test the `protect` resource option (#18224) 2025-01-15 10:38:12 +00:00
l2_resource_option_retain_on_delete.go Conformance test the `retainOnDelete` resource option (#18225) 2025-01-15 10:44:16 +00:00
l2_resource_parent_inheritance.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_resource_primitives.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_resource_secret.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_resource_simple.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_target_up_with_new_dependency.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
tests.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
types.go Preview conformance tests (#18295) 2025-01-23 17:14:53 +00:00