Dagger
Search

atlas

No long description provided.

Installation

dagger install github.com/fluent-ci-templates/atlas-pipeline@bc6f64f9e7d99ff6ff8155d8af88abd69ab09bb0

Entrypoint

Return Type
Atlas
Example
func (m *myModule) example() *Atlas  {
	return dag.
			Atlas()
}

Types

Atlas 🔗

migrate() 🔗

Run database migrations

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
databaseUrlSecret !-No description provided
databaseDevUrlString -No description provided
Example
func (m *myModule) example(ctx context.Context, src *Directory, databaseUrl *Secret) string  {
	return dag.
			Atlas().
			Migrate(ctx, src, databaseUrl)
}

dryRun() 🔗

Run database migrations in dry run mode

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
databaseUrlSecret !-No description provided
databaseDevUrlString -No description provided
Example
func (m *myModule) example(ctx context.Context, src *Directory, databaseUrl *Secret) string  {
	return dag.
			Atlas().
			DryRun(ctx, src, databaseUrl)
}