uv
No long description provided.
Installation
dagger install github.com/BasisTI/daggerverse/uv@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16Entrypoint
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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, buildimage: str, runimage: str, usecache: bool) -> dagger.Uv:
return (
dag.uv(source, buildimage, runimage, usecache)
)@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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, buildimage: str, runimage: str, usecache: bool) -> str:
return await (
dag.uv(source, buildimage, runimage, usecache)
.buildimage()
)@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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, buildimage: str, runimage: str, usecache: bool) -> str:
return await (
dag.uv(source, buildimage, runimage, usecache)
.runimage()
)@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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, buildimage: str, runimage: str, usecache: bool) -> bool:
return await (
dag.uv(source, buildimage, runimage, usecache)
.usecache()
)@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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, buildimage: str, runimage: str, usecache: bool) -> dagger.Directory:
return (
dag.uv(source, buildimage, runimage, usecache)
.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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, buildimage: str, runimage: str, usecache: bool) -> str:
return await (
dag.uv(source, buildimage, runimage, usecache)
.runsubdir()
)@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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, buildimage: str, runimage: str, usecache: bool) -> List[str]:
return await (
dag.uv(source, buildimage, runimage, usecache)
.customizations()
)@func()
async example(source: Directory, buildImage: string, runImage: string, useCache: boolean): Promise<string[]> {
return dag
.uv(source, buildImage, runImage, useCache)
.customizations()
}buildContainer() 🔗
Return Type
Container ! Example
dagger -m github.com/BasisTI/daggerverse/uv@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, buildimage: str, runimage: str, usecache: bool) -> dagger.Container:
return (
dag.uv(source, buildimage, runimage, usecache)
.buildcontainer()
)@func()
example(source: Directory, buildImage: string, runImage: string, useCache: boolean): Container {
return dag
.uv(source, buildImage, runImage, useCache)
.buildContainer()
}fullBuild() 🔗
Return Type
BuildResult !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| commitSha | String | - | Git commit SHA for image labels |
| version | String | - | Application version for image tag. When empty, falls back to pyproject.toml version. |
| 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, buildimage: str, runimage: str, usecache: bool) -> dagger.UvBuildResult:
return (
dag.uv(source, buildimage, runimage, usecache)
.fullbuild()
)@func()
example(source: Directory, buildImage: string, runImage: string, useCache: boolean): UvBuildResult {
return dag
.uv(source, buildImage, runImage, useCache)
.fullBuild()
}newContainer() 🔗
Return Type
Container ! Example
dagger -m github.com/BasisTI/daggerverse/uv@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, buildimage: str, runimage: str, usecache: bool) -> dagger.Container:
return (
dag.uv(source, buildimage, runimage, usecache)
.newcontainer()
)@func()
example(source: Directory, buildImage: string, runImage: string, useCache: boolean): Container {
return dag
.uv(source, buildImage, runImage, useCache)
.newContainer()
}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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, buildimage: str, runimage: str, usecache: bool, registry: str, group: str, image: str, username: str, passwordsecret: dagger.Secret) -> dagger.UvDockerBuildConfig:
return (
dag.uv(source, buildimage, runimage, usecache)
.newdockerbuildconfig(registry, group, image, username, passwordsecret)
)@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:12.0.0.3214_8.0.1" | 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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, buildimage: str, runimage: str, usecache: bool, host: str, tokensecret: dagger.Secret, projectkey: str, analysisimage: str, cachekey: str, usecache1: bool, waitforqualitygate: bool, workdir: str) -> dagger.UvSonarConfig:
return (
dag.uv(source, buildimage, runimage, usecache)
.newsonarconfig(host, tokensecret, projectkey, analysisimage, cachekey, usecache1, waitforqualitygate, workdir)
)@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)
}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()
.fullbuild()
.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()
.fullbuild()
.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()
.fullbuild()
.imageurl()
)@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()
.fullbuild()
.executedstages()
)@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()
.fullbuild()
.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()
.fullbuild()
.stderr()
)@func()
async example(): Promise<string[]> {
return dag
.uv()
.fullBuild()
.stderr()
}SonarConfig 🔗
SonarConfig encapsulates the parameters required to run SonarQube analysis from npm.
analysisImage() 🔗
Return Type
String ! Example
dagger -m github.com/BasisTI/daggerverse/uv@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, tokensecret: dagger.Secret, projectkey: str, analysisimage: str, cachekey: str, usecache: bool, waitforqualitygate: bool, workdir: str) -> str:
return await (
dag.uv()
.newsonarconfig(host, tokensecret, projectkey, analysisimage, cachekey, usecache, waitforqualitygate, workdir)
.analysisimage()
)@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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, tokensecret: dagger.Secret, projectkey: str, analysisimage: str, cachekey: str, usecache: bool, waitforqualitygate: bool, workdir: str) -> str:
return await (
dag.uv()
.newsonarconfig(host, tokensecret, projectkey, analysisimage, cachekey, usecache, waitforqualitygate, workdir)
.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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, tokensecret: dagger.Secret, projectkey: str, analysisimage: str, cachekey: str, usecache: bool, waitforqualitygate: bool, workdir: str) -> dagger.Secret:
return (
dag.uv()
.newsonarconfig(host, tokensecret, projectkey, analysisimage, cachekey, usecache, waitforqualitygate, workdir)
.tokensecret()
)@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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, tokensecret: dagger.Secret, projectkey: str, analysisimage: str, cachekey: str, usecache: bool, waitforqualitygate: bool, workdir: str) -> str:
return await (
dag.uv()
.newsonarconfig(host, tokensecret, projectkey, analysisimage, cachekey, usecache, waitforqualitygate, workdir)
.projectkey()
)@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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, tokensecret: dagger.Secret, projectkey: str, analysisimage: str, cachekey: str, usecache: bool, waitforqualitygate: bool, workdir: str) -> str:
return await (
dag.uv()
.newsonarconfig(host, tokensecret, projectkey, analysisimage, cachekey, usecache, waitforqualitygate, workdir)
.cachekey()
)@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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, tokensecret: dagger.Secret, projectkey: str, analysisimage: str, cachekey: str, usecache: bool, waitforqualitygate: bool, workdir: str) -> bool:
return await (
dag.uv()
.newsonarconfig(host, tokensecret, projectkey, analysisimage, cachekey, usecache, waitforqualitygate, workdir)
.usecache()
)@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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, tokensecret: dagger.Secret, projectkey: str, analysisimage: str, cachekey: str, usecache: bool, waitforqualitygate: bool, workdir: str) -> bool:
return await (
dag.uv()
.newsonarconfig(host, tokensecret, projectkey, analysisimage, cachekey, usecache, waitforqualitygate, workdir)
.waitforqualitygate()
)@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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, tokensecret: dagger.Secret, projectkey: str, analysisimage: str, cachekey: str, usecache: bool, waitforqualitygate: bool, workdir: str) -> str:
return await (
dag.uv()
.newsonarconfig(host, tokensecret, projectkey, analysisimage, cachekey, usecache, waitforqualitygate, workdir)
.workdir()
)@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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, tokensecret: dagger.Secret, projectkey: str, analysisimage: str, cachekey: str, usecache: bool, waitforqualitygate: bool, workdir: str) -> List[str]:
return await (
dag.uv()
.newsonarconfig(host, tokensecret, projectkey, analysisimage, cachekey, usecache, waitforqualitygate, workdir)
.extraoptions()
)@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()
}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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, passwordsecret: dagger.Secret) -> str:
return await (
dag.uv()
.newdockerbuildconfig(registry, group, image, username, passwordsecret)
.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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, passwordsecret: dagger.Secret) -> str:
return await (
dag.uv()
.newdockerbuildconfig(registry, group, image, username, passwordsecret)
.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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, passwordsecret: dagger.Secret) -> str:
return await (
dag.uv()
.newdockerbuildconfig(registry, group, image, username, passwordsecret)
.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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, passwordsecret: dagger.Secret) -> str:
return await (
dag.uv()
.newdockerbuildconfig(registry, group, image, username, passwordsecret)
.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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, passwordsecret: dagger.Secret) -> str:
return await (
dag.uv()
.newdockerbuildconfig(registry, group, image, username, passwordsecret)
.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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, passwordsecret: dagger.Secret) -> dagger.Secret:
return (
dag.uv()
.newdockerbuildconfig(registry, group, image, username, passwordsecret)
.passwordsecret()
)@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@73a916f5c92ebafdd38daa5b8009b4f4d80b7d16 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, passwordsecret: dagger.Secret) -> List[str]:
return await (
dag.uv()
.newdockerbuildconfig(registry, group, image, username, passwordsecret)
.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()
}