Dagger
Search

meteor

This module has been generated via dagger init and serves as a reference to
basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.

The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.

Installation

dagger install github.com/digiogithub/dagger-deploy-tools/meteor@e66cd0105a464f508f039e174be0697f95f09be5

Entrypoint

Return Type
Meteor
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/meteor@e66cd0105a464f508f039e174be0697f95f09be5 call \
func (m *myModule) example() *Meteor  {
	return dag.
			Meteor()
}
@function
def example() -> dag.Meteor:
	return (
		dag.meteor()
	)
@func()
example(): Meteor {
	return dag
		.meteor()
}

Types

Meteor 🔗

buildBundle() 🔗

Returns a container that echoes whatever string argument is provided

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
builderImageString !"digiosysops/meteor-builder:1.7.0.5"No description provided
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/meteor@e66cd0105a464f508f039e174be0697f95f09be5 call \
 build-bundle --source DIR_PATH --builder-image string
func (m *myModule) example(source *Directory, builderImage string) *Container  {
	return dag.
			Meteor().
			BuildBundle(source, builderImage)
}
@function
def example(source: dagger.Directory, builder_image: str) -> dagger.Container:
	return (
		dag.meteor()
		.build_bundle(source, builder_image)
	)
@func()
example(source: Directory, builderImage: string): Container {
	return dag
		.meteor()
		.buildBundle(source, builderImage)
}

buildAndExport() 🔗

Returns the final container with the bundle

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
bundleContainer !-No description provided
legacyFixBoolean !falseNo description provided
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/meteor@e66cd0105a464f508f039e174be0697f95f09be5 call \
 build-and-export --bundle IMAGE:TAG --legacy-fix boolean
func (m *myModule) example(bundle *Container, legacyFix bool) *Container  {
	return dag.
			Meteor().
			BuildAndExport(bundle, legacyFix)
}
@function
def example(bundle: dagger.Container, legacy_fix: bool) -> dagger.Container:
	return (
		dag.meteor()
		.build_and_export(bundle, legacy_fix)
	)
@func()
example(bundle: Container, legacyFix: boolean): Container {
	return dag
		.meteor()
		.buildAndExport(bundle, legacyFix)
}

build() 🔗

Returns the final container with the bundle builded

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
builderImageString !"digiosysops/meteor-builder:1.7.0.5"No description provided
legacyFixBoolean !falseNo description provided
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/meteor@e66cd0105a464f508f039e174be0697f95f09be5 call \
 build --source DIR_PATH --builder-image string --legacy-fix boolean
func (m *myModule) example(source *Directory, builderImage string, legacyFix bool) *Container  {
	return dag.
			Meteor().
			Build(source, builderImage, legacyFix)
}
@function
def example(source: dagger.Directory, builder_image: str, legacy_fix: bool) -> dagger.Container:
	return (
		dag.meteor()
		.build(source, builder_image, legacy_fix)
	)
@func()
example(source: Directory, builderImage: string, legacyFix: boolean): Container {
	return dag
		.meteor()
		.build(source, builderImage, legacyFix)
}

tagAndPush() 🔗

Tag image and push to registry

Return Type
[String ! ] !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
builderImageString !"digiosysops/meteor-builder:1.7.0.5"No description provided
registryPathString !-No description provided
registryLoginString !-No description provided
registryPasswordSecret !-No description provided
tagVersionString !-No description provided
legacyFixBoolean !falseNo description provided
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/meteor@e66cd0105a464f508f039e174be0697f95f09be5 call \
 tag-and-push --source DIR_PATH --builder-image string --registry-path string --registry-login string --registry-password env:MYSECRET --tag-version string --legacy-fix boolean
func (m *myModule) example(ctx context.Context, source *Directory, builderImage string, registryPath string, registryLogin string, registryPassword *Secret, tagVersion string, legacyFix bool) []string  {
	return dag.
			Meteor().
			TagAndPush(ctx, source, builderImage, registryPath, registryLogin, registryPassword, tagVersion, legacyFix)
}
@function
async def example(source: dagger.Directory, builder_image: str, registry_path: str, registry_login: str, registry_password: dagger.Secret, tag_version: str, legacy_fix: bool) -> List[str]:
	return await (
		dag.meteor()
		.tag_and_push(source, builder_image, registry_path, registry_login, registry_password, tag_version, legacy_fix)
	)
@func()
async example(source: Directory, builderImage: string, registryPath: string, registryLogin: string, registryPassword: Secret, tagVersion: string, legacyFix: boolean): Promise<string[]> {
	return dag
		.meteor()
		.tagAndPush(source, builderImage, registryPath, registryLogin, registryPassword, tagVersion, legacyFix)
}