installers
A toolchain to test Dagger installers
Installation
dagger install github.com/dagger/dagger/toolchains/installers@c41d6707df9ba6512dfb8e3ec06281282744c9b9Entrypoint
Return Type
Installers Example
dagger -m github.com/dagger/dagger/toolchains/installers@c41d6707df9ba6512dfb8e3ec06281282744c9b9 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/dagger/dagger/toolchains/installers@c41d6707df9ba6512dfb8e3ec06281282744c9b9 call \
lint-bash-scriptfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Installers().
LintBashScript(ctx)
}@function
async def example() -> None:
return await (
dag.installers()
.lint_bash_script()
)@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/dagger/dagger/toolchains/installers@c41d6707df9ba6512dfb8e3ec06281282744c9b9 call \
lint-powershell-scriptfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Installers().
LintPowershellScript(ctx)
}@function
async def example() -> None:
return await (
dag.installers()
.lint_powershell_script()
)@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/dagger/dagger/toolchains/installers@c41d6707df9ba6512dfb8e3ec06281282744c9b9 call \
test-bash-scriptfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Installers().
TestBashScript(ctx)
}@function
async def example() -> None:
return await (
dag.installers()
.test_bash_script()
)@func()
async example(): Promise<void> {
return dag
.installers()
.testBashScript()
}