Dagger
Search

presentations

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/stuttgart-things/blueprints/presentations@v1.47.0

Entrypoint

Return Type
Presentations
Example
dagger -m github.com/stuttgart-things/blueprints/presentations@e958dedf7b12a0a545dc69b98528c89e4bc255f2 call \
func (m *MyModule) Example() *dagger.Presentations  {
	return dag.
			Presentations()
}
@function
def example() -> dagger.Presentations:
	return (
		dag.presentations()
	)
@func()
example(): Presentations {
	return dag
		.presentations()
}

Types

Presentations 🔗

serve() 🔗

Return Type
Service !
Arguments
NameTypeDefault ValueDescription
contentDirectory !-No description provided
nameString "hugo"The project name
baseUrlString "0.0.0.0"The base url to use
portString "1313"The Port to use
themeString "github.com/joshed-io/reveal-hugo"The Theme to use
Example
dagger -m github.com/stuttgart-things/blueprints/presentations@e958dedf7b12a0a545dc69b98528c89e4bc255f2 call \
 serve --content DIR_PATH
func (m *MyModule) Example(content *dagger.Directory) *dagger.Service  {
	return dag.
			Presentations().
			Serve(content)
}
@function
def example(content: dagger.Directory) -> dagger.Service:
	return (
		dag.presentations()
		.serve(content)
	)
@func()
example(content: Directory): Service {
	return dag
		.presentations()
		.serve(content)
}

init() 🔗

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
nameString !-No description provided
defaultsFileFile -No description provided
variablesFileFile -No description provided
variablesString -No description provided
Example
dagger -m github.com/stuttgart-things/blueprints/presentations@e958dedf7b12a0a545dc69b98528c89e4bc255f2 call \
 init --name string
func (m *MyModule) Example(name string) *dagger.Directory  {
	return dag.
			Presentations().
			Init(name)
}
@function
def example(name: str) -> dagger.Directory:
	return (
		dag.presentations()
		.init(name)
	)
@func()
example(name: string): Directory {
	return dag
		.presentations()
		.init(name)
}

addContent() 🔗

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-the src directory
presentationFileFile -contextFile in yaml format
Example
dagger -m github.com/stuttgart-things/blueprints/presentations@e958dedf7b12a0a545dc69b98528c89e4bc255f2 call \
 add-content --src DIR_PATH
func (m *MyModule) Example(src *dagger.Directory) *dagger.Directory  {
	return dag.
			Presentations().
			AddContent(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
	return (
		dag.presentations()
		.add_content(src)
	)
@func()
example(src: Directory): Directory {
	return dag
		.presentations()
		.addContent(src)
}