java-sdk
It helps generate generate artifacts for new [Dagger.io](https://dagger.io) engine version. Artifacts: * Schemas for code generation * Library JarInstallation
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
Name | Type | Default Value | Description |
---|---|---|---|
daggerVersion | String | "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
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | 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
Name | Type | Default Value | Description |
---|---|---|---|
daggerVersion | String | "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
Name | Type | Default Value | Description |
---|---|---|---|
dir | Directory ! | - | No description provided |
version | String ! | - | No description provided |
path | String | - | 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
Name | Type | Default Value | Description |
---|---|---|---|
dir | Directory ! | - | No description provided |
version | String ! | - | 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
Name | Type | Default Value | Description |
---|---|---|---|
dir | Directory ! | - | No description provided |
daggerVersion | String | "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
Name | Type | Default Value | Description |
---|---|---|---|
dir | Directory ! | - | No description provided |
version | String | "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)
}