From 07915929463f1b2e3c2e7bfc982e929764af03c8 Mon Sep 17 00:00:00 2001 From: lexara-prime-ai Date: Sat, 17 Aug 2024 15:47:35 +0000 Subject: [PATCH 1/2] Fix: Resolve missing method issues. --- render_cdk/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render_cdk/src/main.rs b/render_cdk/src/main.rs index 76c1497..2ba933b 100644 --- a/render_cdk/src/main.rs +++ b/render_cdk/src/main.rs @@ -73,7 +73,7 @@ async fn main() { * THE FOLLOWING EXAMPLE DEPLOYS A SIMPLE [WEB] SERVICE(NodeJs). > REPO_URL - https://github.com/lexara-prime-ai/SAMPLE_WEB_SERVICE - */ + */ let web_service = Template { type_: "web_service".to_owned(), From 9bcc602b529710e374c99787c6ffce20124ae6df Mon Sep 17 00:00:00 2001 From: lexara-prime-ai Date: Sat, 17 Aug 2024 15:52:30 +0000 Subject: [PATCH 2/2] Ignore doctests. --- render_cdk/src/lib.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/render_cdk/src/lib.rs b/render_cdk/src/lib.rs index f2a04ab..b8746da 100644 --- a/render_cdk/src/lib.rs +++ b/render_cdk/src/lib.rs @@ -46,7 +46,7 @@ //! ### 1. Querying for deployed services //! Retrieve deployed services using different filters like status, region, environment, or by name. //! -//! ``` +//! ```ignore //! use render_cdk::resource_management::services::service_manager::ServiceManager; //! use tokio::main; //! @@ -72,7 +72,7 @@ //! ### 2. Deleting a service //! Delete a specific service, such as a web service or static site. //! -//! ``` +//! ```ignore //! use render_cdk::resource_management::services::service_manager::ServiceManager; //! use tokio::main; //! @@ -89,7 +89,7 @@ //! ### 3. Working with Postgres databases //! Manage Postgres databases within your Render account, listing, searching, or filtering by status. //! -//! ``` +//! ```ignore //! use render_cdk::resource_management::services::service_manager::ServiceManager; //! use tokio::main; //! @@ -109,7 +109,7 @@ //! ### 4. Deploying a static site //! This example demonstrates how to deploy a simple static site using Render. //! -//! ``` +//! ```ignore //! use render_cdk::resource_management::templates::{Template, ServiceDetails}; //! //! let static_site = Template { @@ -133,7 +133,7 @@ //! ### 5. Deploying a web service (Node.js) //! This example demonstrates deploying a web service, specifically a Node.js application. //! -//! ``` +//! ```ignore //! use render_cdk::resource_management::templates::{Template, ServiceDetails, EnvSpecificDetails}; //! //! let web_service = Template { @@ -165,7 +165,7 @@ //! You can use `.conf` files to provision resources on Render. The following example shows //! how to load and deploy an existing configuration file. //! -//! ``` +//! ```ignore //! use render_cdk::iaas::config::Conf; //! use tokio::main; //! @@ -221,7 +221,7 @@ //! ## 8. Deploying the configuration. //! The above configuration can be deployed by running the following code snippet. //! -//! ``` +//! ```ignore //! use render_cdk::iaas::config::Conf; //! use tokio::main; //!