meteor
This module has been generated via dagger init and serves as a reference tobasic 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@428e2bdfdb317c176e1a19008ec4e8663fe78436
Entrypoint
Return Type
Meteor
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/meteor@428e2bdfdb317c176e1a19008ec4e8663fe78436 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
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | No description provided |
builderImage | String ! | "digiosysops/meteor-builder:1.7.0.5" | No description provided |
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/meteor@428e2bdfdb317c176e1a19008ec4e8663fe78436 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
Name | Type | Default Value | Description |
---|---|---|---|
bundle | Container ! | - | No description provided |
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/meteor@428e2bdfdb317c176e1a19008ec4e8663fe78436 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
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | No description provided |
builderImage | String ! | "digiosysops/meteor-builder:1.7.0.5" | No description provided |
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/meteor@428e2bdfdb317c176e1a19008ec4e8663fe78436 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)
}