Charmed MySQL
- Canonical
- Cloud
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 313 | 03 Dec 2024 | |
8.0/stable | 312 | 03 Dec 2024 | |
8.0/candidate | 313 | 02 Dec 2024 | |
8.0/candidate | 312 | 02 Dec 2024 | |
8.0/beta | 313 | 02 Dec 2024 | |
8.0/beta | 312 | 02 Dec 2024 | |
8.0/edge | 323 | 16 Dec 2024 | |
8.0/edge | 322 | 16 Dec 2024 |
juju deploy mysql --channel 8.0/stable
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
charms.mysql.v0.architecture
-
- Last updated 13 Dec 2024
- Revision Library version 0.1
Library to provide hardware architecture checks for VMs and K8s charms.
The WrongArchitectureWarningCharm class is designed to be used alongside the is-wrong-architecture helper function, as follows:
from ops import main
from charms.mysql.v0.architecture import WrongArchitectureWarningCharm, is_wrong_architecture
if __name__ == "__main__":
if is_wrong_architecture():
main(WrongArchitectureWarningCharm)
class WrongArchitectureWarningCharm
Description
A fake charm class that only signals a wrong architecture deploy. None
Methods
WrongArchitectureWarningCharm. __init__( self )
def is_wrong_architecture()
Description
Checks if charm was deployed on wrong architecture. None