context-git
No long description provided.
Installation
dagger install github.com/jedevc/dagger-test-modules/context-git@ed6bf431366bac652f807864e22ae49be9433bd5
Entrypoint
Return Type
ContextGit
Example
dagger -m github.com/jedevc/dagger-test-modules/context-git@ed6bf431366bac652f807864e22ae49be9433bd5 call \
func (m *MyModule) Example() *dagger.ContextGit {
return dag.
ContextGit()
}
@function
def example() -> dagger.ContextGit:
return (
dag.context_git()
)
@func()
example(): ContextGit {
return dag
.contextGit()
}
Types
ContextGit 🔗
testRepoLocal() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
git | GitRepository | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context) string {
return dag.
ContextGit().
TestRepoLocal(ctx)
}
@function
async def example() -> str:
return await (
dag.context_git()
.test_repo_local()
)
@func()
async example(): Promise<string> {
return dag
.contextGit()
.testRepoLocal()
}
testRepoRemote() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
git | GitRepository | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context) string {
return dag.
ContextGit().
TestRepoRemote(ctx)
}
@function
async def example() -> str:
return await (
dag.context_git()
.test_repo_remote()
)
@func()
async example(): Promise<string> {
return dag
.contextGit()
.testRepoRemote()
}
testRefLocal() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
git | GitRef | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context) string {
return dag.
ContextGit().
TestRefLocal(ctx)
}
@function
async def example() -> str:
return await (
dag.context_git()
.test_ref_local()
)
@func()
async example(): Promise<string> {
return dag
.contextGit()
.testRefLocal()
}
testRefRemote() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
git | GitRef | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context) string {
return dag.
ContextGit().
TestRefRemote(ctx)
}
@function
async def example() -> str:
return await (
dag.context_git()
.test_ref_remote()
)
@func()
async example(): Promise<string> {
return dag
.contextGit()
.testRefRemote()
}