Dagger
Search

kafka

No long description provided.

Installation

dagger install github.com/sagikazarmark/daggerverse/kafka@9a3074edb9cb21746ea2f9dcdd018d520b47f2e6

Entrypoint

Return Type
Kafka !
Arguments
NameTypeDescription
versionString Version (image tag) to use from the official image repository as a base container.
imageString Custom image reference in "repository:tag" format to use as a base container.
containerContainer Custom container to use as a base container.
Example
dagger -m github.com/sagikazarmark/daggerverse/kafka@9a3074edb9cb21746ea2f9dcdd018d520b47f2e6 call \
func (m *myModule) example() *Kafka  {
	return dag.
			Kafka()
}
@function
def example() -> dag.Kafka:
	return (
		dag.kafka()
	)
@func()
example(): Kafka {
	return dag
		.kafka()
}

Types

Kafka 🔗

container() 🔗

Return Type
Container !
Example
dagger -m github.com/sagikazarmark/daggerverse/kafka@9a3074edb9cb21746ea2f9dcdd018d520b47f2e6 call \
 container
func (m *myModule) example() *Container  {
	return dag.
			Kafka().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.kafka()
		.container()
	)
@func()
example(): Container {
	return dag
		.kafka()
		.container()
}

withEnvVariable() 🔗

Set an environment variable.

Return Type
Kafka !
Arguments
NameTypeDefault ValueDescription
nameString !-The name of the environment variable (e.g., "HOST").
valueString !-The value of the environment variable (e.g., "localhost").
expandBoolean -Replace `${VAR}` or $VAR in the value according to the current environment variables defined in the container (e.g., "/opt/bin:$PATH").
Example
dagger -m github.com/sagikazarmark/daggerverse/kafka@9a3074edb9cb21746ea2f9dcdd018d520b47f2e6 call \
 with-env-variable --name string --value string
func (m *myModule) example(name string, value string) *Kafka  {
	return dag.
			Kafka().
			WithEnvVariable(name, value)
}
@function
def example(name: str, value: str) -> dag.Kafka:
	return (
		dag.kafka()
		.with_env_variable(name, value)
	)
@func()
example(name: string, value: string): Kafka {
	return dag
		.kafka()
		.withEnvVariable(name, value)
}

service() 🔗

Launch a Kafka service.

Return Type
Service !
Example
dagger -m github.com/sagikazarmark/daggerverse/kafka@9a3074edb9cb21746ea2f9dcdd018d520b47f2e6 call \
 service
func (m *myModule) example() *Service  {
	return dag.
			Kafka().
			Service()
}
@function
def example() -> dagger.Service:
	return (
		dag.kafka()
		.service()
	)
@func()
example(): Service {
	return dag
		.kafka()
		.service()
}