Dagger
Search

always-exec

No long description provided.

Installation

dagger install github.com/charjr/dagger-always-exec@d478c1aaf4c5290926d2d1978d98d9f0054529eb

Entrypoint

Return Type
AlwaysExec
Example
func (m *myModule) example() *AlwaysExec  {
	return dag.
			AlwaysExec()
}

Types

AlwaysExec 🔗

exec() 🔗

Execute command, ignore exit code and return Container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
args[String ! ] !-No description provided
skipEntrypointBoolean trueNo description provided
useEntrypointBoolean falseNo description provided
stdinString ""No description provided
experimentalPrivilegedNestingBoolean falseNo description provided
insecureRootCapabilitiesBoolean falseNo description provided
Example
func (m *myModule) example(container *Container, args []string) *Container  {
	return dag.
			AlwaysExec().
			Exec(container, args)
}

stdout() 🔗

Return stdout

Return Type
String !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
func (m *myModule) example(ctx context.Context, container *Container) string  {
	return dag.
			AlwaysExec().
			Stdout(ctx, container)
}

stderr() 🔗

Return stderr

Return Type
String !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
func (m *myModule) example(ctx context.Context, container *Container) string  {
	return dag.
			AlwaysExec().
			Stderr(ctx, container)
}

lastExitCode() 🔗

Return last ignored exit code

Return Type
String !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
func (m *myModule) example(ctx context.Context, container *Container) string  {
	return dag.
			AlwaysExec().
			LastExitCode(ctx, container)
}