go-api

module
v2.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2024 License: Apache-2.0, MIT

README

Aruna - Go API

This repo contains the Go API builds for Aruna. It is derived from the language agnostic Protocol Buffers API Definitions.

Structure

The API contains three main sections:

  • Storage section: This is the main section for external use. It contains a basic set of services and models that describe the interfaces with the storage system.

  • Notification section: This section contains a set of services and models that describe the interfaces with the notification system.

  • Hooks: This section contains the service that can be used to extend Aruna with external functionality or automate internal processes.

Storage

The storage section is divided in two sub-sections:

  • Models: This section contains the models that are used by the storage system.

  • Storage services: This section contains all services that are used to interact with the storage system. Services are defined as RPCs and are grouped by object type.

Notifications

The Notification section provides a set of RPCs that are used to interact with the notification system. The notification system uses nats.io as its underlying service. The service definition can be found here.

Hooks

Hooks are the way to automate internal processes in Aruna and/or to integrate external services to extend functionality. Once created, they're available globally in Aruna, and Projects must be associated with them to be included in their trigger cycle. The action that triggers the specific hook is defined by its trigger type.

License

The API is licensed under either of

at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Directories

Path Synopsis
aruna
api/dataproxy/services/v2
Package v2 is a reverse proxy.
Package v2 is a reverse proxy.
api/hooks/services/v2
Package v2 is a reverse proxy.
Package v2 is a reverse proxy.
api/notification/services/v2
Package v2 is a reverse proxy.
Package v2 is a reverse proxy.
api/storage/services/v2
Package v2 is a reverse proxy.
Package v2 is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL