source
No long description provided.
Installation
dagger install github.com/aweris/gale/daggerverse/source@d00c71c68eb7abf9a34131cf87f84a9643825e72
Entrypoint
Return Type
Source
Example
dagger -m github.com/aweris/gale/daggerverse/source@d00c71c68eb7abf9a34131cf87f84a9643825e72 call \
func (m *myModule) example() *Source {
return dag.
Source()
}
@function
def example() -> dag.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@d00c71c68eb7abf9a34131cf87f84a9643825e72 call \
repo
func (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@d00c71c68eb7abf9a34131cf87f84a9643825e72 call \
ghx
func (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@d00c71c68eb7abf9a34131cf87f84a9643825e72 call \
artifact-service
func (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@d00c71c68eb7abf9a34131cf87f84a9643825e72 call \
artifact-cache-service
func (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 module
Function SourceGhxSource.code is not accessible from the source module
Function SourceGhxSource.code is not accessible from the source module
Function SourceGhxSource.code is not accessible from the source module
goMod() 🔗
GoMod returns the go.mod file of the ghx module.
Return Type
File !
Example
Function SourceGhxSource.goMod is not accessible from the source module
Function SourceGhxSource.goMod is not accessible from the source module
Function SourceGhxSource.goMod is not accessible from the source module
Function SourceGhxSource.goMod is not accessible from the source module
goVersion() 🔗
GoVersion returns the Go version of the ghx module.
Return Type
StringKind !
Example
Function SourceGhxSource.goVersion is not accessible from the source module
Function SourceGhxSource.goVersion is not accessible from the source module
Function SourceGhxSource.goVersion is not accessible from the source module
Function SourceGhxSource.goVersion is not accessible from the source module
mountedCode() 🔗
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 module
Function SourceGhxSource.mountedCode is not accessible from the source module
Function SourceGhxSource.mountedCode is not accessible from the source module
Function SourceGhxSource.mountedCode is not accessible from the source module
binary() 🔗
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 module
Function SourceGhxSource.binary is not accessible from the source module
Function SourceGhxSource.binary is not accessible from the source module
Function SourceGhxSource.binary is not accessible from the source module
ArtifactServiceSource 🔗
code() 🔗
Code returns the source code of the ghx module.
Return Type
Directory !
Example
Function SourceArtifactServiceSource.code is not accessible from the source module
Function SourceArtifactServiceSource.code is not accessible from the source module
Function SourceArtifactServiceSource.code is not accessible from the source module
Function SourceArtifactServiceSource.code is not accessible from the source module
goMod() 🔗
GoMod returns the go.mod file of the ghx module.
Return Type
File !
Example
Function SourceArtifactServiceSource.goMod is not accessible from the source module
Function SourceArtifactServiceSource.goMod is not accessible from the source module
Function SourceArtifactServiceSource.goMod is not accessible from the source module
Function SourceArtifactServiceSource.goMod is not accessible from the source module
goVersion() 🔗
GoVersion returns the Go version of the ghx module.
Return Type
StringKind !
Example
Function SourceArtifactServiceSource.goVersion is not accessible from the source module
Function SourceArtifactServiceSource.goVersion is not accessible from the source module
Function SourceArtifactServiceSource.goVersion is not accessible from the source module
Function SourceArtifactServiceSource.goVersion is not accessible from the source module
mountedCode() 🔗
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 module
Function SourceArtifactServiceSource.mountedCode is not accessible from the source module
Function SourceArtifactServiceSource.mountedCode is not accessible from the source module
Function SourceArtifactServiceSource.mountedCode is not accessible from the source module
cacheVolume() 🔗
Return Type
CacheVolume !
Example
Function SourceArtifactServiceSource.cacheVolume is not accessible from the source module
Function SourceArtifactServiceSource.cacheVolume is not accessible from the source module
Function SourceArtifactServiceSource.cacheVolume is not accessible from the source module
Function SourceArtifactServiceSource.cacheVolume is not accessible from the source module
container() 🔗
Return Type
Container !
Example
Function SourceArtifactServiceSource.container is not accessible from the source module
Function SourceArtifactServiceSource.container is not accessible from the source module
Function SourceArtifactServiceSource.container is not accessible from the source module
Function SourceArtifactServiceSource.container is not accessible from the source module
bindAsService() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | No description provided |
Example
Function SourceArtifactServiceSource.bindAsService is not accessible from the source module
Function SourceArtifactServiceSource.bindAsService is not accessible from the source module
Function SourceArtifactServiceSource.bindAsService is not accessible from the source module
Function SourceArtifactServiceSource.bindAsService is not accessible from the source module
ArtifactCacheServiceSource 🔗
code() 🔗
Code returns the source code of the ghx module.
Return Type
Directory !
Example
Function SourceArtifactCacheServiceSource.code is not accessible from the source module
Function SourceArtifactCacheServiceSource.code is not accessible from the source module
Function SourceArtifactCacheServiceSource.code is not accessible from the source module
Function SourceArtifactCacheServiceSource.code is not accessible from the source module
goMod() 🔗
GoMod returns the go.mod file of the ghx module.
Return Type
File !
Example
Function SourceArtifactCacheServiceSource.goMod is not accessible from the source module
Function SourceArtifactCacheServiceSource.goMod is not accessible from the source module
Function SourceArtifactCacheServiceSource.goMod is not accessible from the source module
Function SourceArtifactCacheServiceSource.goMod is not accessible from the source module
goVersion() 🔗
GoVersion returns the Go version of the ghx module.
Return Type
StringKind !
Example
Function SourceArtifactCacheServiceSource.goVersion is not accessible from the source module
Function SourceArtifactCacheServiceSource.goVersion is not accessible from the source module
Function SourceArtifactCacheServiceSource.goVersion is not accessible from the source module
Function SourceArtifactCacheServiceSource.goVersion is not accessible from the source module
mountedCode() 🔗
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 module
Function SourceArtifactCacheServiceSource.mountedCode is not accessible from the source module
Function SourceArtifactCacheServiceSource.mountedCode is not accessible from the source module
Function SourceArtifactCacheServiceSource.mountedCode is not accessible from the source module
cacheVolume() 🔗
Return Type
CacheVolume !
Example
Function SourceArtifactCacheServiceSource.cacheVolume is not accessible from the source module
Function SourceArtifactCacheServiceSource.cacheVolume is not accessible from the source module
Function SourceArtifactCacheServiceSource.cacheVolume is not accessible from the source module
Function SourceArtifactCacheServiceSource.cacheVolume is not accessible from the source module
container() 🔗
Return Type
Container !
Example
Function SourceArtifactCacheServiceSource.container is not accessible from the source module
Function SourceArtifactCacheServiceSource.container is not accessible from the source module
Function SourceArtifactCacheServiceSource.container is not accessible from the source module
Function SourceArtifactCacheServiceSource.container is not accessible from the source module
bindAsService() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | No description provided |
Example
Function SourceArtifactCacheServiceSource.bindAsService is not accessible from the source module
Function SourceArtifactCacheServiceSource.bindAsService is not accessible from the source module
Function SourceArtifactCacheServiceSource.bindAsService is not accessible from the source module
Function SourceArtifactCacheServiceSource.bindAsService is not accessible from the source module