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