Dagger
Search

kroki

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

Installation

dagger install github.com/camptocamp/daggerverse/kroki@ac1430ee43c69d2fc3b04326ee816ff6ae33e1fc

Entrypoint

Return Type
Kroki !
Example
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 !
Example
dagger -m github.com/camptocamp/daggerverse/kroki@ac1430ee43c69d2fc3b04326ee816ff6ae33e1fc 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@ac1430ee43c69d2fc3b04326ee816ff6ae33e1fc 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()
}