Skip to main content

Nuvolos

Project description

Nuvolos Client API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: prod
  • Package version: 1.0.2
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import nuvolos_client_api

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import nuvolos_client_api

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import time
import nuvolos_client_api
from nuvolos_client_api.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = nuvolos_client_api.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'


# Enter a context with an instance of the API client
with nuvolos_client_api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = nuvolos_client_api.AppsV1Api(api_client)
    org_slug = 'org_slug_example' # str | 
    instance_slug = 'instance_slug_example' # str | 
    space_slug = 'space_slug_example' # str | 
    snapshot_slug = 'snapshot_slug_example' # str | 

    try:
        api_response = api_instance.get_apps(org_slug, instance_slug, space_slug, snapshot_slug)
        print("The response of AppsV1Api->get_apps:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AppsV1Api->get_apps: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AppsV1Api get_apps GET /apps/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug}
InstancesV1Api get_instances GET /instances/v1/org/{org_slug}/space/{space_slug}
OrganizationsV1Api get_orgs GET /orgs/v1
SnapshotsV1Api get_snapshots GET /snapshots/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}
SpacesV1Api get_spaces GET /spaces/v1/org/{slug}
WorkloadsV1Api create_workload POST /workloads/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/app/{app_slug}
WorkloadsV1Api delete_workload DELETE /workloads/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/app/{app_slug}
WorkloadsV1Api execute_command POST /workloads/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/app/{app_slug}/execute
WorkloadsV1Api get_nodepools GET /workloads/v1/nodepools
WorkloadsV1Api get_workloads GET /workloads/v1
WorkloadsV1Api get_workloads_for_app GET /workloads/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/app/{app_slug}

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

ApiKeyAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nuvolos_client_api-1.0.2.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

nuvolos_client_api-1.0.2-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

Details for the file nuvolos_client_api-1.0.2.tar.gz.

File metadata

  • Download URL: nuvolos_client_api-1.0.2.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for nuvolos_client_api-1.0.2.tar.gz
Algorithm Hash digest
SHA256 cfdeed5346830aeda8ec17454ede125fd5333a920d818a1eafd6d5e6e2307628
MD5 88e03a97a4240a65f961f0ff767aa0fe
BLAKE2b-256 6460710a11c001fa7db0785901fbd184671d22c137d14137a37acc724878942c

See more details on using hashes here.

File details

Details for the file nuvolos_client_api-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nuvolos_client_api-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 498d8d7d4076d201e81c1f6b6bb0ae3238d15e997047d9e9c6d65ef304e47eec
MD5 0b71020755f4096561278997dba1708b
BLAKE2b-256 c147a442ab18585caf69aad62defd2d2472dc437f23f1de18a92dc05ccd26b43

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page