Dagger
Search

installers

A toolchain to test Dagger installers

Installation

dagger install github.com/dagger/dagger/toolchains/installers@fc04726d7df21b55122a4bc3b5c5f62eac95a6ac

Entrypoint

Return Type
Installers
Example
dagger -m github.com/dagger/dagger/toolchains/installers@fc04726d7df21b55122a4bc3b5c5f62eac95a6ac 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
NameTypeDefault ValueDescription
installShellScriptFile -No description provided
Example
dagger -m github.com/dagger/dagger/toolchains/installers@fc04726d7df21b55122a4bc3b5c5f62eac95a6ac call \
 lint-bash-script
func (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
NameTypeDefault ValueDescription
powershellScriptFile -No description provided
Example
dagger -m github.com/dagger/dagger/toolchains/installers@fc04726d7df21b55122a4bc3b5c5f62eac95a6ac call \
 lint-powershell-script
func (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
NameTypeDefault ValueDescription
installShellScriptFile -No description provided
Example
dagger -m github.com/dagger/dagger/toolchains/installers@fc04726d7df21b55122a4bc3b5c5f62eac95a6ac call \
 test-bash-script
func (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()
}