Dagger
Search

java-sdk

It helps generate generate artifacts for new [Dagger.io](https://dagger.io) engine version. Artifacts: * Schemas for code generation * Library Jar

Installation

dagger install github.com/chrira/dagger-module-java-sdk-update/java-sdk@e278c6f734d9d821fa0dc426b25a7a094145541b

Entrypoint

Return Type
JavaSdk
Example
dagger -m github.com/chrira/dagger-module-java-sdk-update/java-sdk@e278c6f734d9d821fa0dc426b25a7a094145541b call \
func (m *myModule) example() *JavaSdk  {
	return dag.
			JavaSdk()
}
@function
def example() -> dag.JavaSdk:
	return (
		dag.java_sdk()
	)
@func()
example(): JavaSdk {
	return dag
		.javaSdk()
}

Types

JavaSdk 🔗

ctr() 🔗

Return Type
Container !
Example
dagger -m github.com/chrira/dagger-module-java-sdk-update/java-sdk@e278c6f734d9d821fa0dc426b25a7a094145541b call \
 ctr
func (m *myModule) example() *Container  {
	return dag.
			JavaSdk().
			Ctr()
}
@function
def example() -> dagger.Container:
	return (
		dag.java_sdk()
		.ctr()
	)
@func()
example(): Container {
	return dag
		.javaSdk()
		.ctr()
}

getJdk() 🔗

Return Type
JavaSdk !
Example
dagger -m github.com/chrira/dagger-module-java-sdk-update/java-sdk@e278c6f734d9d821fa0dc426b25a7a094145541b call \
 get-jdk
func (m *myModule) example() *JavaSdk  {
	return dag.
			JavaSdk().
			GetJdk()
}
@function
def example() -> dag.JavaSdk:
	return (
		dag.java_sdk()
		.get_jdk()
	)
@func()
example(): JavaSdk {
	return dag
		.javaSdk()
		.getJdk()
}

installDagger() 🔗

install Dagger

Return Type
JavaSdk !
Arguments
NameTypeDefault ValueDescription
daggerVersionString "0.10.2"No description provided
Example
dagger -m github.com/chrira/dagger-module-java-sdk-update/java-sdk@e278c6f734d9d821fa0dc426b25a7a094145541b call \
 install-dagger
func (m *myModule) example() *JavaSdk  {
	return dag.
			JavaSdk().
			InstallDagger()
}
@function
def example() -> dag.JavaSdk:
	return (
		dag.java_sdk()
		.install_dagger()
	)
@func()
example(): JavaSdk {
	return dag
		.javaSdk()
		.installDagger()
}

daggerVersion() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
dagger -m github.com/chrira/dagger-module-java-sdk-update/java-sdk@e278c6f734d9d821fa0dc426b25a7a094145541b call \
 dagger-version --container IMAGE:TAG
func (m *myModule) example(ctx context.Context, container *Container) string  {
	return dag.
			JavaSdk().
			DaggerVersion(ctx, container)
}
@function
async def example(container: dagger.Container) -> str:
	return await (
		dag.java_sdk()
		.dagger_version(container)
	)
@func()
async example(container: Container): Promise<string> {
	return dag
		.javaSdk()
		.daggerVersion(container)
}

ci() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
daggerVersionString "0.10.2"No description provided
Example
dagger -m github.com/chrira/dagger-module-java-sdk-update/java-sdk@e278c6f734d9d821fa0dc426b25a7a094145541b call \
 ci
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			JavaSdk().
			Ci(ctx)
}
@function
async def example() -> str:
	return await (
		dag.java_sdk()
		.ci()
	)
@func()
async example(): Promise<string> {
	return dag
		.javaSdk()
		.ci()
}

update() 🔗

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
dirDirectory !-No description provided
versionString !-No description provided
pathString -No description provided
Example
dagger -m github.com/chrira/dagger-module-java-sdk-update/java-sdk@e278c6f734d9d821fa0dc426b25a7a094145541b call \
 update --dir DIR_PATH --version string
func (m *myModule) example(dir *Directory, version string) *Directory  {
	return dag.
			JavaSdk().
			Update(dir, version)
}
@function
def example(dir: dagger.Directory, version: str) -> dagger.Directory:
	return (
		dag.java_sdk()
		.update(dir, version)
	)
@func()
example(dir: Directory, version: string): Directory {
	return dag
		.javaSdk()
		.update(dir, version)
}

updates() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
dirDirectory !-No description provided
versionString !-No description provided
Example
dagger -m github.com/chrira/dagger-module-java-sdk-update/java-sdk@e278c6f734d9d821fa0dc426b25a7a094145541b call \
 updates --dir DIR_PATH --version string
func (m *myModule) example(ctx context.Context, dir *Directory, version string) string  {
	return dag.
			JavaSdk().
			Updates(ctx, dir, version)
}
@function
async def example(dir: dagger.Directory, version: str) -> str:
	return await (
		dag.java_sdk()
		.updates(dir, version)
	)
@func()
async example(dir: Directory, version: string): Promise<string> {
	return dag
		.javaSdk()
		.updates(dir, version)
}

install() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
dirDirectory !-No description provided
daggerVersionString "0.10.2"No description provided
Example
dagger -m github.com/chrira/dagger-module-java-sdk-update/java-sdk@e278c6f734d9d821fa0dc426b25a7a094145541b call \
 install --dir DIR_PATH
func (m *myModule) example(ctx context.Context, dir *Directory) string  {
	return dag.
			JavaSdk().
			Install(ctx, dir)
}
@function
async def example(dir: dagger.Directory) -> str:
	return await (
		dag.java_sdk()
		.install(dir)
	)
@func()
async example(dir: Directory): Promise<string> {
	return dag
		.javaSdk()
		.install(dir)
}

generate() 🔗

Generate the Schema for the given Dagger engine version.

Example usage: dagger call generate --dir https://github.com/dagger/dagger

Return Type
String !
Arguments
NameTypeDefault ValueDescription
dirDirectory !-No description provided
versionString "0.10.2"No description provided
Example
dagger -m github.com/chrira/dagger-module-java-sdk-update/java-sdk@e278c6f734d9d821fa0dc426b25a7a094145541b call \
 generate --dir DIR_PATH
func (m *myModule) example(ctx context.Context, dir *Directory) string  {
	return dag.
			JavaSdk().
			Generate(ctx, dir)
}
@function
async def example(dir: dagger.Directory) -> str:
	return await (
		dag.java_sdk()
		.generate(dir)
	)
@func()
async example(dir: Directory): Promise<string> {
	return dag
		.javaSdk()
		.generate(dir)
}