Dagger
Search

azdo

This module has been generated via dagger init and serves as a reference to
basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.

The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.

Installation

dagger install github.com/techdecline/dagger-pulumi/azdo@77667d46d264a09e8257c0d915433af15b060b73

Entrypoint

Return Type
Azdo !
Example
dagger -m github.com/techdecline/dagger-pulumi/azdo@77667d46d264a09e8257c0d915433af15b060b73 call \
func (m *myModule) example() *Azdo  {
	return dag.
			Azdo()
}
@function
def example() -> dag.Azdo:
	return (
		dag.azdo()
	)
@func()
example(): Azdo {
	return dag
		.azdo()
}

Types

Azdo 🔗

commentOnPr() 🔗

Comment on an Azure DevOps pull request

Return Type
String !
Arguments
NameTypeDefault ValueDescription
azureDevopsPatSecret !-A reference to a secret value, which can be handled more safely than the value itself.
organizationUrlString !-No description provided
projectString !-No description provided
repositoryIdString !-No description provided
prIdString !-No description provided
commentString !-No description provided
Example
dagger -m github.com/techdecline/dagger-pulumi/azdo@77667d46d264a09e8257c0d915433af15b060b73 call \
 comment-on-pr --azure-devops-pat env:MYSECRET --organization-url string --project string --repository-id string --pr-id string --comment string
func (m *myModule) example(ctx context.Context, azureDevopsPat *Secret, organizationUrl string, project string, repositoryId string, prId string, comment string) string  {
	return dag.
			Azdo().
			CommentOnPr(ctx, azureDevopsPat, organizationUrl, project, repositoryId, prId, comment)
}
@function
async def example(azure_devops_pat: dagger.Secret, organization_url: str, project: str, repository_id: str, pr_id: str, comment: str) -> str:
	return await (
		dag.azdo()
		.comment_on_pr(azure_devops_pat, organization_url, project, repository_id, pr_id, comment)
	)
@func()
async example(azureDevopsPat: Secret, organizationUrl: string, project: string, repositoryId: string, prId: string, comment: string): Promise<string> {
	return dag
		.azdo()
		.commentOnPr(azureDevopsPat, organizationUrl, project, repositoryId, prId, comment)
}

containerEcho() 🔗

Returns a container that echoes whatever string argument is provided

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
stringArgString !-No description provided
Example
dagger -m github.com/techdecline/dagger-pulumi/azdo@77667d46d264a09e8257c0d915433af15b060b73 call \
 container-echo --string-arg string
func (m *myModule) example(stringArg string) *Container  {
	return dag.
			Azdo().
			ContainerEcho(stringArg)
}
@function
def example(string_arg: str) -> dagger.Container:
	return (
		dag.azdo()
		.container_echo(string_arg)
	)
@func()
example(stringArg: string): Container {
	return dag
		.azdo()
		.containerEcho(stringArg)
}