Dagger
Search

repo

No long description provided.

Installation

dagger install github.com/aweris/gale/daggerverse/repo@051b8aec2704cd8a4e2a6633be658f8d4e16a893

Entrypoint

Return Type
Repo
Example
dagger -m github.com/aweris/gale/daggerverse/repo@051b8aec2704cd8a4e2a6633be658f8d4e16a893 call \
func (m *myModule) example() *Repo  {
	return dag.
			Repo()
}
@function
def example() -> dag.Repo:
	return (
		dag.repo()
	)
@func()
example(): Repo {
	return dag
		.repo()
}

Types

Repo 🔗

info() 🔗

Return Type
Info !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
repoStringKind -No description provided
tagStringKind -No description provided
branchStringKind -No description provided
Example
dagger -m github.com/aweris/gale/daggerverse/repo@051b8aec2704cd8a4e2a6633be658f8d4e16a893 call \
 info
func (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 module
Function RepoInfo.Owner is not accessible from the repo module
Function RepoInfo.Owner is not accessible from the repo module
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
Function RepoInfo.Name is not accessible from the repo module
Function RepoInfo.Name is not accessible from the repo module
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
Function RepoInfo.NameWithOwner is not accessible from the repo module
Function RepoInfo.NameWithOwner is not accessible from the repo module
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
Function RepoInfo.URL is not accessible from the repo module
Function RepoInfo.URL is not accessible from the repo module
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
Function RepoInfo.Ref is not accessible from the repo module
Function RepoInfo.Ref is not accessible from the repo module
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
Function RepoInfo.RefName is not accessible from the repo module
Function RepoInfo.RefName is not accessible from the repo module
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
Function RepoInfo.RefType is not accessible from the repo module
Function RepoInfo.RefType is not accessible from the repo module
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
Function RepoInfo.SHA is not accessible from the repo module
Function RepoInfo.SHA is not accessible from the repo module
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
Function RepoInfo.ShortSHA is not accessible from the repo module
Function RepoInfo.ShortSHA is not accessible from the repo module
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
Function RepoInfo.IsRemote is not accessible from the repo module
Function RepoInfo.IsRemote is not accessible from the repo module
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
Function RepoInfo.Source is not accessible from the repo module
Function RepoInfo.Source is not accessible from the repo module
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
NameTypeDefault ValueDescription
workflowsDirStringKind -No description provided
Example
Function RepoInfo.workflowsDir is not accessible from the repo module
Function RepoInfo.workflowsDir is not accessible from the repo module
Function RepoInfo.workflowsDir is not accessible from the repo module
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
Function RepoInfo.workdir is not accessible from the repo module
Function RepoInfo.workdir is not accessible from the repo module
Function RepoInfo.workdir is not accessible from the repo module

configure() 🔗

Configure configures the container with the repository information.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
cContainer !-No description provided
Example
Function RepoInfo.configure is not accessible from the repo module
Function RepoInfo.configure is not accessible from the repo module
Function RepoInfo.configure is not accessible from the repo module
Function RepoInfo.configure is not accessible from the repo module