source
No long description provided.
Installation
dagger install github.com/aweris/gale/daggerverse/source@051b8aec2704cd8a4e2a6633be658f8d4e16a893Entrypoint
Return Type
Source Example
dagger -m github.com/aweris/gale/daggerverse/source@051b8aec2704cd8a4e2a6633be658f8d4e16a893 call \
func (m *MyModule) Example() *dagger.Source {
return dag.
Source()
}@function
def example() -> dagger.Source:
return (
dag.source()
)@func()
example(): Source {
return dag
.source()
}Types
Source 🔗
repo() 🔗
Repo returns the source code of the repository.
Return Type
Directory ! Example
dagger -m github.com/aweris/gale/daggerverse/source@051b8aec2704cd8a4e2a6633be658f8d4e16a893 call \
repofunc (m *MyModule) Example() {
return dag.
Source().
Repo()
}@function
def example() -> :
return (
dag.source()
.repo()
)@func()
example(): {
return dag
.source()
.repo()
}ghx() 🔗
Return Type
GhxSource ! Example
dagger -m github.com/aweris/gale/daggerverse/source@051b8aec2704cd8a4e2a6633be658f8d4e16a893 call \
ghxfunc (m *MyModule) Example() {
return dag.
Source().
Ghx()
}@function
def example() -> :
return (
dag.source()
.ghx()
)@func()
example(): {
return dag
.source()
.ghx()
}artifactService() 🔗
Return Type
ArtifactServiceSource ! Example
dagger -m github.com/aweris/gale/daggerverse/source@051b8aec2704cd8a4e2a6633be658f8d4e16a893 call \
artifact-servicefunc (m *MyModule) Example() {
return dag.
Source().
ArtifactService()
}@function
def example() -> :
return (
dag.source()
.artifact_service()
)@func()
example(): {
return dag
.source()
.artifactService()
}artifactCacheService() 🔗
Return Type
ArtifactCacheServiceSource ! Example
dagger -m github.com/aweris/gale/daggerverse/source@051b8aec2704cd8a4e2a6633be658f8d4e16a893 call \
artifact-cache-servicefunc (m *MyModule) Example() {
return dag.
Source().
ArtifactCacheService()
}@function
def example() -> :
return (
dag.source()
.artifact_cache_service()
)@func()
example(): {
return dag
.source()
.artifactCacheService()
}GhxSource 🔗
code() 🔗
Code returns the source code of the ghx module.
Return Type
Directory ! Example
Function SourceGhxSource.code is not accessible from the source moduleFunction SourceGhxSource.code is not accessible from the source moduleFunction SourceGhxSource.code is not accessible from the source moduleFunction SourceGhxSource.code is not accessible from the source modulegoMod() 🔗
GoMod returns the go.mod file of the ghx module.
Return Type
File ! Example
Function SourceGhxSource.goMod is not accessible from the source moduleFunction SourceGhxSource.goMod is not accessible from the source moduleFunction SourceGhxSource.goMod is not accessible from the source moduleFunction SourceGhxSource.goMod is not accessible from the source modulegoVersion() 🔗
GoVersion returns the Go version of the ghx module.
Return Type
StringKind ! Example
Function SourceGhxSource.goVersion is not accessible from the source moduleFunction SourceGhxSource.goVersion is not accessible from the source moduleFunction SourceGhxSource.goVersion is not accessible from the source moduleFunction SourceGhxSource.goVersion is not accessible from the source modulemountedCode() 🔗
MountedCode returns the source code of the ghx module mounted in a container at /src and sets the working directory to /src/ghx.
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| c | Container ! | - | No description provided |
Example
Function SourceGhxSource.mountedCode is not accessible from the source moduleFunction SourceGhxSource.mountedCode is not accessible from the source moduleFunction SourceGhxSource.mountedCode is not accessible from the source moduleFunction SourceGhxSource.mountedCode is not accessible from the source modulebinary() 🔗
Binary adds the ghx binary to the given container and adds binary to the PATH environment variable.
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| container | Container ! | - | No description provided |
Example
Function SourceGhxSource.binary is not accessible from the source moduleFunction SourceGhxSource.binary is not accessible from the source moduleFunction SourceGhxSource.binary is not accessible from the source moduleFunction SourceGhxSource.binary is not accessible from the source moduleArtifactServiceSource 🔗
code() 🔗
Code returns the source code of the ghx module.
Return Type
Directory ! Example
Function SourceArtifactServiceSource.code is not accessible from the source moduleFunction SourceArtifactServiceSource.code is not accessible from the source moduleFunction SourceArtifactServiceSource.code is not accessible from the source moduleFunction SourceArtifactServiceSource.code is not accessible from the source modulegoMod() 🔗
GoMod returns the go.mod file of the ghx module.
Return Type
File ! Example
Function SourceArtifactServiceSource.goMod is not accessible from the source moduleFunction SourceArtifactServiceSource.goMod is not accessible from the source moduleFunction SourceArtifactServiceSource.goMod is not accessible from the source moduleFunction SourceArtifactServiceSource.goMod is not accessible from the source modulegoVersion() 🔗
GoVersion returns the Go version of the ghx module.
Return Type
StringKind ! Example
Function SourceArtifactServiceSource.goVersion is not accessible from the source moduleFunction SourceArtifactServiceSource.goVersion is not accessible from the source moduleFunction SourceArtifactServiceSource.goVersion is not accessible from the source moduleFunction SourceArtifactServiceSource.goVersion is not accessible from the source modulemountedCode() 🔗
MountedCode returns the source code of the ghx module mounted in a container at /src and sets the working directory to /src/ghx.
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| c | Container ! | - | No description provided |
Example
Function SourceArtifactServiceSource.mountedCode is not accessible from the source moduleFunction SourceArtifactServiceSource.mountedCode is not accessible from the source moduleFunction SourceArtifactServiceSource.mountedCode is not accessible from the source moduleFunction SourceArtifactServiceSource.mountedCode is not accessible from the source modulecacheVolume() 🔗
Return Type
CacheVolume ! Example
Function SourceArtifactServiceSource.cacheVolume is not accessible from the source moduleFunction SourceArtifactServiceSource.cacheVolume is not accessible from the source moduleFunction SourceArtifactServiceSource.cacheVolume is not accessible from the source moduleFunction SourceArtifactServiceSource.cacheVolume is not accessible from the source modulecontainer() 🔗
Return Type
Container ! Example
Function SourceArtifactServiceSource.container is not accessible from the source moduleFunction SourceArtifactServiceSource.container is not accessible from the source moduleFunction SourceArtifactServiceSource.container is not accessible from the source moduleFunction SourceArtifactServiceSource.container is not accessible from the source modulebindAsService() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| container | Container ! | - | No description provided |
Example
Function SourceArtifactServiceSource.bindAsService is not accessible from the source moduleFunction SourceArtifactServiceSource.bindAsService is not accessible from the source moduleFunction SourceArtifactServiceSource.bindAsService is not accessible from the source moduleFunction SourceArtifactServiceSource.bindAsService is not accessible from the source moduleArtifactCacheServiceSource 🔗
code() 🔗
Code returns the source code of the ghx module.
Return Type
Directory ! Example
Function SourceArtifactCacheServiceSource.code is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.code is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.code is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.code is not accessible from the source modulegoMod() 🔗
GoMod returns the go.mod file of the ghx module.
Return Type
File ! Example
Function SourceArtifactCacheServiceSource.goMod is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.goMod is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.goMod is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.goMod is not accessible from the source modulegoVersion() 🔗
GoVersion returns the Go version of the ghx module.
Return Type
StringKind ! Example
Function SourceArtifactCacheServiceSource.goVersion is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.goVersion is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.goVersion is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.goVersion is not accessible from the source modulemountedCode() 🔗
MountedCode returns the source code of the ghx module mounted in a container at /src and sets the working directory to /src/ghx.
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| c | Container ! | - | No description provided |
Example
Function SourceArtifactCacheServiceSource.mountedCode is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.mountedCode is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.mountedCode is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.mountedCode is not accessible from the source modulecacheVolume() 🔗
Return Type
CacheVolume ! Example
Function SourceArtifactCacheServiceSource.cacheVolume is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.cacheVolume is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.cacheVolume is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.cacheVolume is not accessible from the source modulecontainer() 🔗
Return Type
Container ! Example
Function SourceArtifactCacheServiceSource.container is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.container is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.container is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.container is not accessible from the source modulebindAsService() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| container | Container ! | - | No description provided |
Example
Function SourceArtifactCacheServiceSource.bindAsService is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.bindAsService is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.bindAsService is not accessible from the source moduleFunction SourceArtifactCacheServiceSource.bindAsService is not accessible from the source module