Struct Client

Source
pub struct Client { /* private fields */ }
Expand description

A client that implements the API by making HTTP calls out to a server.

Implementations§

Source§

impl Client

Source

pub fn try_new_http(base_path: &str) -> Result<Client, ClientInitError>

Create an HTTP client.

§Arguments
  • base_path - base path of the client API, i.e. “www.my-api-implementation.com”
Source

pub fn try_new_with_connector<C, S>( base_path: &str, protocol: Option<&'static str>, connector: C, ) -> Result<Client, ClientInitError>
where C: NetworkConnector<Stream = S> + Send + Sync + 'static, S: NetworkStream,

Create a client with a custom implementation of hyper::net::NetworkConnector.

Intended for use with custom implementations of connect for e.g. protocol logging or similar functionality which requires wrapping the transport layer. When wrapping a TCP connection, this function should be used in conjunction with swagger::{http_connector, https_connector, https_mutual_connector}.

For ordinary tcp connections, prefer the use of try_new_http, try_new_https and try_new_https_mutual, to avoid introducing a dependency on the underlying transport layer.

§Arguments
  • base_path - base path of the client API, i.e. “www.my-api-implementation.com”
  • protocol - Which protocol to use when constructing the request url, e.g. Some("http")
  • connector - An instance of C: hyper::net::NetworkConnection
Source

pub fn try_new_with_hyper_client( hyper_client: Arc<Client>, base_path: &str, ) -> Result<Client, ClientInitError>

Constructor for creating a Client by passing in a pre-made hyper client.

One should avoid relying on this function if possible, since it adds a dependency on the underlying transport implementation, which it would be better to abstract away. Therefore, using this function may lead to a loss of code generality, which may make it harder to move the application to a serverless environment, for example.

The reason for this function’s existence is to support legacy test code, which did mocking at the hyper layer. This is not a recommended way to write new tests. If other reasons are found for using this function, they should be mentioned here.

This function is deprecated in the upstream openapi-generator which uses newer hyper. However, the suggested replacement does not exist in hyper 0.9.

Source

pub fn headers(&mut self) -> &mut Headers

Trait Implementations§

Source§

impl AccountsApi for Client

Source§

type Error = ApiError

Source§

fn create_account( &self, param_body: AccountRequest, ) -> Result<Account, ApiError>

Create a new account.
Source§

fn delete_account(&self, param_account_id: Uuid) -> Result<(), ApiError>

Delete an account.
Source§

fn get_account(&self, param_account_id: Uuid) -> Result<Account, ApiError>

Get a specific account.
Source§

fn get_accounts(&self) -> Result<AccountListResponse, ApiError>

Get all accounts.
Source§

fn select_account(&self, param_account_id: Uuid) -> Result<(), ApiError>

Select a user’s account to work on.
Source§

fn update_account( &self, param_account_id: Uuid, param_body: AccountUpdateRequest, ) -> Result<Account, ApiError>

Update an account.
Source§

impl AppApi for Client

Source§

type Error = ApiError

Source§

fn add_application(&self, param_body: AppRequest) -> Result<App, ApiError>

Add an application.
Source§

fn delete_app(&self, param_app_id: Uuid) -> Result<(), ApiError>

Delete a particular app
Source§

fn get_all_apps( &self, param_name: Option<String>, param_description: Option<String>, param_all_search: Option<String>, param_limit: Option<i32>, param_offset: Option<i32>, param_sort_by: Option<String>, ) -> Result<GetAllAppsResponse, ApiError>

Get all apps information.
Source§

fn get_app(&self, param_app_id: Uuid) -> Result<App, ApiError>

Get details of a particular app.
Source§

fn get_app_certificate( &self, param_node_id: Uuid, param_app_id: Uuid, ) -> Result<Certificate, ApiError>

Get an attested app’s certificate.
Source§

fn get_app_node_certificate_details( &self, param_node_id: Uuid, param_app_id: Uuid, ) -> Result<CertificateDetails, ApiError>

Get an app’s certificate for a compute node.
Source§

fn get_apps_unique_labels(&self) -> Result<LabelsCount, ApiError>

Get all the unique labels across all the applications within selected account
Source§

fn update_app( &self, param_app_id: Uuid, param_body: AppBodyUpdateRequest, ) -> Result<App, ApiError>

Update details of a particular app.
Source§

impl ApplicationConfigApi for Client

Source§

type Error = ApiError

Source§

fn create_application_config( &self, param_body: ApplicationConfig, ) -> Result<ApplicationConfigResponse, ApiError>

Add an app config.
Source§

fn delete_application_config( &self, param_config_id: String, ) -> Result<(), ApiError>

Delete a particular app config
Source§

fn get_all_application_configs( &self, param_name: Option<String>, param_description: Option<String>, param_image_id: Option<Uuid>, param_limit: Option<i32>, param_offset: Option<i32>, ) -> Result<GetAllApplicationConfigsResponse, ApiError>

Get all app configs
Source§

fn get_application_config( &self, param_config_id: String, ) -> Result<ApplicationConfigResponse, ApiError>

Get details of a particular app config.
Source§

fn get_runtime_application_config( &self, expected_hash: &[u8; 32], ) -> Result<RuntimeAppConfig, ApiError>

Get app config
Source§

fn get_specific_runtime_application_config( &self, param_config_id: String, ) -> Result<RuntimeAppConfig, ApiError>

Get details of a particular runtime app config.
Source§

fn update_application_config( &self, param_config_id: String, param_body: UpdateApplicationConfigRequest, ) -> Result<ApplicationConfigResponse, ApiError>

Update details of a particular app config.
Source§

impl ApprovalRequestsApi for Client

Source§

type Error = ApiError

Source§

fn approve_approval_request( &self, param_request_id: Uuid, param_body: Option<ApproveRequest>, ) -> Result<ApprovalRequest, ApiError>

Approve a request.
Source§

fn create_approval_request( &self, param_body: ApprovalRequestRequest, ) -> Result<ApprovalRequest, ApiError>

Create approval request.
Source§

fn delete_approval_request( &self, param_request_id: Uuid, ) -> Result<(), ApiError>

Delete an approval request.
Source§

fn deny_approval_request( &self, param_request_id: Uuid, param_body: Option<DenyRequest>, ) -> Result<ApprovalRequest, ApiError>

Deny a request.
Source§

fn get_all_approval_requests( &self, param_requester: Option<Uuid>, param_reviewer: Option<Uuid>, param_subject: Option<Uuid>, param_status: Option<String>, param_all_search: Option<String>, param_sort_by: Option<String>, param_limit: Option<i32>, param_offset: Option<i32>, ) -> Result<GetAllApprovalRequests, ApiError>

Get all approval requests
Source§

fn get_approval_request( &self, param_request_id: Uuid, ) -> Result<ApprovalRequest, ApiError>

Get an approval request.
Source§

fn get_approval_request_result( &self, param_request_id: Uuid, ) -> Result<ApprovableResult, ApiError>

Get the result for an approved or failed request.
Source§

impl AuthApi for Client

Source§

type Error = ApiError

Source§

fn authenticate_user( &self, param_body: Option<AuthRequest>, ) -> Result<AuthResponse, ApiError>

User authentication
Source§

impl BuildApi for Client

Source§

type Error = ApiError

Source§

fn convert_app_build( &self, param_body: ConvertAppBuildRequest, ) -> Result<Build, ApiError>

Convert a docker image and create a new image.
Source§

fn create_build( &self, param_body: CreateBuildRequest, ) -> Result<Build, ApiError>

Create a new image.
Source§

fn delete_build(&self, param_build_id: Uuid) -> Result<(), ApiError>

Delete a particular image.
Source§

fn get_all_builds( &self, param_all_search: Option<String>, param_docker_image_name: Option<String>, param_config_id: Option<String>, param_deployed_status: Option<String>, param_status: Option<String>, param_limit: Option<i32>, param_offset: Option<i32>, param_sort_by: Option<String>, ) -> Result<GetAllBuildsResponse, ApiError>

Get all images information.
Source§

fn get_build(&self, param_build_id: Uuid) -> Result<Build, ApiError>

Get details of a particular image.
Source§

fn get_build_deployments( &self, param_build_id: Uuid, param_status: Option<String>, param_all_search: Option<String>, param_sort_by: Option<String>, param_limit: Option<i32>, param_offset: Option<i32>, ) -> Result<GetAllBuildDeploymentsResponse, ApiError>

Get all deployments of an image.
Source§

fn update_build( &self, param_build_id: Uuid, param_body: BuildUpdateRequest, ) -> Result<Build, ApiError>

Update details of a particular image.
Source§

impl CertificateApi for Client

Source§

type Error = ApiError

Source§

fn get_certificate(&self, param_cert_id: Uuid) -> Result<Certificate, ApiError>

Retrieve a certificate.
Source§

fn new_certificate( &self, param_body: NewCertificateRequest, ) -> Result<TaskResult, ApiError>

Request a new certificate for an Enclave application
Source§

impl Clone for Client

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl DatasetApi for Client

Source§

type Error = ApiError

Source§

fn create_dataset( &self, param_body: CreateDatasetRequest, ) -> Result<Dataset, ApiError>

Source§

fn delete_dataset(&self, param_dataset_id: Uuid) -> Result<(), ApiError>

Source§

fn get_all_datasets( &self, param_name: Option<String>, param_description: Option<String>, param_limit: Option<i32>, param_offset: Option<i32>, ) -> Result<GetAllDatasetsResponse, ApiError>

Get all datasets
Source§

fn get_dataset(&self, param_dataset_id: Uuid) -> Result<Dataset, ApiError>

Source§

fn update_dataset( &self, param_dataset_id: Uuid, param_body: DatasetUpdateRequest, ) -> Result<Dataset, ApiError>

Source§

impl Debug for Client

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl NodeApi for Client

Source§

type Error = ApiError

Source§

fn deactivate_node(&self, param_node_id: Uuid) -> Result<(), ApiError>

Deactivate a particular compute node.
Source§

fn get_all_nodes( &self, param_name: Option<String>, param_description: Option<String>, param_sgx_version: Option<String>, param_all_search: Option<String>, param_status: Option<String>, param_limit: Option<i32>, param_offset: Option<i32>, param_sort_by: Option<String>, ) -> Result<GetAllNodesResponse, ApiError>

Get all compute nodes information.
Source§

fn get_node(&self, param_node_id: Uuid) -> Result<Node, ApiError>

Get details of a particular compute node.
Source§

fn get_node_certificate( &self, param_node_id: Uuid, ) -> Result<Certificate, ApiError>

Get an attested compute node’s certificate.
Source§

fn get_node_certificate_details( &self, param_node_id: Uuid, ) -> Result<CertificateDetails, ApiError>

Get a compute node’s certificate.
Source§

fn get_nodes_unique_labels(&self) -> Result<LabelsCount, ApiError>

Get all the unique labels across all the nodes within selected account
Source§

fn provision_node( &self, param_body: NodeProvisionRequest, ) -> Result<TaskResult, ApiError>

Provision a new compute node.
Source§

fn update_node( &self, param_node_id: Uuid, param_body: NodeUpdateRequest, ) -> Result<Node, ApiError>

Update details of a particular compute node.
Source§

fn update_node_status( &self, param_body: NodeStatusRequest, ) -> Result<NodeStatusResponse, ApiError>

Called periodically by a compute node.
Source§

impl RegistryApi for Client

Source§

type Error = ApiError

Source§

fn create_registry( &self, param_registry_request: RegistryRequest, ) -> Result<Registry, ApiError>

Add a new registry to an account
Source§

fn delete_registry(&self, param_registry_id: Uuid) -> Result<(), ApiError>

Delete registry
Source§

fn get_all_registries(&self) -> Result<Vec<Registry>, ApiError>

Get details of all registry in the account
Source§

fn get_registry(&self, param_registry_id: Uuid) -> Result<Registry, ApiError>

Get details of a particular registry
Source§

fn get_registry_for_app( &self, param_app_id: Uuid, ) -> Result<AppRegistryResponse, ApiError>

Get details of the registry that will be used for the particular app images
Source§

fn get_registry_for_image( &self, param_image_name: String, ) -> Result<ImageRegistryResponse, ApiError>

Get details of the registry that will be used for the particular image
Source§

fn update_registry( &self, param_registry_id: Uuid, param_body: UpdateRegistryRequest, ) -> Result<Registry, ApiError>

Update a particular registry details
Source§

impl SystemApi for Client

Source§

impl TaskApi for Client

Source§

type Error = ApiError

Source§

fn get_all_tasks( &self, param_task_type: Option<String>, param_status: Option<String>, param_requester: Option<String>, param_approver: Option<String>, param_all_search: Option<String>, param_limit: Option<i32>, param_offset: Option<i32>, param_sort_by: Option<String>, param_base_filters: Option<String>, ) -> Result<GetAllTasksResponse, ApiError>

Get all the tasks.
Source§

fn get_task(&self, param_task_id: Uuid) -> Result<Task, ApiError>

Get details of a particular task.
Source§

fn get_task_status(&self, param_task_id: Uuid) -> Result<TaskResult, ApiError>

Get status and result of a particular task.
Source§

fn update_task( &self, param_task_id: Uuid, param_body: TaskUpdateRequest, ) -> Result<TaskResult, ApiError>

Update status of approver and task.
Source§

impl ToolsApi for Client

Source§

type Error = ApiError

Source§

fn convert_app( &self, param_body: ConversionRequest, ) -> Result<ConversionResponse, ApiError>

Convert an application to run in EnclaveOS.
Source§

impl UsersApi for Client

Source§

type Error = ApiError

Source§

fn accept_terms_and_conditions(&self) -> Result<(), ApiError>

Current user accepts latest terms and conditions.
Source§

fn change_password( &self, param_body: PasswordChangeRequest, ) -> Result<(), ApiError>

Change user password.
Source§

fn confirm_email( &self, param_body: ConfirmEmailRequest, ) -> Result<ConfirmEmailResponse, ApiError>

Confirms user’s email address.
Source§

fn create_user(&self, param_body: SignupRequest) -> Result<User, ApiError>

Create a new user.
Source§

fn delete_user_account(&self, param_user_id: Uuid) -> Result<(), ApiError>

Completely delete a user profile from system
Source§

fn delete_user_from_account(&self, param_user_id: Uuid) -> Result<(), ApiError>

Removed user’s association with an account.
Source§

fn forgot_password( &self, param_body: ForgotPasswordRequest, ) -> Result<(), ApiError>

Initiate password reset sequence for a user.
Source§

fn get_all_users( &self, param_all_search: Option<String>, param_limit: Option<i32>, param_offset: Option<i32>, param_sort_by: Option<String>, ) -> Result<GetAllUsersResponse, ApiError>

Get all user’s information.
Source§

fn get_logged_in_user(&self) -> Result<User, ApiError>

Get details of the current logged in user.
Source§

fn get_user(&self, param_user_id: Uuid) -> Result<User, ApiError>

Get details of a particular user.
Source§

fn invite_user(&self, param_body: InviteUserRequest) -> Result<User, ApiError>

Invite a user.
Source§

fn process_invitations( &self, param_body: ProcessInviteRequest, ) -> Result<(), ApiError>

Process a user’s pending account invitations.
Source§

fn resend_confirm_email(&self) -> Result<(), ApiError>

Resend email with link to confirm user’s email address.
Source§

fn resend_invitation(&self, param_user_id: Uuid) -> Result<(), ApiError>

Resend invite to the user to join a specific account.
Source§

fn reset_password( &self, param_user_id: Uuid, param_body: PasswordResetRequest, ) -> Result<(), ApiError>

Reset a user’s password.
Source§

fn update_user( &self, param_user_id: Uuid, param_body: UpdateUserRequest, ) -> Result<User, ApiError>

Update status, name, and the role of a user. User with MANAGER access role can only update another user.
Source§

fn validate_password_reset_token( &self, param_user_id: Uuid, param_body: ValidateTokenRequest, ) -> Result<ValidateTokenResponse, ApiError>

Validates password reset token for the user.
Source§

impl WorkflowApi for Client

Source§

type Error = ApiError

Source§

fn create_workflow_graph( &self, param_body: CreateWorkflowGraph, ) -> Result<WorkflowGraph, ApiError>

Source§

fn delete_workflow_graph(&self, param_graph_id: Uuid) -> Result<(), ApiError>

Delete a particular draft workflow
Source§

fn get_all_workflow_graphs( &self, param_name: Option<String>, param_description: Option<String>, param_all_search: Option<String>, param_parent_graph_id: Option<String>, param_sort_by: Option<String>, param_limit: Option<i32>, param_offset: Option<i32>, ) -> Result<GetAllWorkflowGraphsResponse, ApiError>

Source§

fn get_workflow_graph( &self, param_graph_id: Uuid, ) -> Result<WorkflowGraph, ApiError>

Get details of a particular draft workflow
Source§

fn update_workflow_graph( &self, param_graph_id: Uuid, param_body: UpdateWorkflowGraph, ) -> Result<WorkflowGraph, ApiError>

Source§

impl WorkflowFinalApi for Client

Source§

type Error = ApiError

Source§

fn create_final_workflow_graph( &self, param_body: CreateFinalWorkflowGraph, ) -> Result<FinalWorkflow, ApiError>

Source§

fn delete_final_workflow_graph( &self, param_graph_id: Uuid, param_version: String, ) -> Result<(), ApiError>

Delete a particular final workflow
Source§

fn get_all_final_workflow_graphs( &self, param_name: Option<String>, param_description: Option<String>, param_all_search: Option<String>, param_sort_by: Option<String>, param_limit: Option<i32>, param_offset: Option<i32>, ) -> Result<GetAllFinalWorkflowGraphsResponse, ApiError>

Source§

fn get_final_workflow_graph( &self, param_graph_id: Uuid, param_version: String, ) -> Result<VersionInFinalWorkflow, ApiError>

Get details of a particular final workflow version
Source§

fn get_full_final_workflow_graph( &self, param_graph_id: Uuid, ) -> Result<FinalWorkflow, ApiError>

Get details of a particular final workflow
Source§

fn update_final_workflow_graph( &self, param_graph_id: Uuid, param_body: CreateWorkflowVersionRequest, ) -> Result<VersionInFinalWorkflow, ApiError>

Create a new version for a particular final workflow
Source§

impl ZoneApi for Client

Source§

type Error = ApiError

Source§

fn get_zone(&self, param_zone_id: Uuid) -> Result<Zone, ApiError>

Get zone details.
Source§

fn get_zone_join_token( &self, param_zone_id: Uuid, ) -> Result<ZoneJoinToken, ApiError>

Get the authentication token.
Source§

fn get_zones(&self) -> Result<Vec<Zone>, ApiError>

Get all zones.

Auto Trait Implementations§

§

impl Freeze for Client

§

impl !RefUnwindSafe for Client

§

impl Send for Client

§

impl !Sync for Client

§

impl Unpin for Client

§

impl !UnwindSafe for Client

Blanket Implementations§

Source§

impl<T, E> AccountsApiMut for T
where T: AccountsApi<Error = E>,

Source§

type Error = E

Source§

fn create_account( &mut self, body: AccountRequest, ) -> Result<Account, <T as AccountsApiMut>::Error>

Create a new account.
Source§

fn delete_account( &mut self, account_id: Uuid, ) -> Result<(), <T as AccountsApiMut>::Error>

Delete an account.
Source§

fn get_account( &mut self, account_id: Uuid, ) -> Result<Account, <T as AccountsApiMut>::Error>

Get a specific account.
Source§

fn get_accounts( &mut self, ) -> Result<AccountListResponse, <T as AccountsApiMut>::Error>

Get all accounts.
Source§

fn select_account( &mut self, account_id: Uuid, ) -> Result<(), <T as AccountsApiMut>::Error>

Select a user’s account to work on.
Source§

fn update_account( &mut self, account_id: Uuid, body: AccountUpdateRequest, ) -> Result<Account, <T as AccountsApiMut>::Error>

Update an account.
Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T, E> Api for T
where T: ApiDecorator<Error = E>,

Source§

type Error = E

Source§

fn create_account( &self, body: AccountRequest, ) -> Result<Account, <T as Api>::Error>

Create a new account.
Source§

fn delete_account(&self, account_id: Uuid) -> Result<(), <T as Api>::Error>

Delete an account.
Source§

fn get_account(&self, account_id: Uuid) -> Result<Account, <T as Api>::Error>

Get a specific account.
Source§

fn get_accounts(&self) -> Result<AccountListResponse, <T as Api>::Error>

Get all accounts.
Source§

fn select_account(&self, account_id: Uuid) -> Result<(), <T as Api>::Error>

Select a user’s account to work on.
Source§

fn update_account( &self, account_id: Uuid, body: AccountUpdateRequest, ) -> Result<Account, <T as Api>::Error>

Update an account.
Source§

fn add_application(&self, body: AppRequest) -> Result<App, <T as Api>::Error>

Add an application.
Source§

fn delete_app(&self, app_id: Uuid) -> Result<(), <T as Api>::Error>

Delete a particular app
Source§

fn get_all_apps( &self, name: Option<String>, description: Option<String>, all_search: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, ) -> Result<GetAllAppsResponse, <T as Api>::Error>

Get all apps information.
Source§

fn get_app(&self, app_id: Uuid) -> Result<App, <T as Api>::Error>

Get details of a particular app.
Source§

fn get_app_certificate( &self, node_id: Uuid, app_id: Uuid, ) -> Result<Certificate, <T as Api>::Error>

Get an attested app’s certificate.
Source§

fn get_app_node_certificate_details( &self, node_id: Uuid, app_id: Uuid, ) -> Result<CertificateDetails, <T as Api>::Error>

Get an app’s certificate for a compute node.
Source§

fn get_apps_unique_labels(&self) -> Result<LabelsCount, <T as Api>::Error>

Get all the unique labels across all the applications within selected account
Source§

fn update_app( &self, app_id: Uuid, body: AppBodyUpdateRequest, ) -> Result<App, <T as Api>::Error>

Update details of a particular app.
Source§

fn create_application_config( &self, body: ApplicationConfig, ) -> Result<ApplicationConfigResponse, <T as Api>::Error>

Add an app config.
Source§

fn delete_application_config( &self, config_id: String, ) -> Result<(), <T as Api>::Error>

Delete a particular app config
Source§

fn get_all_application_configs( &self, name: Option<String>, description: Option<String>, image_id: Option<Uuid>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllApplicationConfigsResponse, <T as Api>::Error>

Get all app configs
Source§

fn get_application_config( &self, config_id: String, ) -> Result<ApplicationConfigResponse, <T as Api>::Error>

Get details of a particular app config.
Source§

fn get_runtime_application_config( &self, expected_hash: &[u8; 32], ) -> Result<RuntimeAppConfig, <T as Api>::Error>

Get app config
Source§

fn get_specific_runtime_application_config( &self, config_id: String, ) -> Result<RuntimeAppConfig, <T as Api>::Error>

Get details of a particular runtime app config.
Source§

fn update_application_config( &self, config_id: String, body: UpdateApplicationConfigRequest, ) -> Result<ApplicationConfigResponse, <T as Api>::Error>

Update details of a particular app config.
Source§

fn approve_approval_request( &self, request_id: Uuid, body: Option<ApproveRequest>, ) -> Result<ApprovalRequest, <T as Api>::Error>

Approve a request.
Source§

fn create_approval_request( &self, body: ApprovalRequestRequest, ) -> Result<ApprovalRequest, <T as Api>::Error>

Create approval request.
Source§

fn delete_approval_request( &self, request_id: Uuid, ) -> Result<(), <T as Api>::Error>

Delete an approval request.
Source§

fn deny_approval_request( &self, request_id: Uuid, body: Option<DenyRequest>, ) -> Result<ApprovalRequest, <T as Api>::Error>

Deny a request.
Source§

fn get_all_approval_requests( &self, requester: Option<Uuid>, reviewer: Option<Uuid>, subject: Option<Uuid>, status: Option<String>, all_search: Option<String>, sort_by: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllApprovalRequests, <T as Api>::Error>

Get all approval requests
Source§

fn get_approval_request( &self, request_id: Uuid, ) -> Result<ApprovalRequest, <T as Api>::Error>

Get an approval request.
Source§

fn get_approval_request_result( &self, request_id: Uuid, ) -> Result<ApprovableResult, <T as Api>::Error>

Get the result for an approved or failed request.
Source§

fn authenticate_user( &self, body: Option<AuthRequest>, ) -> Result<AuthResponse, <T as Api>::Error>

User authentication
Source§

fn convert_app_build( &self, body: ConvertAppBuildRequest, ) -> Result<Build, <T as Api>::Error>

Convert a docker image and create a new image.
Source§

fn create_build( &self, body: CreateBuildRequest, ) -> Result<Build, <T as Api>::Error>

Create a new image.
Source§

fn delete_build(&self, build_id: Uuid) -> Result<(), <T as Api>::Error>

Delete a particular image.
Source§

fn get_all_builds( &self, all_search: Option<String>, docker_image_name: Option<String>, config_id: Option<String>, deployed_status: Option<String>, status: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, ) -> Result<GetAllBuildsResponse, <T as Api>::Error>

Get all images information.
Source§

fn get_build(&self, build_id: Uuid) -> Result<Build, <T as Api>::Error>

Get details of a particular image.
Source§

fn get_build_deployments( &self, build_id: Uuid, status: Option<String>, all_search: Option<String>, sort_by: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllBuildDeploymentsResponse, <T as Api>::Error>

Get all deployments of an image.
Source§

fn update_build( &self, build_id: Uuid, body: BuildUpdateRequest, ) -> Result<Build, <T as Api>::Error>

Update details of a particular image.
Source§

fn get_certificate( &self, cert_id: Uuid, ) -> Result<Certificate, <T as Api>::Error>

Retrieve a certificate.
Source§

fn new_certificate( &self, body: NewCertificateRequest, ) -> Result<TaskResult, <T as Api>::Error>

Request a new certificate for an Enclave application
Source§

fn create_dataset( &self, body: CreateDatasetRequest, ) -> Result<Dataset, <T as Api>::Error>

Source§

fn delete_dataset(&self, dataset_id: Uuid) -> Result<(), <T as Api>::Error>

Source§

fn get_all_datasets( &self, name: Option<String>, description: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllDatasetsResponse, <T as Api>::Error>

Get all datasets
Source§

fn get_dataset(&self, dataset_id: Uuid) -> Result<Dataset, <T as Api>::Error>

Source§

fn update_dataset( &self, dataset_id: Uuid, body: DatasetUpdateRequest, ) -> Result<Dataset, <T as Api>::Error>

Source§

fn deactivate_node(&self, node_id: Uuid) -> Result<(), <T as Api>::Error>

Deactivate a particular compute node.
Source§

fn get_all_nodes( &self, name: Option<String>, description: Option<String>, sgx_version: Option<String>, all_search: Option<String>, status: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, ) -> Result<GetAllNodesResponse, <T as Api>::Error>

Get all compute nodes information.
Source§

fn get_node(&self, node_id: Uuid) -> Result<Node, <T as Api>::Error>

Get details of a particular compute node.
Source§

fn get_node_certificate( &self, node_id: Uuid, ) -> Result<Certificate, <T as Api>::Error>

Get an attested compute node’s certificate.
Source§

fn get_node_certificate_details( &self, node_id: Uuid, ) -> Result<CertificateDetails, <T as Api>::Error>

Get a compute node’s certificate.
Source§

fn get_nodes_unique_labels(&self) -> Result<LabelsCount, <T as Api>::Error>

Get all the unique labels across all the nodes within selected account
Source§

fn provision_node( &self, body: NodeProvisionRequest, ) -> Result<TaskResult, <T as Api>::Error>

Provision a new compute node.
Source§

fn update_node( &self, node_id: Uuid, body: NodeUpdateRequest, ) -> Result<Node, <T as Api>::Error>

Update details of a particular compute node.
Source§

fn update_node_status( &self, body: NodeStatusRequest, ) -> Result<NodeStatusResponse, <T as Api>::Error>

Called periodically by a compute node.
Source§

fn create_registry( &self, registry_request: RegistryRequest, ) -> Result<Registry, <T as Api>::Error>

Add a new registry to an account
Source§

fn delete_registry(&self, registry_id: Uuid) -> Result<(), <T as Api>::Error>

Delete registry
Source§

fn get_all_registries(&self) -> Result<Vec<Registry>, <T as Api>::Error>

Get details of all registry in the account
Source§

fn get_registry(&self, registry_id: Uuid) -> Result<Registry, <T as Api>::Error>

Get details of a particular registry
Source§

fn get_registry_for_app( &self, app_id: Uuid, ) -> Result<AppRegistryResponse, <T as Api>::Error>

Get details of the registry that will be used for the particular app images
Source§

fn get_registry_for_image( &self, image_name: String, ) -> Result<ImageRegistryResponse, <T as Api>::Error>

Get details of the registry that will be used for the particular image
Source§

fn update_registry( &self, registry_id: Uuid, body: UpdateRegistryRequest, ) -> Result<Registry, <T as Api>::Error>

Update a particular registry details
Source§

fn get_manager_version(&self) -> Result<VersionResponse, <T as Api>::Error>

Get Manager Version.
Source§

fn get_all_tasks( &self, task_type: Option<String>, status: Option<String>, requester: Option<String>, approver: Option<String>, all_search: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, base_filters: Option<String>, ) -> Result<GetAllTasksResponse, <T as Api>::Error>

Get all the tasks.
Source§

fn get_task(&self, task_id: Uuid) -> Result<Task, <T as Api>::Error>

Get details of a particular task.
Source§

fn get_task_status( &self, task_id: Uuid, ) -> Result<TaskResult, <T as Api>::Error>

Get status and result of a particular task.
Source§

fn update_task( &self, task_id: Uuid, body: TaskUpdateRequest, ) -> Result<TaskResult, <T as Api>::Error>

Update status of approver and task.
Source§

fn convert_app( &self, body: ConversionRequest, ) -> Result<ConversionResponse, <T as Api>::Error>

Convert an application to run in EnclaveOS.
Source§

fn accept_terms_and_conditions(&self) -> Result<(), <T as Api>::Error>

Current user accepts latest terms and conditions.
Source§

fn change_password( &self, body: PasswordChangeRequest, ) -> Result<(), <T as Api>::Error>

Change user password.
Source§

fn confirm_email( &self, body: ConfirmEmailRequest, ) -> Result<ConfirmEmailResponse, <T as Api>::Error>

Confirms user’s email address.
Source§

fn create_user(&self, body: SignupRequest) -> Result<User, <T as Api>::Error>

Create a new user.
Source§

fn delete_user_account(&self, user_id: Uuid) -> Result<(), <T as Api>::Error>

Completely delete a user profile from system
Source§

fn delete_user_from_account( &self, user_id: Uuid, ) -> Result<(), <T as Api>::Error>

Removed user’s association with an account.
Source§

fn forgot_password( &self, body: ForgotPasswordRequest, ) -> Result<(), <T as Api>::Error>

Initiate password reset sequence for a user.
Source§

fn get_all_users( &self, all_search: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, ) -> Result<GetAllUsersResponse, <T as Api>::Error>

Get all user’s information.
Source§

fn get_logged_in_user(&self) -> Result<User, <T as Api>::Error>

Get details of the current logged in user.
Source§

fn get_user(&self, user_id: Uuid) -> Result<User, <T as Api>::Error>

Get details of a particular user.
Source§

fn invite_user( &self, body: InviteUserRequest, ) -> Result<User, <T as Api>::Error>

Invite a user.
Source§

fn process_invitations( &self, body: ProcessInviteRequest, ) -> Result<(), <T as Api>::Error>

Process a user’s pending account invitations.
Source§

fn resend_confirm_email(&self) -> Result<(), <T as Api>::Error>

Resend email with link to confirm user’s email address.
Source§

fn resend_invitation(&self, user_id: Uuid) -> Result<(), <T as Api>::Error>

Resend invite to the user to join a specific account.
Source§

fn reset_password( &self, user_id: Uuid, body: PasswordResetRequest, ) -> Result<(), <T as Api>::Error>

Reset a user’s password.
Source§

fn update_user( &self, user_id: Uuid, body: UpdateUserRequest, ) -> Result<User, <T as Api>::Error>

Update status, name, and the role of a user. User with MANAGER access role can only update another user.
Source§

fn validate_password_reset_token( &self, user_id: Uuid, body: ValidateTokenRequest, ) -> Result<ValidateTokenResponse, <T as Api>::Error>

Validates password reset token for the user.
Source§

fn create_workflow_graph( &self, body: CreateWorkflowGraph, ) -> Result<WorkflowGraph, <T as Api>::Error>

Source§

fn delete_workflow_graph(&self, graph_id: Uuid) -> Result<(), <T as Api>::Error>

Delete a particular draft workflow
Source§

fn get_all_workflow_graphs( &self, name: Option<String>, description: Option<String>, all_search: Option<String>, parent_graph_id: Option<String>, sort_by: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllWorkflowGraphsResponse, <T as Api>::Error>

Source§

fn get_workflow_graph( &self, graph_id: Uuid, ) -> Result<WorkflowGraph, <T as Api>::Error>

Get details of a particular draft workflow
Source§

fn update_workflow_graph( &self, graph_id: Uuid, body: UpdateWorkflowGraph, ) -> Result<WorkflowGraph, <T as Api>::Error>

Source§

fn create_final_workflow_graph( &self, body: CreateFinalWorkflowGraph, ) -> Result<FinalWorkflow, <T as Api>::Error>

Source§

fn delete_final_workflow_graph( &self, graph_id: Uuid, version: String, ) -> Result<(), <T as Api>::Error>

Delete a particular final workflow
Source§

fn get_all_final_workflow_graphs( &self, name: Option<String>, description: Option<String>, all_search: Option<String>, sort_by: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllFinalWorkflowGraphsResponse, <T as Api>::Error>

Source§

fn get_final_workflow_graph( &self, graph_id: Uuid, version: String, ) -> Result<VersionInFinalWorkflow, <T as Api>::Error>

Get details of a particular final workflow version
Source§

fn get_full_final_workflow_graph( &self, graph_id: Uuid, ) -> Result<FinalWorkflow, <T as Api>::Error>

Get details of a particular final workflow
Source§

fn update_final_workflow_graph( &self, graph_id: Uuid, body: CreateWorkflowVersionRequest, ) -> Result<VersionInFinalWorkflow, <T as Api>::Error>

Create a new version for a particular final workflow
Source§

fn get_zone(&self, zone_id: Uuid) -> Result<Zone, <T as Api>::Error>

Get zone details.
Source§

fn get_zone_join_token( &self, zone_id: Uuid, ) -> Result<ZoneJoinToken, <T as Api>::Error>

Get the authentication token.
Source§

fn get_zones(&self) -> Result<Vec<Zone>, <T as Api>::Error>

Get all zones.
Source§

impl<T, E> ApiDecorator for T
where T: AccountsApi<Error = E> + NodeApi<Error = E> + ApprovalRequestsApi<Error = E> + RegistryApi<Error = E> + SystemApi<Error = E> + AuthApi<Error = E> + TaskApi<Error = E> + AppApi<Error = E> + ToolsApi<Error = E> + BuildApi<Error = E> + UsersApi<Error = E> + WorkflowApi<Error = E> + CertificateApi<Error = E> + WorkflowFinalApi<Error = E> + ApplicationConfigApi<Error = E> + ZoneApi<Error = E> + DatasetApi<Error = E>,

Source§

type Error = E

Source§

fn dispatch<F, U>(&self, f: F) -> Result<U, <T as ApiDecorator>::Error>
where F: FnOnce(&dyn Api<Error = E>) -> Result<U, <T as ApiDecorator>::Error>,

Source§

impl<T, E> ApiMut for T
where T: AccountsApiMut<Error = E> + NodeApiMut<Error = E> + ApprovalRequestsApiMut<Error = E> + RegistryApiMut<Error = E> + SystemApiMut<Error = E> + AuthApiMut<Error = E> + TaskApiMut<Error = E> + AppApiMut<Error = E> + ToolsApiMut<Error = E> + BuildApiMut<Error = E> + UsersApiMut<Error = E> + WorkflowApiMut<Error = E> + CertificateApiMut<Error = E> + WorkflowFinalApiMut<Error = E> + ApplicationConfigApiMut<Error = E> + ZoneApiMut<Error = E> + DatasetApiMut<Error = E>,

Source§

type Error = E

Source§

fn create_account( &mut self, body: AccountRequest, ) -> Result<Account, <T as ApiMut>::Error>

Create a new account.
Source§

fn delete_account( &mut self, account_id: Uuid, ) -> Result<(), <T as ApiMut>::Error>

Delete an account.
Source§

fn get_account( &mut self, account_id: Uuid, ) -> Result<Account, <T as ApiMut>::Error>

Get a specific account.
Source§

fn get_accounts(&mut self) -> Result<AccountListResponse, <T as ApiMut>::Error>

Get all accounts.
Source§

fn select_account( &mut self, account_id: Uuid, ) -> Result<(), <T as ApiMut>::Error>

Select a user’s account to work on.
Source§

fn update_account( &mut self, account_id: Uuid, body: AccountUpdateRequest, ) -> Result<Account, <T as ApiMut>::Error>

Update an account.
Source§

fn add_application( &mut self, body: AppRequest, ) -> Result<App, <T as ApiMut>::Error>

Add an application.
Source§

fn delete_app(&mut self, app_id: Uuid) -> Result<(), <T as ApiMut>::Error>

Delete a particular app
Source§

fn get_all_apps( &mut self, name: Option<String>, description: Option<String>, all_search: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, ) -> Result<GetAllAppsResponse, <T as ApiMut>::Error>

Get all apps information.
Source§

fn get_app(&mut self, app_id: Uuid) -> Result<App, <T as ApiMut>::Error>

Get details of a particular app.
Source§

fn get_app_certificate( &mut self, node_id: Uuid, app_id: Uuid, ) -> Result<Certificate, <T as ApiMut>::Error>

Get an attested app’s certificate.
Source§

fn get_app_node_certificate_details( &mut self, node_id: Uuid, app_id: Uuid, ) -> Result<CertificateDetails, <T as ApiMut>::Error>

Get an app’s certificate for a compute node.
Source§

fn get_apps_unique_labels( &mut self, ) -> Result<LabelsCount, <T as ApiMut>::Error>

Get all the unique labels across all the applications within selected account
Source§

fn update_app( &mut self, app_id: Uuid, body: AppBodyUpdateRequest, ) -> Result<App, <T as ApiMut>::Error>

Update details of a particular app.
Source§

fn create_application_config( &mut self, body: ApplicationConfig, ) -> Result<ApplicationConfigResponse, <T as ApiMut>::Error>

Add an app config.
Source§

fn delete_application_config( &mut self, config_id: String, ) -> Result<(), <T as ApiMut>::Error>

Delete a particular app config
Source§

fn get_all_application_configs( &mut self, name: Option<String>, description: Option<String>, image_id: Option<Uuid>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllApplicationConfigsResponse, <T as ApiMut>::Error>

Get all app configs
Source§

fn get_application_config( &mut self, config_id: String, ) -> Result<ApplicationConfigResponse, <T as ApiMut>::Error>

Get details of a particular app config.
Source§

fn get_runtime_application_config( &mut self, expected_hash: &[u8; 32], ) -> Result<RuntimeAppConfig, <T as ApiMut>::Error>

Get app config
Source§

fn get_specific_runtime_application_config( &mut self, config_id: String, ) -> Result<RuntimeAppConfig, <T as ApiMut>::Error>

Get details of a particular runtime app config.
Source§

fn update_application_config( &mut self, config_id: String, body: UpdateApplicationConfigRequest, ) -> Result<ApplicationConfigResponse, <T as ApiMut>::Error>

Update details of a particular app config.
Source§

fn approve_approval_request( &mut self, request_id: Uuid, body: Option<ApproveRequest>, ) -> Result<ApprovalRequest, <T as ApiMut>::Error>

Approve a request.
Source§

fn create_approval_request( &mut self, body: ApprovalRequestRequest, ) -> Result<ApprovalRequest, <T as ApiMut>::Error>

Create approval request.
Source§

fn delete_approval_request( &mut self, request_id: Uuid, ) -> Result<(), <T as ApiMut>::Error>

Delete an approval request.
Source§

fn deny_approval_request( &mut self, request_id: Uuid, body: Option<DenyRequest>, ) -> Result<ApprovalRequest, <T as ApiMut>::Error>

Deny a request.
Source§

fn get_all_approval_requests( &mut self, requester: Option<Uuid>, reviewer: Option<Uuid>, subject: Option<Uuid>, status: Option<String>, all_search: Option<String>, sort_by: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllApprovalRequests, <T as ApiMut>::Error>

Get all approval requests
Source§

fn get_approval_request( &mut self, request_id: Uuid, ) -> Result<ApprovalRequest, <T as ApiMut>::Error>

Get an approval request.
Source§

fn get_approval_request_result( &mut self, request_id: Uuid, ) -> Result<ApprovableResult, <T as ApiMut>::Error>

Get the result for an approved or failed request.
Source§

fn authenticate_user( &mut self, body: Option<AuthRequest>, ) -> Result<AuthResponse, <T as ApiMut>::Error>

User authentication
Source§

fn convert_app_build( &mut self, body: ConvertAppBuildRequest, ) -> Result<Build, <T as ApiMut>::Error>

Convert a docker image and create a new image.
Source§

fn create_build( &mut self, body: CreateBuildRequest, ) -> Result<Build, <T as ApiMut>::Error>

Create a new image.
Source§

fn delete_build(&mut self, build_id: Uuid) -> Result<(), <T as ApiMut>::Error>

Delete a particular image.
Source§

fn get_all_builds( &mut self, all_search: Option<String>, docker_image_name: Option<String>, config_id: Option<String>, deployed_status: Option<String>, status: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, ) -> Result<GetAllBuildsResponse, <T as ApiMut>::Error>

Get all images information.
Source§

fn get_build(&mut self, build_id: Uuid) -> Result<Build, <T as ApiMut>::Error>

Get details of a particular image.
Source§

fn get_build_deployments( &mut self, build_id: Uuid, status: Option<String>, all_search: Option<String>, sort_by: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllBuildDeploymentsResponse, <T as ApiMut>::Error>

Get all deployments of an image.
Source§

fn update_build( &mut self, build_id: Uuid, body: BuildUpdateRequest, ) -> Result<Build, <T as ApiMut>::Error>

Update details of a particular image.
Source§

fn get_certificate( &mut self, cert_id: Uuid, ) -> Result<Certificate, <T as ApiMut>::Error>

Retrieve a certificate.
Source§

fn new_certificate( &mut self, body: NewCertificateRequest, ) -> Result<TaskResult, <T as ApiMut>::Error>

Request a new certificate for an Enclave application
Source§

fn create_dataset( &mut self, body: CreateDatasetRequest, ) -> Result<Dataset, <T as ApiMut>::Error>

Source§

fn delete_dataset( &mut self, dataset_id: Uuid, ) -> Result<(), <T as ApiMut>::Error>

Source§

fn get_all_datasets( &mut self, name: Option<String>, description: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllDatasetsResponse, <T as ApiMut>::Error>

Get all datasets
Source§

fn get_dataset( &mut self, dataset_id: Uuid, ) -> Result<Dataset, <T as ApiMut>::Error>

Source§

fn update_dataset( &mut self, dataset_id: Uuid, body: DatasetUpdateRequest, ) -> Result<Dataset, <T as ApiMut>::Error>

Source§

fn deactivate_node(&mut self, node_id: Uuid) -> Result<(), <T as ApiMut>::Error>

Deactivate a particular compute node.
Source§

fn get_all_nodes( &mut self, name: Option<String>, description: Option<String>, sgx_version: Option<String>, all_search: Option<String>, status: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, ) -> Result<GetAllNodesResponse, <T as ApiMut>::Error>

Get all compute nodes information.
Source§

fn get_node(&mut self, node_id: Uuid) -> Result<Node, <T as ApiMut>::Error>

Get details of a particular compute node.
Source§

fn get_node_certificate( &mut self, node_id: Uuid, ) -> Result<Certificate, <T as ApiMut>::Error>

Get an attested compute node’s certificate.
Source§

fn get_node_certificate_details( &mut self, node_id: Uuid, ) -> Result<CertificateDetails, <T as ApiMut>::Error>

Get a compute node’s certificate.
Source§

fn get_nodes_unique_labels( &mut self, ) -> Result<LabelsCount, <T as ApiMut>::Error>

Get all the unique labels across all the nodes within selected account
Source§

fn provision_node( &mut self, body: NodeProvisionRequest, ) -> Result<TaskResult, <T as ApiMut>::Error>

Provision a new compute node.
Source§

fn update_node( &mut self, node_id: Uuid, body: NodeUpdateRequest, ) -> Result<Node, <T as ApiMut>::Error>

Update details of a particular compute node.
Source§

fn update_node_status( &mut self, body: NodeStatusRequest, ) -> Result<NodeStatusResponse, <T as ApiMut>::Error>

Called periodically by a compute node.
Source§

fn create_registry( &mut self, registry_request: RegistryRequest, ) -> Result<Registry, <T as ApiMut>::Error>

Add a new registry to an account
Source§

fn delete_registry( &mut self, registry_id: Uuid, ) -> Result<(), <T as ApiMut>::Error>

Delete registry
Source§

fn get_all_registries(&mut self) -> Result<Vec<Registry>, <T as ApiMut>::Error>

Get details of all registry in the account
Source§

fn get_registry( &mut self, registry_id: Uuid, ) -> Result<Registry, <T as ApiMut>::Error>

Get details of a particular registry
Source§

fn get_registry_for_app( &mut self, app_id: Uuid, ) -> Result<AppRegistryResponse, <T as ApiMut>::Error>

Get details of the registry that will be used for the particular app images
Source§

fn get_registry_for_image( &mut self, image_name: String, ) -> Result<ImageRegistryResponse, <T as ApiMut>::Error>

Get details of the registry that will be used for the particular image
Source§

fn update_registry( &mut self, registry_id: Uuid, body: UpdateRegistryRequest, ) -> Result<Registry, <T as ApiMut>::Error>

Update a particular registry details
Source§

fn get_manager_version( &mut self, ) -> Result<VersionResponse, <T as ApiMut>::Error>

Get Manager Version.
Source§

fn get_all_tasks( &mut self, task_type: Option<String>, status: Option<String>, requester: Option<String>, approver: Option<String>, all_search: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, base_filters: Option<String>, ) -> Result<GetAllTasksResponse, <T as ApiMut>::Error>

Get all the tasks.
Source§

fn get_task(&mut self, task_id: Uuid) -> Result<Task, <T as ApiMut>::Error>

Get details of a particular task.
Source§

fn get_task_status( &mut self, task_id: Uuid, ) -> Result<TaskResult, <T as ApiMut>::Error>

Get status and result of a particular task.
Source§

fn update_task( &mut self, task_id: Uuid, body: TaskUpdateRequest, ) -> Result<TaskResult, <T as ApiMut>::Error>

Update status of approver and task.
Source§

fn convert_app( &mut self, body: ConversionRequest, ) -> Result<ConversionResponse, <T as ApiMut>::Error>

Convert an application to run in EnclaveOS.
Source§

fn accept_terms_and_conditions(&mut self) -> Result<(), <T as ApiMut>::Error>

Current user accepts latest terms and conditions.
Source§

fn change_password( &mut self, body: PasswordChangeRequest, ) -> Result<(), <T as ApiMut>::Error>

Change user password.
Source§

fn confirm_email( &mut self, body: ConfirmEmailRequest, ) -> Result<ConfirmEmailResponse, <T as ApiMut>::Error>

Confirms user’s email address.
Source§

fn create_user( &mut self, body: SignupRequest, ) -> Result<User, <T as ApiMut>::Error>

Create a new user.
Source§

fn delete_user_account( &mut self, user_id: Uuid, ) -> Result<(), <T as ApiMut>::Error>

Completely delete a user profile from system
Source§

fn delete_user_from_account( &mut self, user_id: Uuid, ) -> Result<(), <T as ApiMut>::Error>

Removed user’s association with an account.
Source§

fn forgot_password( &mut self, body: ForgotPasswordRequest, ) -> Result<(), <T as ApiMut>::Error>

Initiate password reset sequence for a user.
Source§

fn get_all_users( &mut self, all_search: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, ) -> Result<GetAllUsersResponse, <T as ApiMut>::Error>

Get all user’s information.
Source§

fn get_logged_in_user(&mut self) -> Result<User, <T as ApiMut>::Error>

Get details of the current logged in user.
Source§

fn get_user(&mut self, user_id: Uuid) -> Result<User, <T as ApiMut>::Error>

Get details of a particular user.
Source§

fn invite_user( &mut self, body: InviteUserRequest, ) -> Result<User, <T as ApiMut>::Error>

Invite a user.
Source§

fn process_invitations( &mut self, body: ProcessInviteRequest, ) -> Result<(), <T as ApiMut>::Error>

Process a user’s pending account invitations.
Source§

fn resend_confirm_email(&mut self) -> Result<(), <T as ApiMut>::Error>

Resend email with link to confirm user’s email address.
Source§

fn resend_invitation( &mut self, user_id: Uuid, ) -> Result<(), <T as ApiMut>::Error>

Resend invite to the user to join a specific account.
Source§

fn reset_password( &mut self, user_id: Uuid, body: PasswordResetRequest, ) -> Result<(), <T as ApiMut>::Error>

Reset a user’s password.
Source§

fn update_user( &mut self, user_id: Uuid, body: UpdateUserRequest, ) -> Result<User, <T as ApiMut>::Error>

Update status, name, and the role of a user. User with MANAGER access role can only update another user.
Source§

fn validate_password_reset_token( &mut self, user_id: Uuid, body: ValidateTokenRequest, ) -> Result<ValidateTokenResponse, <T as ApiMut>::Error>

Validates password reset token for the user.
Source§

fn create_workflow_graph( &mut self, body: CreateWorkflowGraph, ) -> Result<WorkflowGraph, <T as ApiMut>::Error>

Source§

fn delete_workflow_graph( &mut self, graph_id: Uuid, ) -> Result<(), <T as ApiMut>::Error>

Delete a particular draft workflow
Source§

fn get_all_workflow_graphs( &mut self, name: Option<String>, description: Option<String>, all_search: Option<String>, parent_graph_id: Option<String>, sort_by: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllWorkflowGraphsResponse, <T as ApiMut>::Error>

Source§

fn get_workflow_graph( &mut self, graph_id: Uuid, ) -> Result<WorkflowGraph, <T as ApiMut>::Error>

Get details of a particular draft workflow
Source§

fn update_workflow_graph( &mut self, graph_id: Uuid, body: UpdateWorkflowGraph, ) -> Result<WorkflowGraph, <T as ApiMut>::Error>

Source§

fn create_final_workflow_graph( &mut self, body: CreateFinalWorkflowGraph, ) -> Result<FinalWorkflow, <T as ApiMut>::Error>

Source§

fn delete_final_workflow_graph( &mut self, graph_id: Uuid, version: String, ) -> Result<(), <T as ApiMut>::Error>

Delete a particular final workflow
Source§

fn get_all_final_workflow_graphs( &mut self, name: Option<String>, description: Option<String>, all_search: Option<String>, sort_by: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllFinalWorkflowGraphsResponse, <T as ApiMut>::Error>

Source§

fn get_final_workflow_graph( &mut self, graph_id: Uuid, version: String, ) -> Result<VersionInFinalWorkflow, <T as ApiMut>::Error>

Get details of a particular final workflow version
Source§

fn get_full_final_workflow_graph( &mut self, graph_id: Uuid, ) -> Result<FinalWorkflow, <T as ApiMut>::Error>

Get details of a particular final workflow
Source§

fn update_final_workflow_graph( &mut self, graph_id: Uuid, body: CreateWorkflowVersionRequest, ) -> Result<VersionInFinalWorkflow, <T as ApiMut>::Error>

Create a new version for a particular final workflow
Source§

fn get_zone(&mut self, zone_id: Uuid) -> Result<Zone, <T as ApiMut>::Error>

Get zone details.
Source§

fn get_zone_join_token( &mut self, zone_id: Uuid, ) -> Result<ZoneJoinToken, <T as ApiMut>::Error>

Get the authentication token.
Source§

fn get_zones(&mut self) -> Result<Vec<Zone>, <T as ApiMut>::Error>

Get all zones.
Source§

impl<T, E> AppApiMut for T
where T: AppApi<Error = E>,

Source§

type Error = E

Source§

fn add_application( &mut self, body: AppRequest, ) -> Result<App, <T as AppApiMut>::Error>

Add an application.
Source§

fn delete_app(&mut self, app_id: Uuid) -> Result<(), <T as AppApiMut>::Error>

Delete a particular app
Source§

fn get_all_apps( &mut self, name: Option<String>, description: Option<String>, all_search: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, ) -> Result<GetAllAppsResponse, <T as AppApiMut>::Error>

Get all apps information.
Source§

fn get_app(&mut self, app_id: Uuid) -> Result<App, <T as AppApiMut>::Error>

Get details of a particular app.
Source§

fn get_app_certificate( &mut self, node_id: Uuid, app_id: Uuid, ) -> Result<Certificate, <T as AppApiMut>::Error>

Get an attested app’s certificate.
Source§

fn get_app_node_certificate_details( &mut self, node_id: Uuid, app_id: Uuid, ) -> Result<CertificateDetails, <T as AppApiMut>::Error>

Get an app’s certificate for a compute node.
Source§

fn get_apps_unique_labels( &mut self, ) -> Result<LabelsCount, <T as AppApiMut>::Error>

Get all the unique labels across all the applications within selected account
Source§

fn update_app( &mut self, app_id: Uuid, body: AppBodyUpdateRequest, ) -> Result<App, <T as AppApiMut>::Error>

Update details of a particular app.
Source§

impl<T, E> ApplicationConfigApiMut for T
where T: ApplicationConfigApi<Error = E>,

Source§

type Error = E

Source§

fn create_application_config( &mut self, body: ApplicationConfig, ) -> Result<ApplicationConfigResponse, <T as ApplicationConfigApiMut>::Error>

Add an app config.
Source§

fn delete_application_config( &mut self, config_id: String, ) -> Result<(), <T as ApplicationConfigApiMut>::Error>

Delete a particular app config
Source§

fn get_all_application_configs( &mut self, name: Option<String>, description: Option<String>, image_id: Option<Uuid>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllApplicationConfigsResponse, <T as ApplicationConfigApiMut>::Error>

Get all app configs
Source§

fn get_application_config( &mut self, config_id: String, ) -> Result<ApplicationConfigResponse, <T as ApplicationConfigApiMut>::Error>

Get details of a particular app config.
Source§

fn get_runtime_application_config( &mut self, expected_hash: &[u8; 32], ) -> Result<RuntimeAppConfig, <T as ApplicationConfigApiMut>::Error>

Get app config
Source§

fn get_specific_runtime_application_config( &mut self, config_id: String, ) -> Result<RuntimeAppConfig, <T as ApplicationConfigApiMut>::Error>

Get details of a particular runtime app config.
Source§

fn update_application_config( &mut self, config_id: String, body: UpdateApplicationConfigRequest, ) -> Result<ApplicationConfigResponse, <T as ApplicationConfigApiMut>::Error>

Update details of a particular app config.
Source§

impl<T, E> ApprovalRequestsApiMut for T
where T: ApprovalRequestsApi<Error = E>,

Source§

type Error = E

Source§

fn approve_approval_request( &mut self, request_id: Uuid, body: Option<ApproveRequest>, ) -> Result<ApprovalRequest, <T as ApprovalRequestsApiMut>::Error>

Approve a request.
Source§

fn create_approval_request( &mut self, body: ApprovalRequestRequest, ) -> Result<ApprovalRequest, <T as ApprovalRequestsApiMut>::Error>

Create approval request.
Source§

fn delete_approval_request( &mut self, request_id: Uuid, ) -> Result<(), <T as ApprovalRequestsApiMut>::Error>

Delete an approval request.
Source§

fn deny_approval_request( &mut self, request_id: Uuid, body: Option<DenyRequest>, ) -> Result<ApprovalRequest, <T as ApprovalRequestsApiMut>::Error>

Deny a request.
Source§

fn get_all_approval_requests( &mut self, requester: Option<Uuid>, reviewer: Option<Uuid>, subject: Option<Uuid>, status: Option<String>, all_search: Option<String>, sort_by: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllApprovalRequests, <T as ApprovalRequestsApiMut>::Error>

Get all approval requests
Source§

fn get_approval_request( &mut self, request_id: Uuid, ) -> Result<ApprovalRequest, <T as ApprovalRequestsApiMut>::Error>

Get an approval request.
Source§

fn get_approval_request_result( &mut self, request_id: Uuid, ) -> Result<ApprovableResult, <T as ApprovalRequestsApiMut>::Error>

Get the result for an approved or failed request.
Source§

impl<T, E> AuthApiMut for T
where T: AuthApi<Error = E>,

Source§

type Error = E

Source§

fn authenticate_user( &mut self, body: Option<AuthRequest>, ) -> Result<AuthResponse, <T as AuthApiMut>::Error>

User authentication
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, E> BuildApiMut for T
where T: BuildApi<Error = E>,

Source§

type Error = E

Source§

fn convert_app_build( &mut self, body: ConvertAppBuildRequest, ) -> Result<Build, <T as BuildApiMut>::Error>

Convert a docker image and create a new image.
Source§

fn create_build( &mut self, body: CreateBuildRequest, ) -> Result<Build, <T as BuildApiMut>::Error>

Create a new image.
Source§

fn delete_build( &mut self, build_id: Uuid, ) -> Result<(), <T as BuildApiMut>::Error>

Delete a particular image.
Source§

fn get_all_builds( &mut self, all_search: Option<String>, docker_image_name: Option<String>, config_id: Option<String>, deployed_status: Option<String>, status: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, ) -> Result<GetAllBuildsResponse, <T as BuildApiMut>::Error>

Get all images information.
Source§

fn get_build( &mut self, build_id: Uuid, ) -> Result<Build, <T as BuildApiMut>::Error>

Get details of a particular image.
Source§

fn get_build_deployments( &mut self, build_id: Uuid, status: Option<String>, all_search: Option<String>, sort_by: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllBuildDeploymentsResponse, <T as BuildApiMut>::Error>

Get all deployments of an image.
Source§

fn update_build( &mut self, build_id: Uuid, body: BuildUpdateRequest, ) -> Result<Build, <T as BuildApiMut>::Error>

Update details of a particular image.
Source§

impl<T, E> CertificateApiMut for T
where T: CertificateApi<Error = E>,

Source§

type Error = E

Source§

fn get_certificate( &mut self, cert_id: Uuid, ) -> Result<Certificate, <T as CertificateApiMut>::Error>

Retrieve a certificate.
Source§

fn new_certificate( &mut self, body: NewCertificateRequest, ) -> Result<TaskResult, <T as CertificateApiMut>::Error>

Request a new certificate for an Enclave application
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T, E> DatasetApiMut for T
where T: DatasetApi<Error = E>,

Source§

type Error = E

Source§

fn create_dataset( &mut self, body: CreateDatasetRequest, ) -> Result<Dataset, <T as DatasetApiMut>::Error>

Source§

fn delete_dataset( &mut self, dataset_id: Uuid, ) -> Result<(), <T as DatasetApiMut>::Error>

Source§

fn get_all_datasets( &mut self, name: Option<String>, description: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllDatasetsResponse, <T as DatasetApiMut>::Error>

Get all datasets
Source§

fn get_dataset( &mut self, dataset_id: Uuid, ) -> Result<Dataset, <T as DatasetApiMut>::Error>

Source§

fn update_dataset( &mut self, dataset_id: Uuid, body: DatasetUpdateRequest, ) -> Result<Dataset, <T as DatasetApiMut>::Error>

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, E> NodeApiMut for T
where T: NodeApi<Error = E>,

Source§

type Error = E

Source§

fn deactivate_node( &mut self, node_id: Uuid, ) -> Result<(), <T as NodeApiMut>::Error>

Deactivate a particular compute node.
Source§

fn get_all_nodes( &mut self, name: Option<String>, description: Option<String>, sgx_version: Option<String>, all_search: Option<String>, status: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, ) -> Result<GetAllNodesResponse, <T as NodeApiMut>::Error>

Get all compute nodes information.
Source§

fn get_node(&mut self, node_id: Uuid) -> Result<Node, <T as NodeApiMut>::Error>

Get details of a particular compute node.
Source§

fn get_node_certificate( &mut self, node_id: Uuid, ) -> Result<Certificate, <T as NodeApiMut>::Error>

Get an attested compute node’s certificate.
Source§

fn get_node_certificate_details( &mut self, node_id: Uuid, ) -> Result<CertificateDetails, <T as NodeApiMut>::Error>

Get a compute node’s certificate.
Source§

fn get_nodes_unique_labels( &mut self, ) -> Result<LabelsCount, <T as NodeApiMut>::Error>

Get all the unique labels across all the nodes within selected account
Source§

fn provision_node( &mut self, body: NodeProvisionRequest, ) -> Result<TaskResult, <T as NodeApiMut>::Error>

Provision a new compute node.
Source§

fn update_node( &mut self, node_id: Uuid, body: NodeUpdateRequest, ) -> Result<Node, <T as NodeApiMut>::Error>

Update details of a particular compute node.
Source§

fn update_node_status( &mut self, body: NodeStatusRequest, ) -> Result<NodeStatusResponse, <T as NodeApiMut>::Error>

Called periodically by a compute node.
Source§

impl<T, E> RegistryApiMut for T
where T: RegistryApi<Error = E>,

Source§

type Error = E

Source§

fn create_registry( &mut self, registry_request: RegistryRequest, ) -> Result<Registry, <T as RegistryApiMut>::Error>

Add a new registry to an account
Source§

fn delete_registry( &mut self, registry_id: Uuid, ) -> Result<(), <T as RegistryApiMut>::Error>

Delete registry
Source§

fn get_all_registries( &mut self, ) -> Result<Vec<Registry>, <T as RegistryApiMut>::Error>

Get details of all registry in the account
Source§

fn get_registry( &mut self, registry_id: Uuid, ) -> Result<Registry, <T as RegistryApiMut>::Error>

Get details of a particular registry
Source§

fn get_registry_for_app( &mut self, app_id: Uuid, ) -> Result<AppRegistryResponse, <T as RegistryApiMut>::Error>

Get details of the registry that will be used for the particular app images
Source§

fn get_registry_for_image( &mut self, image_name: String, ) -> Result<ImageRegistryResponse, <T as RegistryApiMut>::Error>

Get details of the registry that will be used for the particular image
Source§

fn update_registry( &mut self, registry_id: Uuid, body: UpdateRegistryRequest, ) -> Result<Registry, <T as RegistryApiMut>::Error>

Update a particular registry details
Source§

impl<T, E> SystemApiMut for T
where T: SystemApi<Error = E>,

Source§

type Error = E

Source§

fn get_manager_version( &mut self, ) -> Result<VersionResponse, <T as SystemApiMut>::Error>

Get Manager Version.
Source§

impl<T, E> TaskApiMut for T
where T: TaskApi<Error = E>,

Source§

type Error = E

Source§

fn get_all_tasks( &mut self, task_type: Option<String>, status: Option<String>, requester: Option<String>, approver: Option<String>, all_search: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, base_filters: Option<String>, ) -> Result<GetAllTasksResponse, <T as TaskApiMut>::Error>

Get all the tasks.
Source§

fn get_task(&mut self, task_id: Uuid) -> Result<Task, <T as TaskApiMut>::Error>

Get details of a particular task.
Source§

fn get_task_status( &mut self, task_id: Uuid, ) -> Result<TaskResult, <T as TaskApiMut>::Error>

Get status and result of a particular task.
Source§

fn update_task( &mut self, task_id: Uuid, body: TaskUpdateRequest, ) -> Result<TaskResult, <T as TaskApiMut>::Error>

Update status of approver and task.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, E> ToolsApiMut for T
where T: ToolsApi<Error = E>,

Source§

type Error = E

Source§

fn convert_app( &mut self, body: ConversionRequest, ) -> Result<ConversionResponse, <T as ToolsApiMut>::Error>

Convert an application to run in EnclaveOS.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Typeable for T
where T: Any,

Source§

fn get_type(&self) -> TypeId

Get the TypeId of this object.
Source§

impl<T, E> UsersApiMut for T
where T: UsersApi<Error = E>,

Source§

type Error = E

Source§

fn accept_terms_and_conditions( &mut self, ) -> Result<(), <T as UsersApiMut>::Error>

Current user accepts latest terms and conditions.
Source§

fn change_password( &mut self, body: PasswordChangeRequest, ) -> Result<(), <T as UsersApiMut>::Error>

Change user password.
Source§

fn confirm_email( &mut self, body: ConfirmEmailRequest, ) -> Result<ConfirmEmailResponse, <T as UsersApiMut>::Error>

Confirms user’s email address.
Source§

fn create_user( &mut self, body: SignupRequest, ) -> Result<User, <T as UsersApiMut>::Error>

Create a new user.
Source§

fn delete_user_account( &mut self, user_id: Uuid, ) -> Result<(), <T as UsersApiMut>::Error>

Completely delete a user profile from system
Source§

fn delete_user_from_account( &mut self, user_id: Uuid, ) -> Result<(), <T as UsersApiMut>::Error>

Removed user’s association with an account.
Source§

fn forgot_password( &mut self, body: ForgotPasswordRequest, ) -> Result<(), <T as UsersApiMut>::Error>

Initiate password reset sequence for a user.
Source§

fn get_all_users( &mut self, all_search: Option<String>, limit: Option<i32>, offset: Option<i32>, sort_by: Option<String>, ) -> Result<GetAllUsersResponse, <T as UsersApiMut>::Error>

Get all user’s information.
Source§

fn get_logged_in_user(&mut self) -> Result<User, <T as UsersApiMut>::Error>

Get details of the current logged in user.
Source§

fn get_user(&mut self, user_id: Uuid) -> Result<User, <T as UsersApiMut>::Error>

Get details of a particular user.
Source§

fn invite_user( &mut self, body: InviteUserRequest, ) -> Result<User, <T as UsersApiMut>::Error>

Invite a user.
Source§

fn process_invitations( &mut self, body: ProcessInviteRequest, ) -> Result<(), <T as UsersApiMut>::Error>

Process a user’s pending account invitations.
Source§

fn resend_confirm_email(&mut self) -> Result<(), <T as UsersApiMut>::Error>

Resend email with link to confirm user’s email address.
Source§

fn resend_invitation( &mut self, user_id: Uuid, ) -> Result<(), <T as UsersApiMut>::Error>

Resend invite to the user to join a specific account.
Source§

fn reset_password( &mut self, user_id: Uuid, body: PasswordResetRequest, ) -> Result<(), <T as UsersApiMut>::Error>

Reset a user’s password.
Source§

fn update_user( &mut self, user_id: Uuid, body: UpdateUserRequest, ) -> Result<User, <T as UsersApiMut>::Error>

Update status, name, and the role of a user. User with MANAGER access role can only update another user.
Source§

fn validate_password_reset_token( &mut self, user_id: Uuid, body: ValidateTokenRequest, ) -> Result<ValidateTokenResponse, <T as UsersApiMut>::Error>

Validates password reset token for the user.
Source§

impl<T, E> WorkflowApiMut for T
where T: WorkflowApi<Error = E>,

Source§

type Error = E

Source§

fn create_workflow_graph( &mut self, body: CreateWorkflowGraph, ) -> Result<WorkflowGraph, <T as WorkflowApiMut>::Error>

Source§

fn delete_workflow_graph( &mut self, graph_id: Uuid, ) -> Result<(), <T as WorkflowApiMut>::Error>

Delete a particular draft workflow
Source§

fn get_all_workflow_graphs( &mut self, name: Option<String>, description: Option<String>, all_search: Option<String>, parent_graph_id: Option<String>, sort_by: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllWorkflowGraphsResponse, <T as WorkflowApiMut>::Error>

Source§

fn get_workflow_graph( &mut self, graph_id: Uuid, ) -> Result<WorkflowGraph, <T as WorkflowApiMut>::Error>

Get details of a particular draft workflow
Source§

fn update_workflow_graph( &mut self, graph_id: Uuid, body: UpdateWorkflowGraph, ) -> Result<WorkflowGraph, <T as WorkflowApiMut>::Error>

Source§

impl<T, E> WorkflowFinalApiMut for T
where T: WorkflowFinalApi<Error = E>,

Source§

type Error = E

Source§

fn create_final_workflow_graph( &mut self, body: CreateFinalWorkflowGraph, ) -> Result<FinalWorkflow, <T as WorkflowFinalApiMut>::Error>

Source§

fn delete_final_workflow_graph( &mut self, graph_id: Uuid, version: String, ) -> Result<(), <T as WorkflowFinalApiMut>::Error>

Delete a particular final workflow
Source§

fn get_all_final_workflow_graphs( &mut self, name: Option<String>, description: Option<String>, all_search: Option<String>, sort_by: Option<String>, limit: Option<i32>, offset: Option<i32>, ) -> Result<GetAllFinalWorkflowGraphsResponse, <T as WorkflowFinalApiMut>::Error>

Source§

fn get_final_workflow_graph( &mut self, graph_id: Uuid, version: String, ) -> Result<VersionInFinalWorkflow, <T as WorkflowFinalApiMut>::Error>

Get details of a particular final workflow version
Source§

fn get_full_final_workflow_graph( &mut self, graph_id: Uuid, ) -> Result<FinalWorkflow, <T as WorkflowFinalApiMut>::Error>

Get details of a particular final workflow
Source§

fn update_final_workflow_graph( &mut self, graph_id: Uuid, body: CreateWorkflowVersionRequest, ) -> Result<VersionInFinalWorkflow, <T as WorkflowFinalApiMut>::Error>

Create a new version for a particular final workflow
Source§

impl<T, E> ZoneApiMut for T
where T: ZoneApi<Error = E>,

Source§

type Error = E

Source§

fn get_zone(&mut self, zone_id: Uuid) -> Result<Zone, <T as ZoneApiMut>::Error>

Get zone details.
Source§

fn get_zone_join_token( &mut self, zone_id: Uuid, ) -> Result<ZoneJoinToken, <T as ZoneApiMut>::Error>

Get the authentication token.
Source§

fn get_zones(&mut self) -> Result<Vec<Zone>, <T as ZoneApiMut>::Error>

Get all zones.