installers
A toolchain to test Dagger installers
Installation
dagger install github.com/matipan/dagger/toolchains/installers@b30af043d829afa91dc83ced67b60fd5ae96ccaaEntrypoint
Return Type
Installers Example
dagger -m github.com/matipan/dagger/toolchains/installers@b30af043d829afa91dc83ced67b60fd5ae96ccaa call \
func (m *MyModule) Example() *dagger.Installers {
return dag.
Installers()
}@function
def example() -> dagger.Installers:
return (
dag.installers()
)@func()
example(): Installers {
return dag
.installers()
}Types
Installers 🔗
A toolchain to test Dagger installers
lintBashScript() 🔗
Lint install bash script
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| installShellScript | File | - | No description provided |
Example
dagger -m github.com/matipan/dagger/toolchains/installers@b30af043d829afa91dc83ced67b60fd5ae96ccaa call \
lint-bash-scriptfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Installers().
Lintbashscript(ctx)
}@function
async def example() -> None:
return await (
dag.installers()
.lintbashscript()
)@func()
async example(): Promise<void> {
return dag
.installers()
.lintBashScript()
}lintPowershellScript() 🔗
LintPowershell scripts files
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| powershellScript | File | - | No description provided |
Example
dagger -m github.com/matipan/dagger/toolchains/installers@b30af043d829afa91dc83ced67b60fd5ae96ccaa call \
lint-powershell-scriptfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Installers().
Lintpowershellscript(ctx)
}@function
async def example() -> None:
return await (
dag.installers()
.lintpowershellscript()
)@func()
async example(): Promise<void> {
return dag
.installers()
.lintPowershellScript()
}testBashScript() 🔗
Test install bash script
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| installShellScript | File | - | No description provided |
Example
dagger -m github.com/matipan/dagger/toolchains/installers@b30af043d829afa91dc83ced67b60fd5ae96ccaa call \
test-bash-scriptfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Installers().
Testbashscript(ctx)
}@function
async def example() -> None:
return await (
dag.installers()
.testbashscript()
)@func()
async example(): Promise<void> {
return dag
.installers()
.testBashScript()
}