
Charmed MySQL
- Canonical
- Cloud
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 366 | 31 Mar 2025 | |
8.0/stable | 367 | 31 Mar 2025 | |
8.0/candidate | 366 | 24 Mar 2025 | |
8.0/candidate | 367 | 24 Mar 2025 | |
8.0/beta | 366 | 11 Mar 2025 | |
8.0/beta | 367 | 11 Mar 2025 | |
8.0/edge | 371 | 31 Mar 2025 | |
8.0/edge | 370 | 31 Mar 2025 |
juju deploy mysql --channel 8.0/stable
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
charms.mysql.v0.s3_helpers
-
- Last updated 26 Mar 2025
- Revision Library version 0.11
S3 helper functions for the MySQL charms.
Index
def
upload_content_to_s3(
content: str,
content_path: str,
s3_parameters: Dict
)
Uploads the provided contents to the provided S3 bucket.
Arguments
The content to upload to S3
The path to which to upload the content
A dictionary containing the S3 parameters The following are expected keys in the dictionary: bucket, region, endpoint, access-key and secret-key
def list_backups_in_s3_path(s3_parameters: Dict)
Retrieve subdirectories in an S3 path.
Arguments
A dictionary containing the S3 parameters The following are expected keys in the dictionary: bucket, path, region, endpoint, access-key and secret-key
def
fetch_and_check_existence_of_s3_path(
path: str,
s3_parameters
)
Checks the existence of a provided S3 path by fetching the object.
Arguments
A dictionary containing the S3 parameters The following are expected keys in the dictionary: bucket, region, endpoint, access-key and secret-key
The path to check the existence of
def
ensure_s3_compatible_group_replication_id(
group_replication_id: str,
s3_parameters
)
Checks if group replication id is equal to the one in the provided S3 repository.
Arguments
group replication id of the current cluster
A dictionary containing the S3 parameters The following are expected keys in the dictionary: bucket, region, endpoint, access-key and secret-key
Description
If S3 doesn't have this claim (so it's not initialized), then it will be populated automatically with the provided id.