CloudDeploy

Trait CloudDeploy 

Source
pub trait CloudDeploy:
    Debug
    + Send
    + Sync {
Show 56 methods // Provided methods fn list_delivery_pipelines( &self, _req: ListDeliveryPipelinesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListDeliveryPipelinesResponse>>> + Send { ... } fn get_delivery_pipeline( &self, _req: GetDeliveryPipelineRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<DeliveryPipeline>>> + Send { ... } fn create_delivery_pipeline( &self, _req: CreateDeliveryPipelineRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn update_delivery_pipeline( &self, _req: UpdateDeliveryPipelineRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn delete_delivery_pipeline( &self, _req: DeleteDeliveryPipelineRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn list_targets( &self, _req: ListTargetsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListTargetsResponse>>> + Send { ... } fn rollback_target( &self, _req: RollbackTargetRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<RollbackTargetResponse>>> + Send { ... } fn get_target( &self, _req: GetTargetRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Target>>> + Send { ... } fn create_target( &self, _req: CreateTargetRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn update_target( &self, _req: UpdateTargetRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn delete_target( &self, _req: DeleteTargetRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn list_custom_target_types( &self, _req: ListCustomTargetTypesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListCustomTargetTypesResponse>>> + Send { ... } fn get_custom_target_type( &self, _req: GetCustomTargetTypeRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CustomTargetType>>> + Send { ... } fn create_custom_target_type( &self, _req: CreateCustomTargetTypeRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn update_custom_target_type( &self, _req: UpdateCustomTargetTypeRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn delete_custom_target_type( &self, _req: DeleteCustomTargetTypeRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn list_releases( &self, _req: ListReleasesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListReleasesResponse>>> + Send { ... } fn get_release( &self, _req: GetReleaseRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Release>>> + Send { ... } fn create_release( &self, _req: CreateReleaseRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn abandon_release( &self, _req: AbandonReleaseRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<AbandonReleaseResponse>>> + Send { ... } fn create_deploy_policy( &self, _req: CreateDeployPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn update_deploy_policy( &self, _req: UpdateDeployPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn delete_deploy_policy( &self, _req: DeleteDeployPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn list_deploy_policies( &self, _req: ListDeployPoliciesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListDeployPoliciesResponse>>> + Send { ... } fn get_deploy_policy( &self, _req: GetDeployPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<DeployPolicy>>> + Send { ... } fn approve_rollout( &self, _req: ApproveRolloutRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ApproveRolloutResponse>>> + Send { ... } fn advance_rollout( &self, _req: AdvanceRolloutRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<AdvanceRolloutResponse>>> + Send { ... } fn cancel_rollout( &self, _req: CancelRolloutRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CancelRolloutResponse>>> + Send { ... } fn list_rollouts( &self, _req: ListRolloutsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListRolloutsResponse>>> + Send { ... } fn get_rollout( &self, _req: GetRolloutRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Rollout>>> + Send { ... } fn create_rollout( &self, _req: CreateRolloutRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn ignore_job( &self, _req: IgnoreJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<IgnoreJobResponse>>> + Send { ... } fn retry_job( &self, _req: RetryJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<RetryJobResponse>>> + Send { ... } fn list_job_runs( &self, _req: ListJobRunsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListJobRunsResponse>>> + Send { ... } fn get_job_run( &self, _req: GetJobRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<JobRun>>> + Send { ... } fn terminate_job_run( &self, _req: TerminateJobRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<TerminateJobRunResponse>>> + Send { ... } fn get_config( &self, _req: GetConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Config>>> + Send { ... } fn create_automation( &self, _req: CreateAutomationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn update_automation( &self, _req: UpdateAutomationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn delete_automation( &self, _req: DeleteAutomationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn get_automation( &self, _req: GetAutomationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Automation>>> + Send { ... } fn list_automations( &self, _req: ListAutomationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListAutomationsResponse>>> + Send { ... } fn get_automation_run( &self, _req: GetAutomationRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<AutomationRun>>> + Send { ... } fn list_automation_runs( &self, _req: ListAutomationRunsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListAutomationRunsResponse>>> + Send { ... } fn cancel_automation_run( &self, _req: CancelAutomationRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CancelAutomationRunResponse>>> + Send { ... } fn list_locations( &self, _req: ListLocationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListLocationsResponse>>> + Send { ... } fn get_location( &self, _req: GetLocationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Location>>> + Send { ... } fn set_iam_policy( &self, _req: SetIamPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Policy>>> + Send { ... } fn get_iam_policy( &self, _req: GetIamPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Policy>>> + Send { ... } fn test_iam_permissions( &self, _req: TestIamPermissionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<TestIamPermissionsResponse>>> + Send { ... } fn list_operations( &self, _req: ListOperationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListOperationsResponse>>> + Send { ... } fn get_operation( &self, _req: GetOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn delete_operation( &self, _req: DeleteOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send { ... } fn cancel_operation( &self, _req: CancelOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send { ... } fn get_polling_error_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingErrorPolicy> { ... } fn get_polling_backoff_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingBackoffPolicy> { ... }
}
Expand description

Defines the trait used to implement super::client::CloudDeploy.

Application developers may need to implement this trait to mock client::CloudDeploy. In other use-cases, application developers only use client::CloudDeploy and need not be concerned with this trait or its implementations.

