Dagger
Search

kroki

Get a container or service running Kroki to create diagrams from textual descriptions.

Installation

dagger install github.com/camptocamp/daggerverse/kroki@0c630096e9f71db4dea02621b4417ca206ff578d

Entrypoint

Return Type
Kroki !
Example
dagger -m github.com/camptocamp/daggerverse/kroki@0c630096e9f71db4dea02621b4417ca206ff578d call \
func (m *myModule) example() *Kroki  {
	return dag.
			Kroki()
}
@function
def example() -> dag.Kroki:
	return (
		dag.kroki()
	)
@func()
example(): Kroki {
	return dag
		.kroki()
}

Types

Kroki 🔗

Kroki

container() 🔗

Get a Kroki container ready to create diagrams

Container exposes port 8080.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
platformScalar -Platform to get container for
Example
dagger -m github.com/camptocamp/daggerverse/kroki@0c630096e9f71db4dea02621b4417ca206ff578d call \
 container
func (m *myModule) example() *Container  {
	return dag.
			Kroki().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.kroki()
		.container()
	)
@func()
example(): Container {
	return dag
		.kroki()
		.container()
}

server() 🔗

Get a Kroki service creating diagrams

See container() for details.

Return Type
Service !
Example
dagger -m github.com/camptocamp/daggerverse/kroki@0c630096e9f71db4dea02621b4417ca206ff578d call \
 server
func (m *myModule) example() *Service  {
	return dag.
			Kroki().
			Server()
}
@function
def example() -> dagger.Service:
	return (
		dag.kroki()
		.server()
	)
@func()
example(): Service {
	return dag
		.kroki()
		.server()
}