Skip to content

Commit

Permalink
Remove WASM providers
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejressel committed Dec 24, 2024
1 parent 0ff3043 commit 1b559c6
Show file tree
Hide file tree
Showing 1,782 changed files with 62,469 additions and 101,342 deletions.
108 changes: 43 additions & 65 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ members = [
"examples/multiple_providers",
"examples/simple",
"examples/typesystem",
"providers/typesystem",
# DO NOT EDIT - START
"providers/pulumi_wasm_provider_docker",
"providers/pulumi_wasm_provider_docker_rust",
"providers/pulumi_wasm_provider_random",
"providers/pulumi_wasm_provider_random_rust",
"providers/pulumi_wasm_provider_cloudflare",
"providers/pulumi_wasm_provider_cloudflare_rust",
"providers/docker",
"providers/random",
"providers/cloudflare",
# DO NOT EDIT - END
"pulumi_wasm",
"pulumi_wasm_common",
Expand All @@ -33,7 +31,7 @@ members = [
"pulumi_wasm_rust",
"pulumi_wasm_rust_macro",
"pulumi_wasm_wit",
"regenerate_providers",
"regenerator",
]

[workspace.package]
Expand All @@ -43,17 +41,19 @@ repository = "https://github.com/andrzejressel/pulumi-wasm"

[workspace.dependencies]
pulumi_wasm_core = { version = "=0.0.0-DEV", path = "pulumi_wasm_core", registry = "cloudsmith" }
pulumi_wasm_docker = { version = "=4.5.3-0.0.0-DEV", path = "providers/pulumi_wasm_provider_docker_rust", registry = "cloudsmith" }
pulumi_wasm_generator = { version = "=0.0.0-DEV", path = "pulumi_wasm_generator", registry = "cloudsmith" }
pulumi_wasm_generator_lib = { version = "=0.0.0-DEV", path = "pulumi_wasm_generator_lib", registry = "cloudsmith" }
pulumi_wasm_random = { version = "=4.15.0-0.0.0-DEV", path = "providers/pulumi_wasm_provider_random_rust", registry = "cloudsmith" }
pulumi_wasm_rust = { version = "=0.0.0-DEV", path = "pulumi_wasm_rust", registry = "cloudsmith" }
pulumi_wasm_rust_macro = { version = "=0.0.0-DEV", path = "pulumi_wasm_rust_macro", registry = "cloudsmith" }
pulumi_wasm_common = { version = "=0.0.0-DEV", path = "pulumi_wasm_common", registry = "cloudsmith" }
pulumi_wasm_proto = { version = "=0.0.0-DEV", path = "pulumi_wasm_proto", registry = "cloudsmith" }
pulumi_wasm_wit = { version = "=0.0.0-DEV", path = "pulumi_wasm_wit", registry = "cloudsmith" }
pulumi_wasm_runner_component_creator = { version = "=0.0.0-DEV", path = "pulumi_wasm_runner_component_creator", registry = "cloudsmith" }
pulumi_wasm_provider_common = { version = "=0.0.0-DEV", path = "pulumi_wasm_provider_common", registry = "cloudsmith" }
pulumi_wasm_typesystem = { version = "=1.0.0-0.0.0-DEV", path = "providers/pulumi_wasm_provider_typesystem_rust", registry = "cloudsmith" }
pulumi_wasm_providers_cloudflare = { version = "=0.0.0-DEV", path = "providers/cloudflare", registry = "cloudsmith" }
pulumi_wasm_providers_docker = { version = "=0.0.0-DEV", path = "providers/docker", registry = "cloudsmith" }
pulumi_wasm_providers_random = { version = "=0.0.0-DEV", path = "providers/random", registry = "cloudsmith" }
pulumi_wasm_providers_typesystem = { version = "=0.0.0-DEV", path = "providers/typesystem", registry = "cloudsmith" }

anyhow = "1.0.82"
prost = "0.13.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/dependencies/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ crate-type = ["cdylib"]
[dependencies]
anyhow.workspace = true
pulumi_wasm_rust.workspace = true
pulumi_wasm_random.workspace = true
pulumi_wasm_providers_random.workspace = true

[dev-dependencies]
assert_cmd.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions examples/dependencies/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use anyhow::Error;
use pulumi_wasm_random::random_string;
use pulumi_wasm_random::random_string::RandomStringArgs;
use pulumi_wasm_providers_random::random_string;
use pulumi_wasm_providers_random::random_string::RandomStringArgs;
use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};

Expand Down
2 changes: 1 addition & 1 deletion examples/docker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ crate-type = ["cdylib"]
[dependencies]
anyhow.workspace = true
pulumi_wasm_rust.workspace = true
pulumi_wasm_docker.workspace = true
pulumi_wasm_providers_docker.workspace = true

