Dagger
Search

java

No long description provided.

Installation

dagger install github.com/jcsirot/daggerverse/java@c591e9e0b99def2fc8a67bb090fca5cd06cf6a1d

Entrypoint

Return Type
Java
Example
func (m *myModule) example() *Java  {
	return dag.
			Java()
}
@function
def example() -> dag.Java:
	return (
		dag.java()
	)
@func()
example(): Java {
	return dag
		.java()
}

Types

Java 🔗

ctr() 🔗

Return Type
Container !
Example
dagger -m github.com/jcsirot/daggerverse/java@c591e9e0b99def2fc8a67bb090fca5cd06cf6a1d call \
 ctr
func (m *myModule) example() *Container  {
	return dag.
			Java().
			Ctr()
}
@function
def example() -> dagger.Container:
	return (
		dag.java()
		.ctr()
	)
@func()
example(): Container {
	return dag
		.java()
		.ctr()
}

withMaven() 🔗

Return Type
Java !
Arguments
NameTypeDefault ValueDescription
versionString !-No description provided
Example
dagger -m github.com/jcsirot/daggerverse/java@c591e9e0b99def2fc8a67bb090fca5cd06cf6a1d call \
 with-maven --version string \
 run --args string1 --args string2
func (m *myModule) example(version string) *Java  {
	return dag.
			Java().
			WithMaven(version)
}
@function
def example(version: str) -> dag.Java:
	return (
		dag.java()
		.with_maven(version)
	)
@func()
example(version: string): Java {
	return dag
		.java()
		.withMaven(version)
}

run() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
args[String ! ] !-No description provided
Example
dagger -m github.com/jcsirot/daggerverse/java@c591e9e0b99def2fc8a67bb090fca5cd06cf6a1d call \
 run --args string1 --args string2
func (m *myModule) example(args []string) *Container  {
	return dag.
			Java().
			Run(args)
}
@function
def example(args: List[str]) -> dagger.Container:
	return (
		dag.java()
		.run(args)
	)
@func()
example(args: string[]): Container {
	return dag
		.java()
		.run(args)
}

maven() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
args[String ! ] !-No description provided
Example
dagger -m github.com/jcsirot/daggerverse/java@c591e9e0b99def2fc8a67bb090fca5cd06cf6a1d call \
 maven --args string1 --args string2
func (m *myModule) example(args []string) *Container  {
	return dag.
			Java().
			Maven(args)
}
@function
def example(args: List[str]) -> dagger.Container:
	return (
		dag.java()
		.maven(args)
	)
@func()
example(args: string[]): Container {
	return dag
		.java()
		.maven(args)
}

withJdk() 🔗

Return Type
Java !
Arguments
NameTypeDefault ValueDescription
versionString !-No description provided
Example
dagger -m github.com/jcsirot/daggerverse/java@c591e9e0b99def2fc8a67bb090fca5cd06cf6a1d call \
 with-jdk --version string \
 run --args string1 --args string2
func (m *myModule) example(version string) *Java  {
	return dag.
			Java().
			WithJdk(version)
}
@function
def example(version: str) -> dag.Java:
	return (
		dag.java()
		.with_jdk(version)
	)
@func()
example(version: string): Java {
	return dag
		.java()
		.withJdk(version)
}

container() 🔗

Return Type
Container !
Example
dagger -m github.com/jcsirot/daggerverse/java@c591e9e0b99def2fc8a67bb090fca5cd06cf6a1d call \
 container
func (m *myModule) example() *Container  {
	return dag.
			Java().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.java()
		.container()
	)
@func()
example(): Container {
	return dag
		.java()
		.container()
}

withProject() 🔗

Return Type
Java !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
Example
dagger -m github.com/jcsirot/daggerverse/java@c591e9e0b99def2fc8a67bb090fca5cd06cf6a1d call \
 with-project --source DIR_PATH \
 run --args string1 --args string2
func (m *myModule) example(source *Directory) *Java  {
	return dag.
			Java().
			WithProject(source)
}
@function
def example(source: dagger.Directory) -> dag.Java:
	return (
		dag.java()
		.with_project(source)
	)
@func()
example(source: Directory): Java {
	return dag
		.java()
		.withProject(source)
}