Struct em_client::ApiCombiner
source[−]pub struct ApiCombiner<'a, T>(_);
Trait Implementations
impl<'a, T, E> Api for ApiCombiner<'a, T> where
T: AccountsApi<Error = E> + AppApi<Error = E> + ApplicationConfigApi<Error = E> + ApprovalRequestsApi<Error = E> + AuthApi<Error = E> + BuildApi<Error = E> + CertificateApi<Error = E> + DatasetApi<Error = E> + NodeApi<Error = E> + RegistryApi<Error = E> + SystemApi<Error = E> + TaskApi<Error = E> + ToolsApi<Error = E> + UsersApi<Error = E> + WorkflowApi<Error = E> + WorkflowFinalApi<Error = E> + ZoneApi<Error = E> + 'a,
impl<'a, T, E> Api for ApiCombiner<'a, T> where
T: AccountsApi<Error = E> + AppApi<Error = E> + ApplicationConfigApi<Error = E> + ApprovalRequestsApi<Error = E> + AuthApi<Error = E> + BuildApi<Error = E> + CertificateApi<Error = E> + DatasetApi<Error = E> + NodeApi<Error = E> + RegistryApi<Error = E> + SystemApi<Error = E> + TaskApi<Error = E> + ToolsApi<Error = E> + UsersApi<Error = E> + WorkflowApi<Error = E> + WorkflowFinalApi<Error = E> + ZoneApi<Error = E> + 'a,
Implements with functions of the form fn api_call(self, ...) { CategoryApi::api_call(self.0, ...) }
type Error = E
Create a new account.
Get a specific account.
Get all accounts.
Select a user’s account to work on.
fn update_account(
&self,
account_id: Uuid,
body: AccountUpdateRequest
) -> Result<Account, Self::Error>
fn update_account(
&self,
account_id: Uuid,
body: AccountUpdateRequest
) -> Result<Account, Self::Error>
Update an account.
Add an application.
Get all apps information.
fn get_app_certificate(
&self,
node_id: Uuid,
app_id: Uuid
) -> Result<Certificate, Self::Error>
fn get_app_certificate(
&self,
node_id: Uuid,
app_id: Uuid
) -> Result<Certificate, Self::Error>
Get an attested app’s certificate.
fn get_app_node_certificate_details(
&self,
node_id: Uuid,
app_id: Uuid
) -> Result<CertificateDetails, Self::Error>
fn get_app_node_certificate_details(
&self,
node_id: Uuid,
app_id: Uuid
) -> Result<CertificateDetails, Self::Error>
Get an app’s certificate for a compute node.
Get all the unique labels across all the applications within selected account
Update details of a particular app.
fn create_application_config(
&self,
body: ApplicationConfig
) -> Result<ApplicationConfigResponse, Self::Error>
fn create_application_config(
&self,
body: ApplicationConfig
) -> Result<ApplicationConfigResponse, Self::Error>
Add an app config.
Delete a particular app config
Get all app configs
fn get_application_config(
&self,
config_id: String
) -> Result<ApplicationConfigResponse, Self::Error>
fn get_application_config(
&self,
config_id: String
) -> Result<ApplicationConfigResponse, Self::Error>
Get details of a particular app config.
Get app config
fn get_specific_runtime_application_config(
&self,
config_id: String
) -> Result<RuntimeAppConfig, Self::Error>
fn get_specific_runtime_application_config(
&self,
config_id: String
) -> Result<RuntimeAppConfig, Self::Error>
Get details of a particular runtime app config.
fn update_application_config(
&self,
config_id: String,
body: UpdateApplicationConfigRequest
) -> Result<ApplicationConfigResponse, Self::Error>
fn update_application_config(
&self,
config_id: String,
body: UpdateApplicationConfigRequest
) -> Result<ApplicationConfigResponse, Self::Error>
Update details of a particular app config.
fn approve_approval_request(
&self,
request_id: Uuid,
body: Option<ApproveRequest>
) -> Result<ApprovalRequest, Self::Error>
fn approve_approval_request(
&self,
request_id: Uuid,
body: Option<ApproveRequest>
) -> Result<ApprovalRequest, Self::Error>
Approve a request.
fn create_approval_request(
&self,
body: ApprovalRequestRequest
) -> Result<ApprovalRequest, Self::Error>
fn create_approval_request(
&self,
body: ApprovalRequestRequest
) -> Result<ApprovalRequest, Self::Error>
Create approval request.
Delete an approval request.
fn deny_approval_request(
&self,
request_id: Uuid,
body: Option<DenyRequest>
) -> Result<ApprovalRequest, Self::Error>
fn deny_approval_request(
&self,
request_id: Uuid,
body: Option<DenyRequest>
) -> Result<ApprovalRequest, Self::Error>
Deny a request.
Get all approval requests
Get an approval request.
fn get_approval_request_result(
&self,
request_id: Uuid
) -> Result<ApprovableResult, Self::Error>
fn get_approval_request_result(
&self,
request_id: Uuid
) -> Result<ApprovableResult, Self::Error>
Get the result for an approved or failed request.
User authentication
Convert a docker image and create a new image.
Create a new image.
Get all images information.
Get details of a particular image.
Get all deployments of an image.
fn update_build(
&self,
build_id: Uuid,
body: BuildUpdateRequest
) -> Result<Build, Self::Error>
fn update_build(
&self,
build_id: Uuid,
body: BuildUpdateRequest
) -> Result<Build, Self::Error>
Update details of a particular image.
Retrieve a certificate.
Request a new certificate for an Enclave application
Get all datasets
fn update_dataset(
&self,
dataset_id: Uuid,
body: DatasetUpdateRequest
) -> Result<Dataset, Self::Error>
Deactivate a particular compute node.
Get all compute nodes information.
Get details of a particular compute node.
Get an attested compute node’s certificate.
fn get_node_certificate_details(
&self,
node_id: Uuid
) -> Result<CertificateDetails, Self::Error>
fn get_node_certificate_details(
&self,
node_id: Uuid
) -> Result<CertificateDetails, Self::Error>
Get a compute node’s certificate.
Get all the unique labels across all the nodes within selected account
Provision a new compute node.
Update details of a particular compute node.
fn update_node_status(
&self,
body: NodeStatusRequest
) -> Result<NodeStatusResponse, Self::Error>
fn update_node_status(
&self,
body: NodeStatusRequest
) -> Result<NodeStatusResponse, Self::Error>
Called periodically by a compute node.
fn create_registry(
&self,
registry_request: RegistryRequest
) -> Result<Registry, Self::Error>
fn create_registry(
&self,
registry_request: RegistryRequest
) -> Result<Registry, Self::Error>
Add a new registry to an account
Get details of all registry in the account
Get details of a particular registry
Get details of the registry that will be used for the particular app images
fn get_registry_for_image(
&self,
image_name: String
) -> Result<ImageRegistryResponse, Self::Error>
fn get_registry_for_image(
&self,
image_name: String
) -> Result<ImageRegistryResponse, Self::Error>
Get details of the registry that will be used for the particular image
fn update_registry(
&self,
registry_id: Uuid,
body: UpdateRegistryRequest
) -> Result<Registry, Self::Error>
fn update_registry(
&self,
registry_id: Uuid,
body: UpdateRegistryRequest
) -> Result<Registry, Self::Error>
Update a particular registry details
Get Manager Version.
Get all the tasks.
Get details of a particular task.
Get status and result of a particular task.
fn update_task(
&self,
task_id: Uuid,
body: TaskUpdateRequest
) -> Result<TaskResult, Self::Error>
fn update_task(
&self,
task_id: Uuid,
body: TaskUpdateRequest
) -> Result<TaskResult, Self::Error>
Update status of approver and task.
Convert an application to run in EnclaveOS.
Current user accepts latest terms and conditions.
Change user password.
fn confirm_email(
&self,
body: ConfirmEmailRequest
) -> Result<ConfirmEmailResponse, Self::Error>
fn confirm_email(
&self,
body: ConfirmEmailRequest
) -> Result<ConfirmEmailResponse, Self::Error>
Confirms user’s email address.
Create a new user.
Completely delete a user profile from system
Removed user’s association with an account.
Initiate password reset sequence for a user.
Get all user’s information.
Get details of the current logged in user.
Get details of a particular user.
Invite a user.
Process a user’s pending account invitations.
Resend email with link to confirm user’s email address.
Resend invite to the user to join a specific account.
fn reset_password(
&self,
user_id: Uuid,
body: PasswordResetRequest
) -> Result<(), Self::Error>
fn reset_password(
&self,
user_id: Uuid,
body: PasswordResetRequest
) -> Result<(), Self::Error>
Reset a user’s password.
Update status, name, and the role of a user. User with MANAGER access role can only update another user.
fn validate_password_reset_token(
&self,
user_id: Uuid,
body: ValidateTokenRequest
) -> Result<ValidateTokenResponse, Self::Error>
fn validate_password_reset_token(
&self,
user_id: Uuid,
body: ValidateTokenRequest
) -> Result<ValidateTokenResponse, Self::Error>
Validates password reset token for the user.
fn create_workflow_graph(
&self,
body: CreateWorkflowGraph
) -> Result<WorkflowGraph, Self::Error>
Delete a particular draft workflow
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, Self::Error>
Get details of a particular draft workflow
fn update_workflow_graph(
&self,
graph_id: Uuid,
body: UpdateWorkflowGraph
) -> Result<WorkflowGraph, Self::Error>
fn create_final_workflow_graph(
&self,
body: CreateFinalWorkflowGraph
) -> Result<FinalWorkflow, Self::Error>
Delete a particular final workflow
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, Self::Error>
fn get_final_workflow_graph(
&self,
graph_id: Uuid,
version: String
) -> Result<VersionInFinalWorkflow, Self::Error>
fn get_final_workflow_graph(
&self,
graph_id: Uuid,
version: String
) -> Result<VersionInFinalWorkflow, Self::Error>
Get details of a particular final workflow version
fn get_full_final_workflow_graph(
&self,
graph_id: Uuid
) -> Result<FinalWorkflow, Self::Error>
fn get_full_final_workflow_graph(
&self,
graph_id: Uuid
) -> Result<FinalWorkflow, Self::Error>
Get details of a particular final workflow
fn update_final_workflow_graph(
&self,
graph_id: Uuid,
body: CreateWorkflowVersionRequest
) -> Result<VersionInFinalWorkflow, Self::Error>
fn update_final_workflow_graph(
&self,
graph_id: Uuid,
body: CreateWorkflowVersionRequest
) -> Result<VersionInFinalWorkflow, Self::Error>
Create a new version for a particular final workflow
Get the authentication token.