repo
No long description provided.
Installation
dagger install github.com/aweris/gale/daggerverse/repo@051b8aec2704cd8a4e2a6633be658f8d4e16a893
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
func (m *myModule) example() {
return dag.
Repo().
Info()
}
Info π
owner() π
Return Type
StringKind !
Example
Function RepoInfo.Owner is not accessible from the repo module
name() π
Return Type
StringKind !
Example
Function RepoInfo.Name is not accessible from the repo module
nameWithOwner() π
Return Type
StringKind !
Example
Function RepoInfo.NameWithOwner is not accessible from the repo module
url() π
Return Type
StringKind !
Example
Function RepoInfo.URL is not accessible from the repo module
ref() π
Return Type
StringKind !
Example
Function RepoInfo.Ref is not accessible from the repo module
refName() π
Return Type
StringKind !
Example
Function RepoInfo.RefName is not accessible from the repo module
refType() π
Return Type
StringKind !
Example
Function RepoInfo.RefType is not accessible from the repo module
sha() π
Return Type
StringKind !
Example
Function RepoInfo.SHA is not accessible from the repo module
shortSha() π
Return Type
StringKind !
Example
Function RepoInfo.ShortSHA is not accessible from the repo module
isRemote() π
Return Type
BooleanKind !
Example
Function RepoInfo.IsRemote is not accessible from the repo module
source() π
Return Type
Directory !
Example
Function RepoInfo.Source is not accessible from the repo module
workflowsDir() π
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 module
workdir() π
Workdir returns the runner workdir for the repository.
Return Type
StringKind !
Example
Function RepoInfo.workdir is not accessible from the repo module
configure() π
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 module