Dagger
Search

kroki

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

Installation

dagger install github.com/camptocamp/daggerverse/kroki@v0.1.0

Entrypoint

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