dagger-github-comment
No long description provided.
Installation
dagger install github.com/sagikazarmark/dagger-github-comment@3b574d8b7a4aca1117f5238e497b117c717e15f4
Entrypoint
Return Type
DaggerGithubComment !
Arguments
Name | Type | Description |
---|---|---|
githubToken | Secret ! | No description provided |
Example
dagger -m github.com/sagikazarmark/dagger-github-comment@3b574d8b7a4aca1117f5238e497b117c717e15f4 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@3b574d8b7a4aca1117f5238e497b117c717e15f4 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)
}