Dagger
Search

singularity

No long description provided.

Installation

dagger install github.com/shykes/x/singularity@481fa1ff383fddc13a2a27249ed31dcba3d2c09b

Entrypoint

Return Type
Singularity
Example
dagger -m github.com/shykes/x/singularity@481fa1ff383fddc13a2a27249ed31dcba3d2c09b call \
func (m *myModule) example() *Singularity  {
	return dag.
			Singularity()
}
@function
def example() -> dag.Singularity:
	return (
		dag.singularity()
	)
@func()
example(): Singularity {
	return dag
		.singularity()
}

Types

Singularity 🔗

import() 🔗

Import a dagger container into a Singularity SIF file

Return Type
File !
Arguments
NameTypeDefault ValueDescription
sourceContainer !-No description provided
Example
dagger -m github.com/shykes/x/singularity@481fa1ff383fddc13a2a27249ed31dcba3d2c09b call \
 import --source IMAGE:TAG
func (m *myModule) example(source *Container) *File  {
	return dag.
			Singularity().
			Import(source)
}
@function
def example(source: dagger.Container) -> dagger.File:
	return (
		dag.singularity()
		.import_(source)
	)
@func()
example(source: Container): File {
	return dag
		.singularity()
		.import(source)
}