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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1bec938270ce0d0222b8957cf5e6bc596f063d1e6f6280e63afbb68d61d4405 |
|
MD5 | 81ac786fcc295e5e3e0260e605a70566 |
|
BLAKE2b-256 | e4c91c6065f7a66a4262e95f4c0133c4231dd7db26079b5e83ef31088b8df9a1 |
Close
Hashes for serialized_data_interface-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d40ea3c369ed664fcf6b111ebc73179ee54d90dc43a7bfe00b9103bfbd93d24 |
|
MD5 | 85386fb4e574ca8ed7e62e3a27e4fc88 |
|
BLAKE2b-256 | 8e1249b8455bc35ccd19942db9f84dffe666453a23bbbca84eb8999a57c6c4bc |