Skip to content

h7kanna/kubevela-client-rs

Repository files navigation

Rust API client for kubevela

Kubevela api doc

For more information, please visit https://kubevela.io/

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.9.7
  • Package version: 1.9.7
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named kubevela and add the following to Cargo.toml under [dependencies]:

kubevela = { path = "./kubevela" }

Documentation for API Endpoints

All URIs are relative to http://localhost:8000

Class Method HTTP request Description
AddonApi detail_addon GET /api/v1/addons/{addonName} show details of an addon
AddonApi disable_addon POST /api/v1/addons/{addonName}/disable disable an addon
AddonApi enable_addon POST /api/v1/addons/{addonName}/enable enable an addon
AddonApi list GET /api/v1/enabled_addon list all enabled addons
AddonApi list_addons GET /api/v1/addons list all addons
AddonApi status_addon GET /api/v1/addons/{addonName}/status show status of an addon
AddonApi update_addon PUT /api/v1/addons/{addonName}/update update an addon
AddonRegistryApi create_addon_registry POST /api/v1/addon_registries create an addon registry
AddonRegistryApi delete_addon_registry DELETE /api/v1/addon_registries/{addonRegName} delete an addon registry
AddonRegistryApi list_addon_registry GET /api/v1/addon_registries list all addon registry
AddonRegistryApi update_addon_registry PUT /api/v1/addon_registries/{addonRegName} update an addon registry
ApplicationApi add_application_trait POST /api/v1/applications/{appName}/components/{compName}/traits add trait for a component
ApplicationApi application_statistics GET /api/v1/applications/{appName}/statistics detail one application
ApplicationApi compare_app POST /api/v1/applications/{appName}/compare compare application
ApplicationApi create_application POST /api/v1/applications create one application
ApplicationApi create_application_env POST /api/v1/applications/{appName}/envs creating an application environment
ApplicationApi create_application_policy POST /api/v1/applications/{appName}/policies create policy for application
ApplicationApi create_application_trigger POST /api/v1/applications/{appName}/triggers Create an application trigger
ApplicationApi create_component POST /api/v1/applications/{appName}/components create component for application
ApplicationApi create_or_update_application_workflow POST /api/v1/applications/{appName}/workflows create application workflow
ApplicationApi delete_application DELETE /api/v1/applications/{appName} delete one application
ApplicationApi delete_application_env DELETE /api/v1/applications/{appName}/envs/{envName} delete an application environment
ApplicationApi delete_application_policy DELETE /api/v1/applications/{appName}/policies/{policyName} detail policy for application
ApplicationApi delete_application_trait DELETE /api/v1/applications/{appName}/components/{compName}/traits/{traitType} delete trait from a component
ApplicationApi delete_application_trigger DELETE /api/v1/applications/{appName}/triggers/{token} Delete an application trigger
ApplicationApi delete_component DELETE /api/v1/applications/{appName}/components/{compName} delete a component
ApplicationApi delete_workflow DELETE /api/v1/applications/{appName}/workflows/{workflowName} delete workflow
ApplicationApi deploy_application POST /api/v1/applications/{appName}/deploy deploy or upgrade the application
ApplicationApi detail_application GET /api/v1/applications/{appName} detail one application
ApplicationApi detail_application_policy GET /api/v1/applications/{appName}/policies/{policyName} detail policy for application
ApplicationApi detail_application_revision GET /api/v1/applications/{appName}/revisions/{revision} detail revision for application
ApplicationApi detail_component GET /api/v1/applications/{appName}/components/{compName} detail component for application
ApplicationApi detail_workflow GET /api/v1/applications/{appName}/workflows/{workflowName} detail application workflow
ApplicationApi detail_workflow_record GET /api/v1/applications/{appName}/workflows/{workflowName}/records/{record} query application workflow execution record detail
ApplicationApi dry_run_app_or_revision POST /api/v1/applications/{appName}/dry-run dry-run application to latest revision
ApplicationApi get_application_status GET /api/v1/applications/{appName}/envs/{envName}/status get application status
ApplicationApi get_application_status_from_all_envs GET /api/v1/applications/{appName}/status get application status from all envs
ApplicationApi get_workflow_record_inputs GET /api/v1/applications/{appName}/workflows/{workflowName}/records/{record}/inputs get the workflow step inputs
ApplicationApi get_workflow_record_logs GET /api/v1/applications/{appName}/workflows/{workflowName}/records/{record}/logs get the workflow step logs
ApplicationApi get_workflow_record_outputs GET /api/v1/applications/{appName}/workflows/{workflowName}/records/{record}/outputs get the workflow step inputs
ApplicationApi list_application_components GET /api/v1/applications/{appName}/components gets the list of application components
ApplicationApi list_application_envs GET /api/v1/applications/{appName}/envs list policy for application
ApplicationApi list_application_policies GET /api/v1/applications/{appName}/policies list policy for application
ApplicationApi list_application_records GET /api/v1/applications/{appName}/records list application records
ApplicationApi list_application_revisions GET /api/v1/applications/{appName}/revisions list revisions for application
ApplicationApi list_application_triggers GET /api/v1/applications/{appName}/triggers List the application triggers
ApplicationApi list_application_workflows GET /api/v1/applications/{appName}/workflows list application workflow
ApplicationApi list_applications GET /api/v1/applications list all applications
ApplicationApi list_workflow_records GET /api/v1/applications/{appName}/workflows/{workflowName}/records query application workflow execution record
ApplicationApi list_workflow_records_from_env GET /api/v1/applications/{appName}/envs/{envName}/records query application workflow execution record of one environment
ApplicationApi publish_application_template POST /api/v1/applications/{appName}/template create one application template
ApplicationApi recycle_application_env POST /api/v1/applications/{appName}/envs/{envName}/recycle recycle application env
ApplicationApi reset_app_to_latest_revision POST /api/v1/applications/{appName}/reset reset application to latest revision
ApplicationApi resume_workflow_record GET /api/v1/applications/{appName}/workflows/{workflowName}/records/{record}/resume resume suspend workflow record
ApplicationApi rollback_application_with_revision POST /api/v1/applications/{appName}/revisions/{revision}/rollback detail revision for application
ApplicationApi rollback_workflow_record GET /api/v1/applications/{appName}/workflows/{workflowName}/records/{record}/rollback rollback suspend application record
ApplicationApi terminate_workflow_record GET /api/v1/applications/{appName}/workflows/{workflowName}/records/{record}/terminate terminate suspend workflow record
ApplicationApi update_application PUT /api/v1/applications/{appName} update one application
ApplicationApi update_application_env PUT /api/v1/applications/{appName}/envs/{envName} set application differences in the specified environment
ApplicationApi update_application_policy PUT /api/v1/applications/{appName}/policies/{policyName} update policy for application
ApplicationApi update_application_trait PUT /api/v1/applications/{appName}/components/{compName}/traits/{traitType} update trait from a component
ApplicationApi update_application_trigger PUT /api/v1/applications/{appName}/triggers/{token} Update an application trigger
ApplicationApi update_component PUT /api/v1/applications/{appName}/components/{compName} update component config
ApplicationApi update_workflow PUT /api/v1/applications/{appName}/workflows/{workflowName} update application workflow config
AuthenticationApi admin_configured GET /api/v1/auth/admin_configured check admin is configured
AuthenticationApi configure_admin PUT /api/v1/auth/init_admin initialize admin
AuthenticationApi get_dex_config GET /api/v1/auth/dex_config get Dex config
AuthenticationApi get_login_type GET /api/v1/auth/login_type get login type
AuthenticationApi get_login_user_info GET /api/v1/auth/user_info get login user detail info
AuthenticationApi login POST /api/v1/auth/login handle login request
AuthenticationApi refresh_token GET /api/v1/auth/refresh_token refresh token
CloudshellApi destroy_cloud_shell DELETE /api/v1/cloudshell destroy the user's cloud shell environment
CloudshellApi prepare_cloud_shell POST /api/v1/cloudshell prepare the user's cloud shell environment
CloudshellApi proxy GET /view/cloudshell prepare the user's cloud shell environment
CloudshellApi proxy_path GET /view/cloudshell/{subpath} prepare the user's cloud shell environment
ClusterApi connect_cloud_cluster POST /api/v1/clusters/cloud_clusters/{provider}/connect create cluster from cloud cluster
ClusterApi create_cloud_cluster POST /api/v1/clusters/cloud_clusters/{provider}/create create cloud cluster
ClusterApi create_kube_cluster POST /api/v1/clusters create cluster
ClusterApi create_namespace POST /api/v1/clusters/{clusterName}/namespaces create namespace in cluster
ClusterApi delete_cloud_cluster_creation DELETE /api/v1/clusters/cloud_clusters/{provider}/creation/{cloudClusterName} delete cloud cluster creation
ClusterApi delete_kube_cluster DELETE /api/v1/clusters/{clusterName} delete cluster
ClusterApi get_cloud_cluster_creation_status GET /api/v1/clusters/cloud_clusters/{provider}/creation/{cloudClusterName} check cloud cluster create status
ClusterApi get_kube_cluster GET /api/v1/clusters/{clusterName} detail cluster info
ClusterApi list_cloud_cluster_creation GET /api/v1/clusters/cloud_clusters/{provider}/creation list cloud cluster creation
ClusterApi list_cloud_clusters POST /api/v1/clusters/cloud_clusters/{provider} list cloud clusters
ClusterApi list_kube_clusters GET /api/v1/clusters list all clusters
ClusterApi modify_kube_cluster PUT /api/v1/clusters/{clusterName} modify cluster
ConfigApi create_config POST /api/v1/configs create or update a config
ConfigApi delete_config DELETE /api/v1/configs/{configName} delete a config
ConfigApi get_config GET /api/v1/configs/{configName} detail a config
ConfigApi get_config_template GET /api/v1/config_templates/{templateName} Detail a template
ConfigApi get_configs GET /api/v1/configs list all configs that belong to the system scope
ConfigApi list_config_templates GET /api/v1/config_templates List all config templates from the system namespace
ConfigApi update_config PUT /api/v1/configs/{configName} update a config
DefinitionApi detail_definition GET /api/v1/definitions/{definitionName} Detail a definition
DefinitionApi list_definitions GET /api/v1/definitions list all definitions
DefinitionApi update_definition_status PUT /api/v1/definitions/{definitionName}/status Update the status for a definition
DefinitionApi update_ui_schema PUT /api/v1/definitions/{definitionName}/uischema Update the UI schema for a definition
EnvApi envcreate POST /api/v1/envs create an env
EnvApi envdelete DELETE /api/v1/envs/{envName} delete one env
EnvApi envlist GET /api/v1/envs list all envs
EnvApi envupdate PUT /api/v1/envs/{envName} update an env
HelmApi chart_values GET /api/v1/repository/chart/values get chart value
HelmApi get_chart_values GET /api/v1/repository/charts/{chart}/versions/{version}/values get chart value
HelmApi get_image_info GET /api/v1/repository/image/info get the oci repos
HelmApi get_image_repos GET /api/v1/repository/image/repos get the oci repos
HelmApi list_chart_versions GET /api/v1/repository/charts/{chart}/versions list versions
HelmApi list_charts GET /api/v1/repository/charts list charts
HelmApi list_repo GET /api/v1/repository/chart_repos list chart repo
HelmApi list_versions_from_query GET /api/v1/repository/chart/versions list versions
OamApplicationApi create_or_update_application POST /v1/namespaces/{namespace}/applications/{appname} create or update oam application in the specified namespace
OamApplicationApi delete_oam_application DELETE /v1/namespaces/{namespace}/applications/{appname} delete oam application in the specified namespace
OamApplicationApi get_application GET /v1/namespaces/{namespace}/applications/{appname} get the specified oam application in the specified namespace
PayloadTypesApi list_payload_types GET /api/v1/payload_types list application trigger payload types
PipelineApi create_context_value POST /api/v1/projects/{projectName}/pipelines/{pipelineName}/contexts create pipeline context values
PipelineApi create_pipeline POST /api/v1/projects/{projectName}/pipelines create pipeline
PipelineApi delete_context_value DELETE /api/v1/projects/{projectName}/pipelines/{pipelineName}/contexts/{contextName} delete pipeline context value
PipelineApi delete_pipeline DELETE /api/v1/projects/{projectName}/pipelines/{pipelineName} delete pipeline
PipelineApi delete_pipeline_run DELETE /api/v1/projects/{projectName}/pipelines/{pipelineName}/runs/{runName} delete pipeline run
PipelineApi get_pipeline GET /api/v1/projects/{projectName}/pipelines/{pipelineName} get pipeline
PipelineApi get_pipeline_run GET /api/v1/projects/{projectName}/pipelines/{pipelineName}/runs/{runName} get pipeline run
PipelineApi get_pipeline_run_input GET /api/v1/projects/{projectName}/pipelines/{pipelineName}/runs/{runName}/input get pipeline run input
PipelineApi get_pipeline_run_log GET /api/v1/projects/{projectName}/pipelines/{pipelineName}/runs/{runName}/log get pipeline run log
PipelineApi get_pipeline_run_output GET /api/v1/projects/{projectName}/pipelines/{pipelineName}/runs/{runName}/output get pipeline run output
PipelineApi get_pipeline_run_status GET /api/v1/projects/{projectName}/pipelines/{pipelineName}/runs/{runName}/status get pipeline run status
PipelineApi list_context_values GET /api/v1/projects/{projectName}/pipelines/{pipelineName}/contexts list pipeline context values
PipelineApi list_pipeline_runs GET /api/v1/projects/{projectName}/pipelines/{pipelineName}/runs list pipeline runs
PipelineApi list_pipelines GET /api/v1/pipelines list pipelines
PipelineApi resume_pipeline_run POST /api/v1/projects/{projectName}/pipelines/{pipelineName}/runs/{runName}/resume resume suspend pipeline run
PipelineApi run_pipeline POST /api/v1/projects/{projectName}/pipelines/{pipelineName}/run run pipeline
PipelineApi stop_pipeline POST /api/v1/projects/{projectName}/pipelines/{pipelineName}/runs/{runName}/stop stop pipeline run
PipelineApi terminate_pipeline_run POST /api/v1/projects/{projectName}/pipelines/{pipelineName}/runs/{runName}/terminate resume suspend pipeline run
PipelineApi update_context_value PUT /api/v1/projects/{projectName}/pipelines/{pipelineName}/contexts/{contextName} update pipeline context value
PipelineApi update_pipeline PUT /api/v1/projects/{projectName}/pipelines/{pipelineName} update pipeline
PluginApi detail_plugin GET /api/v1/manage/plugins/{pluginId} Detail an installed plugin
PluginApi detail_plugin_0 GET /api/v1/plugins/{pluginId} Detail an installed plugin
PluginApi disable_plugin POST /api/v1/manage/plugins/{pluginId}/disable Disable an installed plugin
PluginApi enable_plugin POST /api/v1/manage/plugins/{pluginId}/enable Enable an installed plugin
PluginApi install_plugin POST /api/v1/manage/plugins/{pluginId}/install Install one specific plugin
PluginApi list_enabled_plugins GET /api/v1/plugins List the enabled plugins
PluginApi list_installed_plugins GET /api/v1/manage/plugins List the installed plugins
PluginApi plugin_setting POST /api/v1/manage/plugins/{pluginId}/setting Set an installed plugin
PluginApi uninstall_plugin POST /api/v1/manage/plugins/{pluginId}/uninstall Uninstall one specific plugin
ProjectApi apply_distribution POST /api/v1/projects/{projectName}/distributions apply the distribution job of the config
ProjectApi create_project POST /api/v1/projects create a project
ProjectApi create_project_config POST /api/v1/projects/{projectName}/configs create a config in a project
ProjectApi create_project_permission POST /api/v1/projects/{projectName}/permissions create a project level perm policy
ProjectApi create_project_role POST /api/v1/projects/{projectName}/roles create project level role
ProjectApi create_project_user POST /api/v1/projects/{projectName}/users add a user to a project
ProjectApi delete_distribution DELETE /api/v1/projects/{projectName}/distributions/{distributionName} delete a distribution job of the config
ProjectApi delete_project DELETE /api/v1/projects/{projectName} delete a project
ProjectApi delete_project_config DELETE /api/v1/projects/{projectName}/configs/{configName} delete a config from a project
ProjectApi delete_project_permission DELETE /api/v1/projects/{projectName}/permissions/{permissionName} delete a project level perm policy
ProjectApi delete_project_role DELETE /api/v1/projects/{projectName}/roles/{roleName} delete project level role
ProjectApi delete_project_user DELETE /api/v1/projects/{projectName}/users/{userName} delete a user from a project
ProjectApi detail_config GET /api/v1/projects/{projectName}/configs/{configName} detail a config in a project
ProjectApi detail_project GET /api/v1/projects/{projectName} detail a project
ProjectApi get_config_template_by_template_name GET /api/v1/projects/{projectName}/config_templates/{templateName} Detail a template
ProjectApi get_config_templates GET /api/v1/projects/{projectName}/config_templates get the templates which are in a project
ProjectApi get_project_configs GET /api/v1/projects/{projectName}/configs get configs which are in a project
ProjectApi get_providers GET /api/v1/projects/{projectName}/providers get providers which are in a project
ProjectApi list_distributions GET /api/v1/projects/{projectName}/distributions list the distribution jobs of the config
ProjectApi list_project_permissions GET /api/v1/projects/{projectName}/permissions list all project level perm policies
ProjectApi list_project_roles GET /api/v1/projects/{projectName}/roles list all project level roles
ProjectApi list_project_targets GET /api/v1/projects/{projectName}/targets get targets list belong to a project
ProjectApi list_project_user GET /api/v1/projects/{projectName}/users list all users belong to a project
ProjectApi list_projects GET /api/v1/projects list all projects
ProjectApi update_project PUT /api/v1/projects/{projectName} update a project
ProjectApi update_project_config PUT /api/v1/projects/{projectName}/configs/{configName} update a config in a project
ProjectApi update_project_role PUT /api/v1/projects/{projectName}/roles/{roleName} update project level role
ProjectApi update_project_user PUT /api/v1/projects/{projectName}/users/{userName} update a user from a project
RbacApi create_platform_permission POST /api/v1/permissions create the platform perm policy
RbacApi create_platform_role POST /api/v1/roles create platform level role
RbacApi delete_platform_permission DELETE /api/v1/permissions/{permissionName} delete a platform perm policy
RbacApi delete_platform_role DELETE /api/v1/roles/{roleName} update platform level role
RbacApi list_platform_permissions GET /api/v1/permissions list all platform level perm policies
RbacApi list_platform_roles GET /api/v1/roles list all platform level roles
RbacApi update_platform_role PUT /api/v1/roles/{roleName} update platform level role
RepositoryApi chart_values GET /api/v1/repository/chart/values get chart value
RepositoryApi get_chart_values GET /api/v1/repository/charts/{chart}/versions/{version}/values get chart value
RepositoryApi get_image_info GET /api/v1/repository/image/info get the oci repos
RepositoryApi get_image_repos GET /api/v1/repository/image/repos get the oci repos
RepositoryApi list_chart_versions GET /api/v1/repository/charts/{chart}/versions list versions
RepositoryApi list_charts GET /api/v1/repository/charts list charts
RepositoryApi list_repo GET /api/v1/repository/chart_repos list chart repo
RepositoryApi list_versions_from_query GET /api/v1/repository/chart/versions list versions
SystemInfoApi get_system_info GET /api/v1/system_info
SystemInfoApi update_system_info PUT /api/v1/system_info
TargetApi create_target POST /api/v1/targets create Target
TargetApi delete_target DELETE /api/v1/targets/{targetName} delete Target
TargetApi detail_target GET /api/v1/targets/{targetName} detail Target
TargetApi list_targets GET /api/v1/targets list Target
TargetApi update_target PUT /api/v1/targets/{targetName} update application Target config
UsersApi create_user POST /api/v1/users create a user
UsersApi delete_user DELETE /api/v1/users/{username} delete a user
UsersApi detail_user GET /api/v1/users/{username} get user detail
UsersApi disable_user GET /api/v1/users/{username}/disable disable a user
UsersApi enable_user GET /api/v1/users/{username}/enable enable a user
UsersApi list_user GET /api/v1/users list users
UsersApi update_user PUT /api/v1/users/{username} update a user's alias or password
VelaQlApi query_view GET /api/v1/query use velaQL to query resource status
WebhookApi handle_application_webhook POST /api/v1/webhook/{token} handle application webhook request

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

[email protected]

Releases

No releases published

Packages

No packages published

Languages