Services gain new RPCs routinely. Consequently, this trait gains new methods too. To avoid breaking applications the trait provides a default implementation of each method. Most of these implementations just return an error.

Provided Methods§

Source

fn list_delivery_pipelines( &self, _req: ListDeliveryPipelinesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListDeliveryPipelinesResponse>>> + Send

Source

fn get_delivery_pipeline( &self, _req: GetDeliveryPipelineRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<DeliveryPipeline>>> + Send

Source

fn create_delivery_pipeline( &self, _req: CreateDeliveryPipelineRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn update_delivery_pipeline( &self, _req: UpdateDeliveryPipelineRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn delete_delivery_pipeline( &self, _req: DeleteDeliveryPipelineRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn list_targets( &self, _req: ListTargetsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListTargetsResponse>>> + Send

Source

fn rollback_target( &self, _req: RollbackTargetRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<RollbackTargetResponse>>> + Send

Source

fn get_target( &self, _req: GetTargetRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Target>>> + Send

Source

fn create_target( &self, _req: CreateTargetRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn update_target( &self, _req: UpdateTargetRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn delete_target( &self, _req: DeleteTargetRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn list_custom_target_types( &self, _req: ListCustomTargetTypesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListCustomTargetTypesResponse>>> + Send

Source

fn get_custom_target_type( &self, _req: GetCustomTargetTypeRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CustomTargetType>>> + Send

Source

fn create_custom_target_type( &self, _req: CreateCustomTargetTypeRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn update_custom_target_type( &self, _req: UpdateCustomTargetTypeRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn delete_custom_target_type( &self, _req: DeleteCustomTargetTypeRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn list_releases( &self, _req: ListReleasesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListReleasesResponse>>> + Send

Source

fn get_release( &self, _req: GetReleaseRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Release>>> + Send

Source

fn create_release( &self, _req: CreateReleaseRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn abandon_release( &self, _req: AbandonReleaseRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<AbandonReleaseResponse>>> + Send

Source

fn create_deploy_policy( &self, _req: CreateDeployPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn update_deploy_policy( &self, _req: UpdateDeployPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn delete_deploy_policy( &self, _req: DeleteDeployPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn list_deploy_policies( &self, _req: ListDeployPoliciesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListDeployPoliciesResponse>>> + Send

Source

fn get_deploy_policy( &self, _req: GetDeployPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<DeployPolicy>>> + Send

Source

fn approve_rollout( &self, _req: ApproveRolloutRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ApproveRolloutResponse>>> + Send

Source

fn advance_rollout( &self, _req: AdvanceRolloutRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<AdvanceRolloutResponse>>> + Send

Source

fn cancel_rollout( &self, _req: CancelRolloutRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CancelRolloutResponse>>> + Send

Source

fn list_rollouts( &self, _req: ListRolloutsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListRolloutsResponse>>> + Send

Source

fn get_rollout( &self, _req: GetRolloutRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Rollout>>> + Send

Source

fn create_rollout( &self, _req: CreateRolloutRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn ignore_job( &self, _req: IgnoreJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<IgnoreJobResponse>>> + Send

Source

fn retry_job( &self, _req: RetryJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<RetryJobResponse>>> + Send

Source

fn list_job_runs( &self, _req: ListJobRunsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListJobRunsResponse>>> + Send

Source

fn get_job_run( &self, _req: GetJobRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<JobRun>>> + Send

Source

fn terminate_job_run( &self, _req: TerminateJobRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<TerminateJobRunResponse>>> + Send

Source

fn get_config( &self, _req: GetConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Config>>> + Send

Source

fn create_automation( &self, _req: CreateAutomationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn update_automation( &self, _req: UpdateAutomationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn delete_automation( &self, _req: DeleteAutomationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn get_automation( &self, _req: GetAutomationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Automation>>> + Send

Source

fn list_automations( &self, _req: ListAutomationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListAutomationsResponse>>> + Send

Source

fn get_automation_run( &self, _req: GetAutomationRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<AutomationRun>>> + Send

Source

fn list_automation_runs( &self, _req: ListAutomationRunsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListAutomationRunsResponse>>> + Send

Source

fn cancel_automation_run( &self, _req: CancelAutomationRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CancelAutomationRunResponse>>> + Send

Source

fn list_locations( &self, _req: ListLocationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListLocationsResponse>>> + Send

Source

fn get_location( &self, _req: GetLocationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Location>>> + Send

Source

fn set_iam_policy( &self, _req: SetIamPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Policy>>> + Send

Source

fn get_iam_policy( &self, _req: GetIamPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Policy>>> + Send

Source

fn test_iam_permissions( &self, _req: TestIamPermissionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<TestIamPermissionsResponse>>> + Send

Source

fn list_operations( &self, _req: ListOperationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListOperationsResponse>>> + Send

Source

fn get_operation( &self, _req: GetOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn delete_operation( &self, _req: DeleteOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn cancel_operation( &self, _req: CancelOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn get_polling_error_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingErrorPolicy>

Returns the polling error policy.

When mocking, this method is typically irrelevant. Do not try to verify it is called by your mocks.

Source

fn get_polling_backoff_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingBackoffPolicy>

Returns the polling backoff policy.

When mocking, this method is typically irrelevant. Do not try to verify it is called by your mocks.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§