Dagger
Search

context-git

No long description provided.

Installation

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

Entrypoint

Return Type
ContextGit
Example
dagger -m github.com/jedevc/dagger-test-modules/context-git@39e8b65aa2502fa033185dcc0f7b1bb92340ccf7 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) string  {
	return dag.
			Contextgit().
			Testrepolocal(ctx)
}
@function
async def example() -> str:
	return await (
		dag.context_git()
		.testrepolocal()
	)
@func()
async example(): Promise<string> {
	return dag
		.contextGit()
		.testRepoLocal()
}

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) string  {
	return dag.
			Contextgit().
			Testreporemote(ctx)
}
@function
async def example() -> str:
	return await (
		dag.context_git()
		.testreporemote()
	)
@func()
async example(): Promise<string> {
	return dag
		.contextGit()
		.testRepoRemote()
}

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) string  {
	return dag.
			Contextgit().
			Testreflocal(ctx)
}
@function
async def example() -> str:
	return await (
		dag.context_git()
		.testreflocal()
	)
@func()
async example(): Promise<string> {
	return dag
		.contextGit()
		.testRefLocal()
}

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) string  {
	return dag.
			Contextgit().
			Testrefremote(ctx)
}
@function
async def example() -> str:
	return await (
		dag.context_git()
		.testrefremote()
	)
@func()
async example(): Promise<string> {
	return dag
		.contextGit()
		.testRefRemote()
}