marceloneppel / data-platform-libs

A collection of charm libraries curated by the Data Platform Team

Home Page:https://charmhub.io/data-platform-libs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data Platform Libraries for Operator Framework Charms

Description

The data-platform-libs charm provides a set of charm libraries which offers convenience methods for interacting with charmed databases, but also writing you own database consuming application charms, through relations

This charm is not meant to be deployed itself, and is used as a mechanism for hosting libraries only.

Usage

This charm is not intended to be deployed. It is a container for standalone charm libraries, which can be managed using charmcraft fetch-lib (ref. link), after which they may be imported and used as normal charms. For example:

charmcraft fetch-lib charms.data_platform_libs.v0.database_requires

Following are the libraries available in this repository:

  • database_provides - a library that offers custom events and methods for provider-side of the relation (e.g. mysql)
  • database_requires - a library that offers custom events and methods for requirer-side of the relation (e.g. wordpress)

The charms from the tests/integration folder aren't meant to be used for anything beyond testing and example code. They serve as examples of how to use the charm libraries.

Contributing

Please see the Juju SDK docs for guidelines on enhancements to this charm following best practice guidelines, and CONTRIBUTING.md for developer guidance.

About

A collection of charm libraries curated by the Data Platform Team

https://charmhub.io/data-platform-libs

License:Apache License 2.0


Languages

Language:Python 100.0%