# Functions
CreateDatabase is the option for creating project k8s resource.
CreateMySQLClusterInK8s is the option for creating mysql cluster k8s resource.
CreateMySQLClusterSecret is the option for creating mysql cluster secret.
CreateMySQLUserInK8s is a options func that creates in k8s the user.
MySQLUser is a helper func that builds a mysql user.
NewDatabase returns a database object.
NewMySQLCluster is a helper func that creates a mysql cluster.
WithClusterAffinity sets affinity for mysql cluster.
WithClusterNotReadyCondition sets the ready status to false.
WithClusterReadyCondition sets the ready status to true.
WithDBReadyCondition sets the ready status.
WithMySQLCluster create secret and cluster and sets on the database.
WithMySQLClusterReadyPods sets the reay nodes status.
WithPassword is an option to specify a password when creating the MysqlUser.
WithPermissions is an option to specify user permissions when creating the MysqlUser.
WithUser is an option to specify a user when creating the MysqlUser.
WithUserReadyCondition sets the ready status.
# Type aliases
MySQLClusterOption is the option type for for the invite factory.
MysqlDBOption to config the factory.
MySQLUserOption is the option type for for the invite factory.