Serialized Data Interface for Juju Operators
Project description
Serialized Interface Library
This libraries enables its user to create serialized and validated Juju Operator interfaces.
An interface Schema will be defined through YAML e.g:
type: object
properties:
service:
type: string
port:
type: number
access-key:
type: string
secret-key:
type: string
When our charms interchange data, this library will validate the data through the schema on both ends.
Real World Example
**** Minio with Provider Interface: https://github.com/DomFleischmann/charm-minio/tree/argo-relation
- Argo Controller with Requirer Interface: https://github.com/DomFleischmann/argo-operators/tree/operator-v2.3.0/operators/argo-controller
TODO
- Currently only provides data to App relations, should also support unit relations.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for serialized_data_interface-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47a18cccfe06b894740536863c188900ad3f87da1bfd292ddd01311b3df00964 |
|
MD5 | 3dd8033f4630982d762b8e6e1a1252d2 |
|
BLAKE2b-256 | 571b830c8632de73eeedccfb62d4815757590d503cbf0757e98487c5df8275e3 |
Close
Hashes for serialized_data_interface-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96668992fe5df6c1be3521dd230132289d987340e2702bbef2de805037c3f807 |
|
MD5 | fc3164ee10dfce2bd7eb574580dd8be7 |
|
BLAKE2b-256 | 6bd6f095c5b352b1e9d14ff64c59926fe789ba8875bb7b8bb0b40a1b416865e9 |