[dev-dependencies]
assert_cmd.workspace = true
Expand Down
9 changes: 5 additions & 4 deletions examples/docker/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use anyhow::Error;
use pulumi_wasm_docker::function::get_remote_image::GetRemoteImageArgs;
use pulumi_wasm_docker::types::{ContainerLabel, DockerBuild};
use pulumi_wasm_docker::{container, image};
use pulumi_wasm_providers_docker::functions::get_remote_image;
use pulumi_wasm_providers_docker::functions::get_remote_image::GetRemoteImageArgs;
use pulumi_wasm_providers_docker::types::{ContainerLabel, DockerBuild};
use pulumi_wasm_providers_docker::{container, image};
use pulumi_wasm_rust::{add_export, pulumi_main};

#[pulumi_main]
Expand Down Expand Up @@ -34,7 +35,7 @@ fn test_main() -> Result<(), Error> {
.build_struct(),
);

let remote_image = pulumi_wasm_docker::function::get_remote_image::invoke(
let remote_image = get_remote_image::invoke(
GetRemoteImageArgs::builder()
.name("public.ecr.aws/ubuntu/ubuntu:latest")
.build_struct(),
Expand Down
4 changes: 2 additions & 2 deletions examples/multiple_providers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ crate-type = ["cdylib"]
[dependencies]
anyhow.workspace = true
pulumi_wasm_rust.workspace = true
pulumi_wasm_random.workspace = true
pulumi_wasm_docker.workspace = true
pulumi_wasm_providers_random.workspace = true
pulumi_wasm_providers_docker.workspace = true

[dev-dependencies]
assert_cmd.workspace = true
Expand Down
8 changes: 4 additions & 4 deletions examples/multiple_providers/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use anyhow::Error;
use pulumi_wasm_docker::container;
use pulumi_wasm_docker::container::ContainerArgs;
use pulumi_wasm_random::random_string;
use pulumi_wasm_random::random_string::RandomStringArgs;
use pulumi_wasm_providers_docker::container;
use pulumi_wasm_providers_docker::container::ContainerArgs;
use pulumi_wasm_providers_random::random_string;
use pulumi_wasm_providers_random::random_string::RandomStringArgs;
use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};

Expand Down
2 changes: 1 addition & 1 deletion examples/simple/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ crate-type = ["cdylib"]
[dependencies]
anyhow.workspace = true
pulumi_wasm_rust.workspace = true
pulumi_wasm_random.workspace = true
pulumi_wasm_providers_random.workspace = true

[dev-dependencies]
assert_cmd.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions examples/simple/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use anyhow::Error;
use pulumi_wasm_random::random_string;
use pulumi_wasm_random::random_string::RandomStringArgs;
use pulumi_wasm_providers_random::random_string;
use pulumi_wasm_providers_random::random_string::RandomStringArgs;
use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};

Expand Down
2 changes: 1 addition & 1 deletion examples/typesystem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ crate-type = ["cdylib"]
[dependencies]
pulumi_wasm_provider_common.workspace = true
pulumi_wasm_rust.workspace = true
pulumi_wasm_typesystem.workspace = true
pulumi_wasm_providers_typesystem.workspace = true
serde_json.workspace = true
16 changes: 8 additions & 8 deletions examples/typesystem/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#[cfg(test)]
mod tests {
use pulumi_wasm_provider_common::OneOf2;
use pulumi_wasm_rust::Output;
use pulumi_wasm_typesystem::deep::nested::module::some_resource::SomeResourceArgs;
use pulumi_wasm_typesystem::types::{
use pulumi_wasm_providers_typesystem::deep::nested::module::some_resource::SomeResourceArgs;
use pulumi_wasm_providers_typesystem::types::{
IntegerEnum, MyEnum, NumberEnum, UnionCase1, UnionCase2, UnionCaseWithConst1,
UnionCaseWithConst2,
};
use pulumi_wasm_typesystem::typesystem_server::TypesystemServerArgs;
use pulumi_wasm_providers_typesystem::typesystem_server::TypesystemServerArgs;
use pulumi_wasm_rust::Output;
use std::panic::catch_unwind;

#[test]
Expand Down Expand Up @@ -186,18 +186,18 @@ mod tests {
}

fn resource_compilation_test() {
let _ = pulumi_wasm_typesystem::deep::nested::module::some_resource::create(
let _ = pulumi_wasm_providers_typesystem::deep::nested::module::some_resource::create(
"test",
SomeResourceArgs::builder().build_struct(),
);
}

fn function_compilation_test() {
let _ = pulumi_wasm_typesystem::function::deep::nested::module::some_function::invoke();
let _ = pulumi_wasm_providers_typesystem::functions::deep::nested::module::some_function::invoke();
}

fn types_compilation_test() {
let _ =
pulumi_wasm_typesystem::types::deep::nested::module::SomeType::builder().build_struct();
let _ = pulumi_wasm_providers_typesystem::types::deep::nested::module::SomeType::builder()
.build_struct();
}
}
Loading

0 comments on commit 1b559c6

Please sign in to comment.