context-git
No long description provided.
Installation
dagger install github.com/jedevc/dagger-test-modules/context-git@d30de6c884c40602998f57dea81992e997a3b740
Entrypoint
Return Type
ContextGit
Example
dagger -m github.com/jedevc/dagger-test-modules/context-git@d30de6c884c40602998f57dea81992e997a3b740 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, git *dagger.GitRepository) string {
return dag.
ContextGit().
TestRepoLocal(ctx, git)
}
@function
async def example(git: dagger.GitRepository) -> str:
return await (
dag.context_git()
.test_repo_local(git)
)
@func()
async example(git: GitRepository): Promise<string> {
return dag
.contextGit()
.testRepoLocal(git)
}
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, git *dagger.GitRepository) string {
return dag.
ContextGit().
TestRepoRemote(ctx, git)
}
@function
async def example(git: dagger.GitRepository) -> str:
return await (
dag.context_git()
.test_repo_remote(git)
)
@func()
async example(git: GitRepository): Promise<string> {
return dag
.contextGit()
.testRepoRemote(git)
}
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, git *dagger.GitRef) string {
return dag.
ContextGit().
TestRefLocal(ctx, git)
}
@function
async def example(git: dagger.GitRef) -> str:
return await (
dag.context_git()
.test_ref_local(git)
)
@func()
async example(git: GitRef): Promise<string> {
return dag
.contextGit()
.testRefLocal(git)
}
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, git *dagger.GitRef) string {
return dag.
ContextGit().
TestRefRemote(ctx, git)
}
@function
async def example(git: dagger.GitRef) -> str:
return await (
dag.context_git()
.test_ref_remote(git)
)
@func()
async example(git: GitRef): Promise<string> {
return dag
.contextGit()
.testRefRemote(git)
}