uv
No long description provided.
Installation
dagger install github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1baEntrypoint
Return Type
Uv !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory ! | - | No description provided |
| buildImage | String ! | "ghcr.io/astral-sh/uv:0.8.19-python3.12-bookworm-slim" | No description provided |
| runImage | String ! | "python:3.12-slim-bookworm" | No description provided |
| runSubdir | String | - | No description provided |
| useCache | Boolean ! | true | No description provided |
Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
--source DIR_PATH --build-image string --run-image string --use-cache booleanfunc (m *MyModule) Example(source *dagger.Directory, buildImage string, runImage string, useCache bool) *dagger.Uv {
return dag.
Uv(source, buildImage, runImage, useCache)
}@function
def example(source: dagger.Directory, build_image: str, run_image: str, use_cache: bool) -> dagger.Uv:
return (
dag.uv(source, build_image, run_image, use_cache)
)@func()
example(source: Directory, buildImage: string, runImage: string, useCache: boolean): Uv {
return dag
.uv(source, buildImage, runImage, useCache)
}Types
Uv 🔗
buildImage() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
--source DIR_PATH --build-image string --run-image string --use-cache boolean build-imagefunc (m *MyModule) Example(ctx context.Context, source *dagger.Directory, buildImage string, runImage string, useCache bool) string {
return dag.
Uv(source, buildImage, runImage, useCache).
BuildImage(ctx)
}@function
async def example(source: dagger.Directory, build_image: str, run_image: str, use_cache: bool) -> str:
return await (
dag.uv(source, build_image, run_image, use_cache)
.build_image()
)@func()
async example(source: Directory, buildImage: string, runImage: string, useCache: boolean): Promise<string> {
return dag
.uv(source, buildImage, runImage, useCache)
.buildImage()
}runImage() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
--source DIR_PATH --build-image string --run-image string --use-cache boolean run-imagefunc (m *MyModule) Example(ctx context.Context, source *dagger.Directory, buildImage string, runImage string, useCache bool) string {
return dag.
Uv(source, buildImage, runImage, useCache).
RunImage(ctx)
}@function
async def example(source: dagger.Directory, build_image: str, run_image: str, use_cache: bool) -> str:
return await (
dag.uv(source, build_image, run_image, use_cache)
.run_image()
)@func()
async example(source: Directory, buildImage: string, runImage: string, useCache: boolean): Promise<string> {
return dag
.uv(source, buildImage, runImage, useCache)
.runImage()
}useCache() 🔗
Return Type
Boolean ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
--source DIR_PATH --build-image string --run-image string --use-cache boolean use-cachefunc (m *MyModule) Example(ctx context.Context, source *dagger.Directory, buildImage string, runImage string, useCache bool) bool {
return dag.
Uv(source, buildImage, runImage, useCache).
UseCache(ctx)
}@function
async def example(source: dagger.Directory, build_image: str, run_image: str, use_cache: bool) -> bool:
return await (
dag.uv(source, build_image, run_image, use_cache)
.use_cache()
)@func()
async example(source: Directory, buildImage: string, runImage: string, useCache: boolean): Promise<boolean> {
return dag
.uv(source, buildImage, runImage, useCache)
.useCache()
}source() 🔗
Return Type
Directory ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
--source DIR_PATH --build-image string --run-image string --use-cache boolean sourcefunc (m *MyModule) Example(source *dagger.Directory, buildImage string, runImage string, useCache bool) *dagger.Directory {
return dag.
Uv(source, buildImage, runImage, useCache).
Source()
}@function
def example(source: dagger.Directory, build_image: str, run_image: str, use_cache: bool) -> dagger.Directory:
return (
dag.uv(source, build_image, run_image, use_cache)
.source()
)@func()
example(source: Directory, buildImage: string, runImage: string, useCache: boolean): Directory {
return dag
.uv(source, buildImage, runImage, useCache)
.source()
}runSubdir() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
--source DIR_PATH --build-image string --run-image string --use-cache boolean run-subdirfunc (m *MyModule) Example(ctx context.Context, source *dagger.Directory, buildImage string, runImage string, useCache bool) string {
return dag.
Uv(source, buildImage, runImage, useCache).
RunSubdir(ctx)
}@function
async def example(source: dagger.Directory, build_image: str, run_image: str, use_cache: bool) -> str:
return await (
dag.uv(source, build_image, run_image, use_cache)
.run_subdir()
)@func()
async example(source: Directory, buildImage: string, runImage: string, useCache: boolean): Promise<string> {
return dag
.uv(source, buildImage, runImage, useCache)
.runSubdir()
}customizations() 🔗
Customizations list of Build Container customizations that will be executed. Valid values: “dbt” and “dlt”
Return Type
[String ! ] ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
--source DIR_PATH --build-image string --run-image string --use-cache boolean customizationsfunc (m *MyModule) Example(ctx context.Context, source *dagger.Directory, buildImage string, runImage string, useCache bool) []string {
return dag.
Uv(source, buildImage, runImage, useCache).
Customizations(ctx)
}@function
async def example(source: dagger.Directory, build_image: str, run_image: str, use_cache: bool) -> List[str]:
return await (
dag.uv(source, build_image, run_image, use_cache)
.customizations()
)@func()
async example(source: Directory, buildImage: string, runImage: string, useCache: boolean): Promise<string[]> {
return dag
.uv(source, buildImage, runImage, useCache)
.customizations()
}newDockerBuildConfig() 🔗
NewDockerBuildConfig returns a DockerBuildConfig initialised with registry metadata and credentials.
Return Type
DockerBuildConfig !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| registry | String ! | - | No description provided |
| group | String ! | - | No description provided |
| image | String ! | - | No description provided |
| username | String ! | - | No description provided |
| passwordSecret | Secret ! | - | No description provided |
Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
--source DIR_PATH --build-image string --run-image string --use-cache boolean new-docker-build-config --registry string --group string --image string --username string --password-secret env:MYSECRETfunc (m *MyModule) Example(source *dagger.Directory, buildImage string, runImage string, useCache bool, registry string, group string, image string, username string, passwordSecret *dagger.Secret) *dagger.UvDockerBuildConfig {
return dag.
Uv(source, buildImage, runImage, useCache).
NewDockerBuildConfig(registry, group, image, username, passwordSecret)
}@function
def example(source: dagger.Directory, build_image: str, run_image: str, use_cache: bool, registry: str, group: str, image: str, username: str, password_secret: dagger.Secret) -> dagger.UvDockerBuildConfig:
return (
dag.uv(source, build_image, run_image, use_cache)
.new_docker_build_config(registry, group, image, username, password_secret)
)@func()
example(source: Directory, buildImage: string, runImage: string, useCache: boolean, registry: string, group: string, image: string, username: string, passwordSecret: Secret): UvDockerBuildConfig {
return dag
.uv(source, buildImage, runImage, useCache)
.newDockerBuildConfig(registry, group, image, username, passwordSecret)
}newSonarConfig() 🔗
NewSonarConfig validates the provided inputs and returns an npm-specific Sonar configuration.
Return Type
SonarConfig !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| host | String ! | - | No description provided |
| tokenSecret | Secret ! | - | No description provided |
| projectKey | String ! | - | No description provided |
| analysisImage | String ! | "sonarsource/sonar-scanner-cli:11.4.0.2044_7.2.0" | No description provided |
| cacheKey | String ! | "SONARQUBE-CACHE" | No description provided |
| useCache | Boolean ! | true | No description provided |
| waitForQualityGate | Boolean ! | true | No description provided |
| workDir | String ! | "/usr/src" | No description provided |
| extraOptions | [String ! ] | - | No description provided |
Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
--source DIR_PATH --build-image string --run-image string --use-cache boolean new-sonar-config --host string --token-secret env:MYSECRET --project-key string --analysis-image string --cache-key string --use-cache boolean --wait-for-quality-gate boolean --work-dir stringfunc (m *MyModule) Example(source *dagger.Directory, buildImage string, runImage string, useCache bool, host string, tokenSecret *dagger.Secret, projectKey string, analysisImage string, cacheKey string, useCache1 bool, waitForQualityGate bool, workDir string) *dagger.UvSonarConfig {
return dag.
Uv(source, buildImage, runImage, useCache).
NewSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache1, waitForQualityGate, workDir)
}@function
def example(source: dagger.Directory, build_image: str, run_image: str, use_cache: bool, host: str, token_secret: dagger.Secret, project_key: str, analysis_image: str, cache_key: str, use_cache1: bool, wait_for_quality_gate: bool, work_dir: str) -> dagger.UvSonarConfig:
return (
dag.uv(source, build_image, run_image, use_cache)
.new_sonar_config(host, token_secret, project_key, analysis_image, cache_key, use_cache1, wait_for_quality_gate, work_dir)
)@func()
example(source: Directory, buildImage: string, runImage: string, useCache: boolean, host: string, tokenSecret: Secret, projectKey: string, analysisImage: string, cacheKey: string, useCache1: boolean, waitForQualityGate: boolean, workDir: string): UvSonarConfig {
return dag
.uv(source, buildImage, runImage, useCache)
.newSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache1, waitForQualityGate, workDir)
}fullBuild() 🔗
Return Type
BuildResult !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| commitSha | String | - | Git commit SHA for image labels |
| sonarConfig | SonarConfig | - | No description provided |
| dockerConfig | DockerBuildConfig | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(source *dagger.Directory, buildImage string, runImage string, useCache bool) *dagger.UvBuildResult {
return dag.
Uv(source, buildImage, runImage, useCache).
FullBuild()
}@function
def example(source: dagger.Directory, build_image: str, run_image: str, use_cache: bool) -> dagger.UvBuildResult:
return (
dag.uv(source, build_image, run_image, use_cache)
.full_build()
)@func()
example(source: Directory, buildImage: string, runImage: string, useCache: boolean): UvBuildResult {
return dag
.uv(source, buildImage, runImage, useCache)
.fullBuild()
}buildContainer() 🔗
Return Type
Container ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
--source DIR_PATH --build-image string --run-image string --use-cache boolean build-containerfunc (m *MyModule) Example(source *dagger.Directory, buildImage string, runImage string, useCache bool) *dagger.Container {
return dag.
Uv(source, buildImage, runImage, useCache).
BuildContainer()
}@function
def example(source: dagger.Directory, build_image: str, run_image: str, use_cache: bool) -> dagger.Container:
return (
dag.uv(source, build_image, run_image, use_cache)
.build_container()
)@func()
example(source: Directory, buildImage: string, runImage: string, useCache: boolean): Container {
return dag
.uv(source, buildImage, runImage, useCache)
.buildContainer()
}newContainer() 🔗
Return Type
Container ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
--source DIR_PATH --build-image string --run-image string --use-cache boolean new-containerfunc (m *MyModule) Example(source *dagger.Directory, buildImage string, runImage string, useCache bool) *dagger.Container {
return dag.
Uv(source, buildImage, runImage, useCache).
NewContainer()
}@function
def example(source: dagger.Directory, build_image: str, run_image: str, use_cache: bool) -> dagger.Container:
return (
dag.uv(source, build_image, run_image, use_cache)
.new_container()
)@func()
example(source: Directory, buildImage: string, runImage: string, useCache: boolean): Container {
return dag
.uv(source, buildImage, runImage, useCache)
.newContainer()
}BuildResult 🔗
BuildResult aggregates the outcome of the npm pipeline for a single project.
artifacts() 🔗
Return Type
Directory ! Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example() *dagger.Directory {
return dag.
Uv().
FullBuild().
Artifacts()
}@function
def example() -> dagger.Directory:
return (
dag.uv()
.full_build()
.artifacts()
)@func()
example(): Directory {
return dag
.uv()
.fullBuild()
.artifacts()
}container() 🔗
Return Type
Container ! Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example() *dagger.Container {
return dag.
Uv().
FullBuild().
Container()
}@function
def example() -> dagger.Container:
return (
dag.uv()
.full_build()
.container()
)@func()
example(): Container {
return dag
.uv()
.fullBuild()
.container()
}imageUrl() 🔗
Return Type
String ! Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context) string {
return dag.
Uv().
FullBuild().
ImageUrl(ctx)
}@function
async def example() -> str:
return await (
dag.uv()
.full_build()
.image_url()
)@func()
async example(): Promise<string> {
return dag
.uv()
.fullBuild()
.imageUrl()
}executedStages() 🔗
Return Type
[String ! ] ! Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context) []string {
return dag.
Uv().
FullBuild().
ExecutedStages(ctx)
}@function
async def example() -> List[str]:
return await (
dag.uv()
.full_build()
.executed_stages()
)@func()
async example(): Promise<string[]> {
return dag
.uv()
.fullBuild()
.executedStages()
}stdout() 🔗
Return Type
[String ! ] ! Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context) []string {
return dag.
Uv().
FullBuild().
Stdout(ctx)
}@function
async def example() -> List[str]:
return await (
dag.uv()
.full_build()
.stdout()
)@func()
async example(): Promise<string[]> {
return dag
.uv()
.fullBuild()
.stdout()
}stderr() 🔗
Return Type
[String ! ] ! Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context) []string {
return dag.
Uv().
FullBuild().
Stderr(ctx)
}@function
async def example() -> List[str]:
return await (
dag.uv()
.full_build()
.stderr()
)@func()
async example(): Promise<string[]> {
return dag
.uv()
.fullBuild()
.stderr()
}DockerBuildConfig 🔗
DockerBuildConfig stores the data needed to construct an image reference and authenticate pushes.
registry() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-docker-build-config --registry string --group string --image string --username string --password-secret env:MYSECRET \
registryfunc (m *MyModule) Example(ctx context.Context, registry string, group string, image string, username string, passwordSecret *dagger.Secret) string {
return dag.
Uv().
NewDockerBuildConfig(registry, group, image, username, passwordSecret).
Registry(ctx)
}@function
async def example(registry: str, group: str, image: str, username: str, password_secret: dagger.Secret) -> str:
return await (
dag.uv()
.new_docker_build_config(registry, group, image, username, password_secret)
.registry()
)@func()
async example(registry: string, group: string, image: string, username: string, passwordSecret: Secret): Promise<string> {
return dag
.uv()
.newDockerBuildConfig(registry, group, image, username, passwordSecret)
.registry()
}group() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-docker-build-config --registry string --group string --image string --username string --password-secret env:MYSECRET \
groupfunc (m *MyModule) Example(ctx context.Context, registry string, group string, image string, username string, passwordSecret *dagger.Secret) string {
return dag.
Uv().
NewDockerBuildConfig(registry, group, image, username, passwordSecret).
Group(ctx)
}@function
async def example(registry: str, group: str, image: str, username: str, password_secret: dagger.Secret) -> str:
return await (
dag.uv()
.new_docker_build_config(registry, group, image, username, password_secret)
.group()
)@func()
async example(registry: string, group: string, image: string, username: string, passwordSecret: Secret): Promise<string> {
return dag
.uv()
.newDockerBuildConfig(registry, group, image, username, passwordSecret)
.group()
}image() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-docker-build-config --registry string --group string --image string --username string --password-secret env:MYSECRET \
imagefunc (m *MyModule) Example(ctx context.Context, registry string, group string, image string, username string, passwordSecret *dagger.Secret) string {
return dag.
Uv().
NewDockerBuildConfig(registry, group, image, username, passwordSecret).
Image(ctx)
}@function
async def example(registry: str, group: str, image: str, username: str, password_secret: dagger.Secret) -> str:
return await (
dag.uv()
.new_docker_build_config(registry, group, image, username, password_secret)
.image()
)@func()
async example(registry: string, group: string, image: string, username: string, passwordSecret: Secret): Promise<string> {
return dag
.uv()
.newDockerBuildConfig(registry, group, image, username, passwordSecret)
.image()
}tag() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-docker-build-config --registry string --group string --image string --username string --password-secret env:MYSECRET \
tagfunc (m *MyModule) Example(ctx context.Context, registry string, group string, image string, username string, passwordSecret *dagger.Secret) string {
return dag.
Uv().
NewDockerBuildConfig(registry, group, image, username, passwordSecret).
Tag(ctx)
}@function
async def example(registry: str, group: str, image: str, username: str, password_secret: dagger.Secret) -> str:
return await (
dag.uv()
.new_docker_build_config(registry, group, image, username, password_secret)
.tag()
)@func()
async example(registry: string, group: string, image: string, username: string, passwordSecret: Secret): Promise<string> {
return dag
.uv()
.newDockerBuildConfig(registry, group, image, username, passwordSecret)
.tag()
}username() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-docker-build-config --registry string --group string --image string --username string --password-secret env:MYSECRET \
usernamefunc (m *MyModule) Example(ctx context.Context, registry string, group string, image string, username string, passwordSecret *dagger.Secret) string {
return dag.
Uv().
NewDockerBuildConfig(registry, group, image, username, passwordSecret).
Username(ctx)
}@function
async def example(registry: str, group: str, image: str, username: str, password_secret: dagger.Secret) -> str:
return await (
dag.uv()
.new_docker_build_config(registry, group, image, username, password_secret)
.username()
)@func()
async example(registry: string, group: string, image: string, username: string, passwordSecret: Secret): Promise<string> {
return dag
.uv()
.newDockerBuildConfig(registry, group, image, username, passwordSecret)
.username()
}passwordSecret() 🔗
Return Type
Secret ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-docker-build-config --registry string --group string --image string --username string --password-secret env:MYSECRET \
password-secretfunc (m *MyModule) Example(registry string, group string, image string, username string, passwordSecret *dagger.Secret) *dagger.Secret {
return dag.
Uv().
NewDockerBuildConfig(registry, group, image, username, passwordSecret).
PasswordSecret()
}@function
def example(registry: str, group: str, image: str, username: str, password_secret: dagger.Secret) -> dagger.Secret:
return (
dag.uv()
.new_docker_build_config(registry, group, image, username, password_secret)
.password_secret()
)@func()
example(registry: string, group: string, image: string, username: string, passwordSecret: Secret): Secret {
return dag
.uv()
.newDockerBuildConfig(registry, group, image, username, passwordSecret)
.passwordSecret()
}options() 🔗
Return Type
[String ! ] ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-docker-build-config --registry string --group string --image string --username string --password-secret env:MYSECRET \
optionsfunc (m *MyModule) Example(ctx context.Context, registry string, group string, image string, username string, passwordSecret *dagger.Secret) []string {
return dag.
Uv().
NewDockerBuildConfig(registry, group, image, username, passwordSecret).
Options(ctx)
}@function
async def example(registry: str, group: str, image: str, username: str, password_secret: dagger.Secret) -> List[str]:
return await (
dag.uv()
.new_docker_build_config(registry, group, image, username, password_secret)
.options()
)@func()
async example(registry: string, group: string, image: string, username: string, passwordSecret: Secret): Promise<string[]> {
return dag
.uv()
.newDockerBuildConfig(registry, group, image, username, passwordSecret)
.options()
}SonarConfig 🔗
SonarConfig encapsulates the parameters required to run SonarQube analysis from npm.
analysisImage() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-sonar-config --host string --token-secret env:MYSECRET --project-key string --analysis-image string --cache-key string --use-cache boolean --wait-for-quality-gate boolean --work-dir string \
analysis-imagefunc (m *MyModule) Example(ctx context.Context, host string, tokenSecret *dagger.Secret, projectKey string, analysisImage string, cacheKey string, useCache bool, waitForQualityGate bool, workDir string) string {
return dag.
Uv().
NewSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir).
AnalysisImage(ctx)
}@function
async def example(host: str, token_secret: dagger.Secret, project_key: str, analysis_image: str, cache_key: str, use_cache: bool, wait_for_quality_gate: bool, work_dir: str) -> str:
return await (
dag.uv()
.new_sonar_config(host, token_secret, project_key, analysis_image, cache_key, use_cache, wait_for_quality_gate, work_dir)
.analysis_image()
)@func()
async example(host: string, tokenSecret: Secret, projectKey: string, analysisImage: string, cacheKey: string, useCache: boolean, waitForQualityGate: boolean, workDir: string): Promise<string> {
return dag
.uv()
.newSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir)
.analysisImage()
}host() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-sonar-config --host string --token-secret env:MYSECRET --project-key string --analysis-image string --cache-key string --use-cache boolean --wait-for-quality-gate boolean --work-dir string \
hostfunc (m *MyModule) Example(ctx context.Context, host string, tokenSecret *dagger.Secret, projectKey string, analysisImage string, cacheKey string, useCache bool, waitForQualityGate bool, workDir string) string {
return dag.
Uv().
NewSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir).
Host(ctx)
}@function
async def example(host: str, token_secret: dagger.Secret, project_key: str, analysis_image: str, cache_key: str, use_cache: bool, wait_for_quality_gate: bool, work_dir: str) -> str:
return await (
dag.uv()
.new_sonar_config(host, token_secret, project_key, analysis_image, cache_key, use_cache, wait_for_quality_gate, work_dir)
.host()
)@func()
async example(host: string, tokenSecret: Secret, projectKey: string, analysisImage: string, cacheKey: string, useCache: boolean, waitForQualityGate: boolean, workDir: string): Promise<string> {
return dag
.uv()
.newSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir)
.host()
}tokenSecret() 🔗
Return Type
Secret ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-sonar-config --host string --token-secret env:MYSECRET --project-key string --analysis-image string --cache-key string --use-cache boolean --wait-for-quality-gate boolean --work-dir string \
token-secretfunc (m *MyModule) Example(host string, tokenSecret *dagger.Secret, projectKey string, analysisImage string, cacheKey string, useCache bool, waitForQualityGate bool, workDir string) *dagger.Secret {
return dag.
Uv().
NewSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir).
TokenSecret()
}@function
def example(host: str, token_secret: dagger.Secret, project_key: str, analysis_image: str, cache_key: str, use_cache: bool, wait_for_quality_gate: bool, work_dir: str) -> dagger.Secret:
return (
dag.uv()
.new_sonar_config(host, token_secret, project_key, analysis_image, cache_key, use_cache, wait_for_quality_gate, work_dir)
.token_secret()
)@func()
example(host: string, tokenSecret: Secret, projectKey: string, analysisImage: string, cacheKey: string, useCache: boolean, waitForQualityGate: boolean, workDir: string): Secret {
return dag
.uv()
.newSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir)
.tokenSecret()
}projectKey() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-sonar-config --host string --token-secret env:MYSECRET --project-key string --analysis-image string --cache-key string --use-cache boolean --wait-for-quality-gate boolean --work-dir string \
project-keyfunc (m *MyModule) Example(ctx context.Context, host string, tokenSecret *dagger.Secret, projectKey string, analysisImage string, cacheKey string, useCache bool, waitForQualityGate bool, workDir string) string {
return dag.
Uv().
NewSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir).
ProjectKey(ctx)
}@function
async def example(host: str, token_secret: dagger.Secret, project_key: str, analysis_image: str, cache_key: str, use_cache: bool, wait_for_quality_gate: bool, work_dir: str) -> str:
return await (
dag.uv()
.new_sonar_config(host, token_secret, project_key, analysis_image, cache_key, use_cache, wait_for_quality_gate, work_dir)
.project_key()
)@func()
async example(host: string, tokenSecret: Secret, projectKey: string, analysisImage: string, cacheKey: string, useCache: boolean, waitForQualityGate: boolean, workDir: string): Promise<string> {
return dag
.uv()
.newSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir)
.projectKey()
}cacheKey() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-sonar-config --host string --token-secret env:MYSECRET --project-key string --analysis-image string --cache-key string --use-cache boolean --wait-for-quality-gate boolean --work-dir string \
cache-keyfunc (m *MyModule) Example(ctx context.Context, host string, tokenSecret *dagger.Secret, projectKey string, analysisImage string, cacheKey string, useCache bool, waitForQualityGate bool, workDir string) string {
return dag.
Uv().
NewSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir).
CacheKey(ctx)
}@function
async def example(host: str, token_secret: dagger.Secret, project_key: str, analysis_image: str, cache_key: str, use_cache: bool, wait_for_quality_gate: bool, work_dir: str) -> str:
return await (
dag.uv()
.new_sonar_config(host, token_secret, project_key, analysis_image, cache_key, use_cache, wait_for_quality_gate, work_dir)
.cache_key()
)@func()
async example(host: string, tokenSecret: Secret, projectKey: string, analysisImage: string, cacheKey: string, useCache: boolean, waitForQualityGate: boolean, workDir: string): Promise<string> {
return dag
.uv()
.newSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir)
.cacheKey()
}useCache() 🔗
Return Type
Boolean ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-sonar-config --host string --token-secret env:MYSECRET --project-key string --analysis-image string --cache-key string --use-cache boolean --wait-for-quality-gate boolean --work-dir string \
use-cachefunc (m *MyModule) Example(ctx context.Context, host string, tokenSecret *dagger.Secret, projectKey string, analysisImage string, cacheKey string, useCache bool, waitForQualityGate bool, workDir string) bool {
return dag.
Uv().
NewSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir).
UseCache(ctx)
}@function
async def example(host: str, token_secret: dagger.Secret, project_key: str, analysis_image: str, cache_key: str, use_cache: bool, wait_for_quality_gate: bool, work_dir: str) -> bool:
return await (
dag.uv()
.new_sonar_config(host, token_secret, project_key, analysis_image, cache_key, use_cache, wait_for_quality_gate, work_dir)
.use_cache()
)@func()
async example(host: string, tokenSecret: Secret, projectKey: string, analysisImage: string, cacheKey: string, useCache: boolean, waitForQualityGate: boolean, workDir: string): Promise<boolean> {
return dag
.uv()
.newSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir)
.useCache()
}waitForQualityGate() 🔗
Return Type
Boolean ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-sonar-config --host string --token-secret env:MYSECRET --project-key string --analysis-image string --cache-key string --use-cache boolean --wait-for-quality-gate boolean --work-dir string \
wait-for-quality-gatefunc (m *MyModule) Example(ctx context.Context, host string, tokenSecret *dagger.Secret, projectKey string, analysisImage string, cacheKey string, useCache bool, waitForQualityGate bool, workDir string) bool {
return dag.
Uv().
NewSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir).
WaitForQualityGate(ctx)
}@function
async def example(host: str, token_secret: dagger.Secret, project_key: str, analysis_image: str, cache_key: str, use_cache: bool, wait_for_quality_gate: bool, work_dir: str) -> bool:
return await (
dag.uv()
.new_sonar_config(host, token_secret, project_key, analysis_image, cache_key, use_cache, wait_for_quality_gate, work_dir)
.wait_for_quality_gate()
)@func()
async example(host: string, tokenSecret: Secret, projectKey: string, analysisImage: string, cacheKey: string, useCache: boolean, waitForQualityGate: boolean, workDir: string): Promise<boolean> {
return dag
.uv()
.newSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir)
.waitForQualityGate()
}workDir() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-sonar-config --host string --token-secret env:MYSECRET --project-key string --analysis-image string --cache-key string --use-cache boolean --wait-for-quality-gate boolean --work-dir string \
work-dirfunc (m *MyModule) Example(ctx context.Context, host string, tokenSecret *dagger.Secret, projectKey string, analysisImage string, cacheKey string, useCache bool, waitForQualityGate bool, workDir string) string {
return dag.
Uv().
NewSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir).
WorkDir(ctx)
}@function
async def example(host: str, token_secret: dagger.Secret, project_key: str, analysis_image: str, cache_key: str, use_cache: bool, wait_for_quality_gate: bool, work_dir: str) -> str:
return await (
dag.uv()
.new_sonar_config(host, token_secret, project_key, analysis_image, cache_key, use_cache, wait_for_quality_gate, work_dir)
.work_dir()
)@func()
async example(host: string, tokenSecret: Secret, projectKey: string, analysisImage: string, cacheKey: string, useCache: boolean, waitForQualityGate: boolean, workDir: string): Promise<string> {
return dag
.uv()
.newSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir)
.workDir()
}extraOptions() 🔗
Return Type
[String ! ] ! Example
dagger -m github.com/BasisTI/daggerverse/uv@b71f1be8f581f0ea90755addccb2a02635adf1ba call \
new-sonar-config --host string --token-secret env:MYSECRET --project-key string --analysis-image string --cache-key string --use-cache boolean --wait-for-quality-gate boolean --work-dir string \
extra-optionsfunc (m *MyModule) Example(ctx context.Context, host string, tokenSecret *dagger.Secret, projectKey string, analysisImage string, cacheKey string, useCache bool, waitForQualityGate bool, workDir string) []string {
return dag.
Uv().
NewSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir).
ExtraOptions(ctx)
}@function
async def example(host: str, token_secret: dagger.Secret, project_key: str, analysis_image: str, cache_key: str, use_cache: bool, wait_for_quality_gate: bool, work_dir: str) -> List[str]:
return await (
dag.uv()
.new_sonar_config(host, token_secret, project_key, analysis_image, cache_key, use_cache, wait_for_quality_gate, work_dir)
.extra_options()
)@func()
async example(host: string, tokenSecret: Secret, projectKey: string, analysisImage: string, cacheKey: string, useCache: boolean, waitForQualityGate: boolean, workDir: string): Promise<string[]> {
return dag
.uv()
.newSonarConfig(host, tokenSecret, projectKey, analysisImage, cacheKey, useCache, waitForQualityGate, workDir)
.extraOptions()
}