Serialized Data Interface for Juju Operators
Project description
Serialized Interface Library
https://pypi.org/project/serialized-data-interface/
This libraries enables its user to create serialized and validated Juju Operator interfaces.
An interface Schema will be defined through YAML e.g:
v1:
provides:
type: object
properties:
access-key:
type: string
namespace:
type: ['string', 'null']
port:
type: number
secret-key:
type: string
secure:
type: boolean
service:
type: string
required:
- access-key
- port
- secret-key
- secure
- service
When our charms interchange data, this library will validate the data through the schema on both ends.
Real World Example
- Minio with Provider Interface
- Argo Controller with Requirer Interface:
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.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31fdcd7adf9b75a5295efdc24847e4672005936cba1248bf6e2ab04a2aba66c4 |
|
MD5 | bd0779d85a143882090db4ff72cb6860 |
|
BLAKE2b-256 | cc2c36da257626bd71016cdd19a612d28ed8ab2e5a1b13ad1ca0838b565baca4 |
Close
Hashes for serialized_data_interface-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1005065de84b59797fbd610c8e14f67e1ce007f3b03840d1414364ab49109ee4 |
|
MD5 | 24a8a137ba104629d42edd5bcea28876 |
|
BLAKE2b-256 | a0ca44bca7dd71b50c26a864e5dfd6aeeeb017249a721af286e45ca0cb839edf |