repo
No long description provided.
Installation
dagger install github.com/aweris/gale/daggerverse/repo@051b8aec2704cd8a4e2a6633be658f8d4e16a893Entrypoint
Return Type
Repo Example
dagger -m github.com/aweris/gale/daggerverse/repo@051b8aec2704cd8a4e2a6633be658f8d4e16a893 call \
func (m *MyModule) Example() *dagger.Repo {
return dag.
Repo()
}@function
def example() -> dagger.Repo:
return (
dag.repo()
)@func()
example(): Repo {
return dag
.repo()
}Types
Repo 🔗
info() 🔗
Return Type
Info !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory | - | No description provided |
| repo | StringKind | - | No description provided |
| tag | StringKind | - | No description provided |
| branch | StringKind | - | No description provided |
Example
dagger -m github.com/aweris/gale/daggerverse/repo@051b8aec2704cd8a4e2a6633be658f8d4e16a893 call \
infofunc (m *MyModule) Example() {
return dag.
Repo().
Info()
}@function
def example() -> :
return (
dag.repo()
.info()
)@func()
example(): {
return dag
.repo()
.info()
}Info 🔗
owner() 🔗
Return Type
StringKind ! Example
Function RepoInfo.Owner is not accessible from the repo moduleFunction RepoInfo.Owner is not accessible from the repo moduleFunction RepoInfo.Owner is not accessible from the repo moduleFunction RepoInfo.Owner is not accessible from the repo modulename() 🔗
Return Type
StringKind ! Example
Function RepoInfo.Name is not accessible from the repo moduleFunction RepoInfo.Name is not accessible from the repo moduleFunction RepoInfo.Name is not accessible from the repo moduleFunction RepoInfo.Name is not accessible from the repo modulenameWithOwner() 🔗
Return Type
StringKind ! Example
Function RepoInfo.NameWithOwner is not accessible from the repo moduleFunction RepoInfo.NameWithOwner is not accessible from the repo moduleFunction RepoInfo.NameWithOwner is not accessible from the repo moduleFunction RepoInfo.NameWithOwner is not accessible from the repo moduleurl() 🔗
Return Type
StringKind ! Example
Function RepoInfo.URL is not accessible from the repo moduleFunction RepoInfo.URL is not accessible from the repo moduleFunction RepoInfo.URL is not accessible from the repo moduleFunction RepoInfo.URL is not accessible from the repo moduleref() 🔗
Return Type
StringKind ! Example
Function RepoInfo.Ref is not accessible from the repo moduleFunction RepoInfo.Ref is not accessible from the repo moduleFunction RepoInfo.Ref is not accessible from the repo moduleFunction RepoInfo.Ref is not accessible from the repo modulerefName() 🔗
Return Type
StringKind ! Example
Function RepoInfo.RefName is not accessible from the repo moduleFunction RepoInfo.RefName is not accessible from the repo moduleFunction RepoInfo.RefName is not accessible from the repo moduleFunction RepoInfo.RefName is not accessible from the repo modulerefType() 🔗
Return Type
StringKind ! Example
Function RepoInfo.RefType is not accessible from the repo moduleFunction RepoInfo.RefType is not accessible from the repo moduleFunction RepoInfo.RefType is not accessible from the repo moduleFunction RepoInfo.RefType is not accessible from the repo modulesha() 🔗
Return Type
StringKind ! Example
Function RepoInfo.SHA is not accessible from the repo moduleFunction RepoInfo.SHA is not accessible from the repo moduleFunction RepoInfo.SHA is not accessible from the repo moduleFunction RepoInfo.SHA is not accessible from the repo moduleshortSha() 🔗
Return Type
StringKind ! Example
Function RepoInfo.ShortSHA is not accessible from the repo moduleFunction RepoInfo.ShortSHA is not accessible from the repo moduleFunction RepoInfo.ShortSHA is not accessible from the repo moduleFunction RepoInfo.ShortSHA is not accessible from the repo moduleisRemote() 🔗
Return Type
BooleanKind ! Example
Function RepoInfo.IsRemote is not accessible from the repo moduleFunction RepoInfo.IsRemote is not accessible from the repo moduleFunction RepoInfo.IsRemote is not accessible from the repo moduleFunction RepoInfo.IsRemote is not accessible from the repo modulesource() 🔗
Return Type
Directory ! Example
Function RepoInfo.Source is not accessible from the repo moduleFunction RepoInfo.Source is not accessible from the repo moduleFunction RepoInfo.Source is not accessible from the repo moduleFunction RepoInfo.Source is not accessible from the repo moduleworkflowsDir() 🔗
WorkflowsDir returns the workflows directory for the repository. If workflowsDir is provided, it’s used as the returns the workflows directory for the repository, otherwise the default workflows directory .github/workflows is returned.
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| workflowsDir | StringKind | - | No description provided |
Example
Function RepoInfo.workflowsDir is not accessible from the repo moduleFunction RepoInfo.workflowsDir is not accessible from the repo moduleFunction RepoInfo.workflowsDir is not accessible from the repo moduleFunction RepoInfo.workflowsDir is not accessible from the repo moduleworkdir() 🔗
Workdir returns the runner workdir for the repository.
Return Type
StringKind ! Example
Function RepoInfo.workdir is not accessible from the repo moduleFunction RepoInfo.workdir is not accessible from the repo moduleFunction RepoInfo.workdir is not accessible from the repo moduleFunction RepoInfo.workdir is not accessible from the repo moduleconfigure() 🔗
Configure configures the container with the repository information.
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| c | Container ! | - | No description provided |
Example
Function RepoInfo.configure is not accessible from the repo moduleFunction RepoInfo.configure is not accessible from the repo moduleFunction RepoInfo.configure is not accessible from the repo moduleFunction RepoInfo.configure is not accessible from the repo module