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
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
func (m *myModule) 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
func (m *myModule) 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
func (m *myModule) example(source *Directory, builderImage string) *Container {
return dag.
Meteor().
Build(source, builderImage)
}