dagger-github-comment
No long description provided.
Installation
dagger install github.com/sagikazarmark/dagger-github-comment@05747a5c5591e1ae0e51bf7650f9903b0721da91
Entrypoint
Return Type
DaggerGithubComment !
Arguments
Name | Type | Description |
---|---|---|
githubToken | Secret ! | No description provided |
Example
dagger -m github.com/sagikazarmark/dagger-github-comment@05747a5c5591e1ae0e51bf7650f9903b0721da91 call \
--github-token env:MYSECRET
func (m *myModule) example(githubToken *Secret) *DaggerGithubComment {
return dag.
DaggerGithubComment(githubToken)
}
@function
def example(github_token: dagger.Secret) -> dag.DaggerGithubComment:
return (
dag.dagger_github_comment(github_token)
)
@func()
example(githubToken: Secret): DaggerGithubComment {
return dag
.daggerGithubComment(githubToken)
}
Types
DaggerGithubComment 🔗
process() 🔗
Return Type
Void !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
payload | File ! | - | Event payload. |
Example
dagger -m github.com/sagikazarmark/dagger-github-comment@05747a5c5591e1ae0e51bf7650f9903b0721da91 call \
--github-token env:MYSECRET process --payload file:path
func (m *myModule) example(ctx context.Context, githubToken *Secret, payload *File) {
return dag.
DaggerGithubComment(githubToken).
Process(ctx, payload)
}
@function
async def example(github_token: dagger.Secret, payload: dagger.File) -> None:
return await (
dag.dagger_github_comment(github_token)
.process(payload)
)
@func()
async example(githubToken: Secret, payload: File): Promise<void> {
return dag
.daggerGithubComment(githubToken)
.process(payload)
}