Dagger
Search

context-git

No long description provided.

Installation

dagger install github.com/jedevc/dagger-test-modules/context-git@e7ebebe118887b4ff771aaf07afce5f45e197740

Entrypoint

Return Type
ContextGit
Example
dagger -m github.com/jedevc/dagger-test-modules/context-git@e7ebebe118887b4ff771aaf07afce5f45e197740 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
NameTypeDefault ValueDescription
gitGitRepository !-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
NameTypeDefault ValueDescription
gitGitRepository !-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
NameTypeDefault ValueDescription
gitGitRef !-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
NameTypeDefault ValueDescription
gitGitRef !-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)
}