Skip to content

entrywan/api-rust

Repository files navigation

Rust API client for openapi

Manage Entrywan resources programmatically using the API.

All API requests are authenticated using IAM tokens. Tokens can be generated and retrieved from the portal. The portal itself is an API client that uses an unrestricted token to access resources for an account.

This documentation is generated using an OpenAPI 3.1.0 specification. More information about OpenAPI can be found on its site. The current version of Entrywan's API spec is also available for inspection.

On the left of this page are links to the Endpoints grouped by tag and Schemas the API exposes. Endpoints are URLs that can be accessed with any HTTP client or device. Schemas are machine-readable data models that represent resources.

To learn more, have a look at the documentation. If you have any questions, contact support or your account representative.

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: v1beta
  • Package version: v1beta
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

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

openapi = { path = "./openapi" }

Documentation for API Endpoints

All URIs are relative to https://api.entrywan.com/v1beta

Class Method HTTP request Description
ClusterApi cluster_get GET /cluster List kubernetes clusters
ClusterApi cluster_id_delete DELETE /cluster/{id} Delete cluster
ClusterApi cluster_id_get GET /cluster/{id} Get a kubernetes cluster
ClusterApi cluster_id_kubeconfig_get GET /cluster/{id}/kubeconfig Fetch the kubeconfig file for a cluster
ClusterApi cluster_id_rotate_patch PATCH /cluster/{id}/rotate Rotate credentials
ClusterApi cluster_id_scale_put PUT /cluster/{id}/scale Scale a cluster up or down
ClusterApi cluster_post POST /cluster Create a kubernetes cluster
FirewallApi firewall_get GET /firewall List firewalls
FirewallApi firewall_id_delete DELETE /firewall/{id} Delete a firewall
FirewallApi firewall_post POST /firewall Add a firewall
FirewallApi instance_id_firewall_put PUT /instance/{id}/firewall Apply firewall to instance
InstanceApi instance_get GET /instance List instances
InstanceApi instance_id_delete DELETE /instance/{id} Delete an instance
InstanceApi instance_id_get GET /instance/{id} Get instance by ID
InstanceApi instance_id_reboot_patch PATCH /instance/{id}/reboot Reboot an instance
InstanceApi instance_id_snapshot_get GET /instance/{id}/snapshot List instance snapshots
InstanceApi instance_id_snapshot_name_delete DELETE /instance/{id}/snapshot/{name} Delete a snapshot
InstanceApi instance_id_snapshot_name_put PUT /instance/{id}/snapshot/{name} Revert to snapshot
InstanceApi instance_id_snapshot_put PUT /instance/{id}/snapshot Snapshot an instance
InstanceApi instance_id_start_patch PATCH /instance/{id}/start Start an instance
InstanceApi instance_id_stop_patch PATCH /instance/{id}/stop Stop an instance
InstanceApi instance_post POST /instance Add a new instance
LoadBalancerApi loadbalancer_get GET /loadbalancer List load balancers
LoadBalancerApi loadbalancer_id_delete DELETE /loadbalancer/{id} Delete load balancer
LoadBalancerApi loadbalancer_id_put PUT /loadbalancer/{id} Update load balancer targets
LoadBalancerApi loadbalancer_post POST /loadbalancer Create a load balancer
SshkeyApi sshkey_get GET /sshkey List SSH keys
SshkeyApi sshkey_id_delete DELETE /sshkey/{id} Delete SSH key
SshkeyApi sshkey_post POST /sshkey Create SSH key
TagApi tag_id_get GET /tag/{id} Get tags for a resource ID
TagApi tag_id_patch PATCH /tag/{id} Removes tags for a resource ID
TagApi tag_id_put PUT /tag/{id} Set tags for a resource ID
VpcApi vpc_get GET /vpc List VPC
VpcApi vpc_id_delete DELETE /vpc/{id} Delete VPC
VpcApi vpc_id_patch PATCH /vpc/{id} Remove member from VPC
VpcApi vpc_id_post POST /vpc/{id} Create a VPC
VpcApi vpc_id_put PUT /vpc/{id} Add member to VPC

Documentation For Models

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

cargo doc --open

Author

Releases

No releases published

Packages

No packages published