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@287900e5b1583697a7758fc3e1758fd7c6bb18ed

Entrypoint

Return Type
Meteor
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/meteor@287900e5b1583697a7758fc3e1758fd7c6bb18ed 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@287900e5b1583697a7758fc3e1758fd7c6bb18ed 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
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/meteor@287900e5b1583697a7758fc3e1758fd7c6bb18ed call \
 build-and-export --bundle IMAGE:TAG
func (m *myModule) example(bundle *Container) *Container  {
	return dag.
			Meteor().
			BuildAndExport(bundle)
}
@function
def example(bundle: dagger.Container) -> dagger.Container:
	return (
		dag.meteor()
		.build_and_export(bundle)
	)
@func()
example(bundle: Container): Container {
	return dag
		.meteor()
		.buildAndExport(bundle)
}

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
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/meteor@287900e5b1583697a7758fc3e1758fd7c6bb18ed call \
 build --source DIR_PATH --builder-image string
func (m *myModule) example(source *Directory, builderImage string) *Container  {
	return dag.
			Meteor().
			Build(source, builderImage)
}
@function
def example(source: dagger.Directory, builder_image: str) -> dagger.Container:
	return (
		dag.meteor()
		.build(source, builder_image)
	)
@func()
example(source: Directory, builderImage: string): Container {
	return dag
		.meteor()
		.build(source, builderImage)
}

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
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/meteor@287900e5b1583697a7758fc3e1758fd7c6bb18ed call \
 tag-and-push --source DIR_PATH --builder-image string --registry-path string --registry-login string --registry-password env:MYSECRET --tag-version string
func (m *myModule) example(ctx context.Context, source *Directory, builderImage string, registryPath string, registryLogin string, registryPassword *Secret, tagVersion string) []string  {
	return dag.
			Meteor().
			TagAndPush(ctx, source, builderImage, registryPath, registryLogin, registryPassword, tagVersion)
}
@function
async def example(source: dagger.Directory, builder_image: str, registry_path: str, registry_login: str, registry_password: dagger.Secret, tag_version: str) -> List[str]:
	return await (
		dag.meteor()
		.tag_and_push(source, builder_image, registry_path, registry_login, registry_password, tag_version)
	)
@func()
async example(source: Directory, builderImage: string, registryPath: string, registryLogin: string, registryPassword: Secret, tagVersion: string): Promise<string[]> {
	return dag
		.meteor()
		.tagAndPush(source, builderImage, registryPath, registryLogin, registryPassword, tagVersion)
}