Dagger
Search

hugo

No long description provided.

Installation

dagger install github.com/camptocamp/daggerverse/hugo@77962f42236da0a53254d501041fd6c1d629197f

Entrypoint

Return Type
Hugo !
Arguments
NameTypeDescription
versionString !No description provided
platformString No description provided
Example
func (m *myModule) example(version string) *Hugo  {
	return dag.
			Hugo(version)
}
@function
def example(version: str, ) -> dag.Hugo:
	return (
		dag.hugo(version)
	)
@func()
example(version: string, ): Hugo {
	return dag
		.hugo(version)
}

Types

Hugo

version()

Return Type
String !
Example
dagger -m github.com/camptocamp/daggerverse/hugo@77962f42236da0a53254d501041fd6c1d629197f call \
 --version string version
func (m *myModule) example(ctx context.Context, version string) string  {
	return dag.
			Hugo(version).
			Version(ctx)
}
@function
async def example(version: str, ) -> str:
	return await (
		dag.hugo(version)
		.version()
	)
@func()
async example(version: string, ): Promise<string> {
	return dag
		.hugo(version)
		.version()
}

platform()

Return Type
String !
Example
dagger -m github.com/camptocamp/daggerverse/hugo@77962f42236da0a53254d501041fd6c1d629197f call \
 --version string platform
func (m *myModule) example(ctx context.Context, version string) string  {
	return dag.
			Hugo(version).
			Platform(ctx)
}
@function
async def example(version: str, ) -> str:
	return await (
		dag.hugo(version)
		.platform()
	)
@func()
async example(version: string, ): Promise<string> {
	return dag
		.hugo(version)
		.platform()
}

file()

Return Type
File !
Example
dagger -m github.com/camptocamp/daggerverse/hugo@77962f42236da0a53254d501041fd6c1d629197f call \
 --version string file
func (m *myModule) example(version string) *File  {
	return dag.
			Hugo(version).
			File()
}
@function
def example(version: str, ) -> dagger.File:
	return (
		dag.hugo(version)
		.file()
	)
@func()
example(version: string, ): File {
	return dag
		.hugo(version)
		.file()
}

directory()

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
prefixString -No description provided
Example
dagger -m github.com/camptocamp/daggerverse/hugo@77962f42236da0a53254d501041fd6c1d629197f call \
 --version string directory
func (m *myModule) example(version string) *Directory  {
	return dag.
			Hugo(version).
			Directory()
}
@function
def example(version: str, ) -> dagger.Directory:
	return (
		dag.hugo(version)
		.directory()
	)
@func()
example(version: string, ): Directory {
	return dag
		.hugo(version)
		.directory()
}

configuration()

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
dagger -m github.com/camptocamp/daggerverse/hugo@77962f42236da0a53254d501041fd6c1d629197f call \
 --version string configuration --container IMAGE:TAG
func (m *myModule) example(version string, container *Container) *Container  {
	return dag.
			Hugo(version).
			Configuration(container)
}
@function
def example(version: str, container: dagger.Container) -> dagger.Container:
	return (
		dag.hugo(version)
		.configuration(container)
	)
@func()
example(version: string, container: Container): Container {
	return dag
		.hugo(version)
		.configuration(container)
}

container()

Return Type
Container !
Example
dagger -m github.com/camptocamp/daggerverse/hugo@77962f42236da0a53254d501041fd6c1d629197f call \
 --version string container
func (m *myModule) example(version string) *Container  {
	return dag.
			Hugo(version).
			Container()
}
@function
def example(version: str, ) -> dagger.Container:
	return (
		dag.hugo(version)
		.container()
	)
@func()
example(version: string, ): Container {
	return dag
		.hugo(version)
		.container()
}