Function
provider_create
(
server: &str,
name: &str,
provider_type: &str,
from_existing: bool,
credentials: &[String],
from_gcloud_adc: bool,
config: &[String],
tls: &TlsOptions,
)
Source from the content-addressed store, hash-verified
| 4588 | |
| 4589 | #[allow(clippy::too_many_arguments)] |
| 4590 | pub async fn provider_create( |
| 4591 | server: &str, |
| 4592 | name: &str, |
| 4593 | provider_type: &str, |
| 4594 | from_existing: bool, |
| 4595 | credentials: &[String], |
| 4596 | from_gcloud_adc: bool, |
| 4597 | config: &[String], |
| 4598 | tls: &TlsOptions, |
| 4599 | ) -> Result<()> { |
| 4600 | provider_create_with_options( |
| 4601 | server, |
| 4602 | name, |
| 4603 | provider_type, |
| 4604 | from_existing, |
| 4605 | credentials, |
| 4606 | from_gcloud_adc, |
| 4607 | false, |
| 4608 | config, |
| 4609 | tls, |
| 4610 | ) |
| 4611 | .await |
| 4612 | } |
| 4613 | |
| 4614 | #[allow(clippy::too_many_arguments)] |
| 4615 | pub async fn provider_create_with_options( |