Aspire.Hosting.MySql
Official
📦 Aspire.Hosting.MySqlv17.0.0Import path
apphost/modules/aspire10Functions
3Types
3 types, 10 functions and 15 members
Handles
Functions
DistributedApplicationBuilder
MySqlDatabaseResource
MySqlServerResource
method
AddDatabasebuilderAdds a MySQL database to the application model.
AddDatabase(name string, options ...*AddDatabaseOptions) MySqlDatabaseResourcemethod
WithDataBindMountbuilderAdds a bind mount for the data folder to a MySql container resource.
WithDataBindMount(source string, options ...*WithDataBindMountOptions) MySqlServerResourcemethod
WithDataVolumebuilderAdds a named volume for the data folder to a MySql container resource.
WithDataVolume(options ...*WithDataVolumeOptions) MySqlServerResourcemethod
WithInitFilesbuilderCopies init files into a MySql container resource.
WithInitFiles(source string) MySqlServerResourcemethod
WithPasswordbuilderConfigures the password that the MySQL resource uses.
WithPassword(password ParameterResource) MySqlServerResourcemethod
WithPhpMyAdminbuilderAdds a phpMyAdmin administration and development platform for MySql to the application model.
WithPhpMyAdmin(options ...*WithPhpMyAdminOptions) MySqlServerResourcemethod
WithReplbuilderAdds a REPL command that opens an authenticated MySQL shell in the dashboard terminal dock.
WithRepl() MySqlServerResource