Dagger
Search

sosc-platform

This module has been generated via dagger init and serves as a reference to
basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.

The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.

Installation

dagger install github.com/dciangot/daggerverse/sosc-platform@c382349cccf9b034905ffe36baf0799e6f9be5be

Entrypoint

Return Type
SoscPlatform !
Arguments
NameTypeDefault ValueDescription
nameString !-No description provided
contextDirDirectory !-A directory.
Example
dagger -m github.com/dciangot/daggerverse/sosc-platform@c382349cccf9b034905ffe36baf0799e6f9be5be call \
 --name string --context-dir DIR_PATH
func (m *myModule) example(name string, contextDir *Directory) *SoscPlatform  {
	return dag.
			SoscPlatform(name, contextDir)
}
@function
def example(name: str, context_dir: dagger.Directory) -> dag.SoscPlatform:
	return (
		dag.sosc_platform(name, context_dir)
	)
@func()
example(name: string, contextDir: Directory): SoscPlatform {
	return dag
		.soscPlatform(name, contextDir)
}

Types

SoscPlatform 🔗

buildImage() 🔗

Returns a container that echoes whatever string argument is provided

Return Type
Container !
Example
dagger -m github.com/dciangot/daggerverse/sosc-platform@c382349cccf9b034905ffe36baf0799e6f9be5be call \
 --name string --context-dir DIR_PATH build-image
func (m *myModule) example(name string, contextDir *Directory) *Container  {
	return dag.
			SoscPlatform(name, contextDir).
			BuildImage()
}
@function
def example(name: str, context_dir: dagger.Directory) -> dagger.Container:
	return (
		dag.sosc_platform(name, context_dir)
		.build_image()
	)
@func()
example(name: string, contextDir: Directory): Container {
	return dag
		.soscPlatform(name, contextDir)
		.buildImage()
}

papermill() 🔗

Returns a container that echoes whatever string argument is provided

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
notebookFile !-A file.
paramFileFile !-A file.
Example
dagger -m github.com/dciangot/daggerverse/sosc-platform@c382349cccf9b034905ffe36baf0799e6f9be5be call \
 --name string --context-dir DIR_PATH papermill --notebook file:path --param-file file:path
func (m *myModule) example(name string, contextDir *Directory, notebook *File, paramFile *File) *Container  {
	return dag.
			SoscPlatform(name, contextDir).
			Papermill(notebook, paramFile)
}
@function
def example(name: str, context_dir: dagger.Directory, notebook: dagger.File, param_file: dagger.File) -> dagger.Container:
	return (
		dag.sosc_platform(name, context_dir)
		.papermill(notebook, param_file)
	)
@func()
example(name: string, contextDir: Directory, notebook: File, paramFile: File): Container {
	return dag
		.soscPlatform(name, contextDir)
		.papermill(notebook, paramFile)
}

sosc() 🔗

Returns a container that echoes whatever string argument is provided

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
jupyterSecretSecret !-A reference to a secret value, which can be handled more safely than the value itself.
Example
dagger -m github.com/dciangot/daggerverse/sosc-platform@c382349cccf9b034905ffe36baf0799e6f9be5be call \
 --name string --context-dir DIR_PATH sosc --jupyter-secret env:MYSECRET
func (m *myModule) example(name string, contextDir *Directory, jupyterSecret *Secret) *Container  {
	return dag.
			SoscPlatform(name, contextDir).
			Sosc(jupyterSecret)
}
@function
def example(name: str, context_dir: dagger.Directory, jupyter_secret: dagger.Secret) -> dagger.Container:
	return (
		dag.sosc_platform(name, context_dir)
		.sosc(jupyter_secret)
	)
@func()
example(name: string, contextDir: Directory, jupyterSecret: Secret): Container {
	return dag
		.soscPlatform(name, contextDir)
		.sosc(jupyterSecret)
}