Dagger
Search

kafka

No long description provided.

Installation

dagger install github.com/sagikazarmark/daggerverse/kafka@08c16734109440b8e031b20b9aca195816857c4e

Entrypoint

Return Type
Kafka
Example
dagger -m github.com/sagikazarmark/daggerverse/kafka@08c16734109440b8e031b20b9aca195816857c4e call \
func (m *MyModule) Example() *dagger.Kafka  {
	return dag.
			Kafka()
}
@function
def example() -> dagger.Kafka:
	return (
		dag.kafka()
	)
@func()
example(): Kafka {
	return dag
		.kafka()
}

Types

Kafka 🔗

fromVersion() 🔗

Specify which version (image tag) of Kafka to use from the official image repository on Docker Hub.

Return Type
Base !
Arguments
NameTypeDefault ValueDescription
versionStringKind !-No description provided
Example
dagger -m github.com/sagikazarmark/daggerverse/kafka@08c16734109440b8e031b20b9aca195816857c4e call \
 from-version
func (m *MyModule) Example(version )   {
	return dag.
			Kafka().
			FromVersion(version)
}
@function
def example(version: ) -> :
	return (
		dag.kafka()
		.from_version(version)
	)
@func()
example(version: ):  {
	return dag
		.kafka()
		.fromVersion(version)
}

fromImage() 🔗

Specify a custom image reference in “repository:tag” format.

Note: this module expects an image compatible with bitnami/kafka.

Return Type
Base !
Arguments
NameTypeDefault ValueDescription
refStringKind !-No description provided
Example
dagger -m github.com/sagikazarmark/daggerverse/kafka@08c16734109440b8e031b20b9aca195816857c4e call \
 from-image
func (m *MyModule) Example(ref )   {
	return dag.
			Kafka().
			FromImage(ref)
}
@function
def example(ref: ) -> :
	return (
		dag.kafka()
		.from_image(ref)
	)
@func()
example(ref: ):  {
	return dag
		.kafka()
		.fromImage(ref)
}

fromContainer() 🔗

Specify a custom container.

Note: this module expects an image compatible with bitnami/kafka.

Return Type
Base !
Arguments
NameTypeDefault ValueDescription
ctrContainer !-No description provided
Example
dagger -m github.com/sagikazarmark/daggerverse/kafka@08c16734109440b8e031b20b9aca195816857c4e call \
 from-container
func (m *MyModule) Example(ctr )   {
	return dag.
			Kafka().
			FromContainer(ctr)
}
@function
def example(ctr: ) -> :
	return (
		dag.kafka()
		.from_container(ctr)
	)
@func()
example(ctr: ):  {
	return dag
		.kafka()
		.fromContainer(ctr)
}

withEnvVariable() 🔗

Set an environment variable.

Return Type
Base !
Arguments
NameTypeDefault ValueDescription
nameStringKind !-No description provided
valueStringKind !-No description provided
expandBooleanKind -No description provided
Example
dagger -m github.com/sagikazarmark/daggerverse/kafka@08c16734109440b8e031b20b9aca195816857c4e call \
 with-env-variable
func (m *MyModule) Example(name , value )   {
	return dag.
			Kafka().
			WithEnvVariable(name, value)
}
@function
def example(name: , value: ) -> :
	return (
		dag.kafka()
		.with_env_variable(name, value)
	)
@func()
example(name: , value: ):  {
	return dag
		.kafka()
		.withEnvVariable(name, value)
}

container() 🔗

Return the default container.

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

service() 🔗

Launch a Kafka service using the default container.

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

Base 🔗

ctr() 🔗

Return Type
Container !
Example
Function KafkaBase.Ctr is not accessible from the kafka module
Function KafkaBase.Ctr is not accessible from the kafka module
Function KafkaBase.Ctr is not accessible from the kafka module
Function KafkaBase.Ctr is not accessible from the kafka module

container() 🔗

Return the default container.

Return Type
Container !
Example
Function KafkaBase.container is not accessible from the kafka module
Function KafkaBase.container is not accessible from the kafka module
Function KafkaBase.container is not accessible from the kafka module
Function KafkaBase.container is not accessible from the kafka module

withEnvVariable() 🔗

Set an environment variable.

Return Type
Base !
Arguments
NameTypeDefault ValueDescription
nameStringKind !-No description provided
valueStringKind !-No description provided
expandBooleanKind -No description provided
Example
Function KafkaBase.withEnvVariable is not accessible from the kafka module
Function KafkaBase.withEnvVariable is not accessible from the kafka module
Function KafkaBase.withEnvVariable is not accessible from the kafka module
Function KafkaBase.withEnvVariable is not accessible from the kafka module

service() 🔗

Launch a Kafka service using the default container.

Return Type
Service !
Example
Function KafkaBase.service is not accessible from the kafka module
Function KafkaBase.service is not accessible from the kafka module
Function KafkaBase.service is not accessible from the kafka module
Function KafkaBase.service is not accessible from the kafka module