scubaclient from zenko-cloudserver dependencies
 
 
Go to file
Vitaliy Filippov b0f4249fd8 Use swc to transpile during installation 2024-08-04 00:01:20 +03:00
.github/workflows impr(SCUBA-18): Add CI workflows 2023-04-06 15:54:47 -07:00
bin impr(SCUBA-18): Add script to generate client 2023-04-06 15:54:47 -07:00
src SCUBA-103: add the measurement date in the healthcheck response 2024-04-30 14:40:02 +02:00
.eslintrc impr(SCUBA-18): Add project configuration 2023-04-06 15:54:47 -07:00
.gitignore Use swc to transpile during installation 2024-08-04 00:01:20 +03:00
.prettierignore impr(SCUBA-18): Add project configuration 2023-04-06 15:54:47 -07:00
.prettierrc.yaml impr(SCUBA-18): Add project configuration 2023-04-06 15:54:47 -07:00
.swcrc Use swc to transpile during installation 2024-08-04 00:01:20 +03:00
LICENSE Initial commit 2023-03-29 09:18:35 -07:00
README.md Add a README.md file 2024-04-04 09:49:02 +02:00
index.ts impr(SCUBA-18): Add custom boilerplate 2023-04-06 15:54:47 -07:00
openapitools.json impr(SCUBA-18): Add project configuration 2023-04-06 15:54:47 -07:00
package.json Use swc to transpile during installation 2024-08-04 00:01:20 +03:00
tsconfig.json impr(SCUBA-18): Add project configuration 2023-04-06 15:54:47 -07:00

README.md

Scuba Client Library

This repository provides a client library for the Scuba service. The repository also provides a CLI binary to interact with the Scuba Service.

The supported operations are:

  • Get the utilization metrics at a given time
  • Get the latest utilization metrics
  • Check the health of the Scuba service

Contributing

In order to contribute, please follow the Contributing Guidelines.

Prerequisite

  • Recommended Node version: >16.x.
  • Yarn must be installed to build the project.
  • An Open API yaml file defining the routes to use.

Node.js can be installed from nodejs.org and Yarn can be installed from yarnpkg.com.

Usage

To generate the client, run the following command:

./bin/generate-client.sh

Authentication

ScubaClient supports AWS Signature Version 4 authentication. To use this authentication method, you must have a set of credentials with permission to perform the desired operations.

Command-Line Interface

Command-line support is not yet available.