github-comment
No long description provided.
Installation
dagger install github.com/samalba/aluzzardi-daggerverse/github-comment@3e86a5c24de5bb066487d3f8930e826a4f03cad1
Entrypoint
Return Type
GithubComment !
Arguments
Name | Type | Description |
---|---|---|
githubToken | Secret ! | No description provided |
messageId | String | No description provided |
owner | String ! | No description provided |
repo | String ! | No description provided |
issue | Integer | No description provided |
commit | String | No description provided |
Example
dagger -m github.com/samalba/aluzzardi-daggerverse/github-comment@3e86a5c24de5bb066487d3f8930e826a4f03cad1 call \
--github-token env:MYSECRET --owner string --repo string
func (m *myModule) example(githubToken *Secret, owner string, repo string) *GithubComment {
return dag.
GithubComment(githubToken, owner, repo)
}
@function
def example(github_token: dagger.Secret, owner: str, repo: str, ) -> dag.GithubComment:
return (
dag.github_comment(github_token, owner, repo)
)
@func()
example(githubToken: Secret, owner: string, repo: string, ): GithubComment {
return dag
.githubComment(githubToken, owner, repo)
}
Types
GithubComment 🔗
githubToken() 🔗
Return Type
Secret !
Example
dagger -m github.com/samalba/aluzzardi-daggerverse/github-comment@3e86a5c24de5bb066487d3f8930e826a4f03cad1 call \
--github-token env:MYSECRET --owner string --repo string github-token
func (m *myModule) example(githubToken *Secret, owner string, repo string) *Secret {
return dag.
GithubComment(githubToken, owner, repo).
GithubToken()
}
@function
def example(github_token: dagger.Secret, owner: str, repo: str, ) -> dagger.Secret:
return (
dag.github_comment(github_token, owner, repo)
.github_token()
)
@func()
example(githubToken: Secret, owner: string, repo: string, ): Secret {
return dag
.githubComment(githubToken, owner, repo)
.githubToken()
}
messageId() 🔗
Return Type
String !
Example
dagger -m github.com/samalba/aluzzardi-daggerverse/github-comment@3e86a5c24de5bb066487d3f8930e826a4f03cad1 call \
--github-token env:MYSECRET --owner string --repo string message-id
func (m *myModule) example(ctx context.Context, githubToken *Secret, owner string, repo string) string {
return dag.
GithubComment(githubToken, owner, repo).
MessageId(ctx)
}
@function
async def example(github_token: dagger.Secret, owner: str, repo: str, ) -> str:
return await (
dag.github_comment(github_token, owner, repo)
.message_id()
)
@func()
async example(githubToken: Secret, owner: string, repo: string, ): Promise<string> {
return dag
.githubComment(githubToken, owner, repo)
.messageId()
}
owner() 🔗
Return Type
String !
Example
dagger -m github.com/samalba/aluzzardi-daggerverse/github-comment@3e86a5c24de5bb066487d3f8930e826a4f03cad1 call \
--github-token env:MYSECRET --owner string --repo string owner
func (m *myModule) example(ctx context.Context, githubToken *Secret, owner string, repo string) string {
return dag.
GithubComment(githubToken, owner, repo).
Owner(ctx)
}
@function
async def example(github_token: dagger.Secret, owner: str, repo: str, ) -> str:
return await (
dag.github_comment(github_token, owner, repo)
.owner()
)
@func()
async example(githubToken: Secret, owner: string, repo: string, ): Promise<string> {
return dag
.githubComment(githubToken, owner, repo)
.owner()
}
repo() 🔗
Return Type
String !
Example
dagger -m github.com/samalba/aluzzardi-daggerverse/github-comment@3e86a5c24de5bb066487d3f8930e826a4f03cad1 call \
--github-token env:MYSECRET --owner string --repo string repo
func (m *myModule) example(ctx context.Context, githubToken *Secret, owner string, repo string) string {
return dag.
GithubComment(githubToken, owner, repo).
Repo(ctx)
}
@function
async def example(github_token: dagger.Secret, owner: str, repo: str, ) -> str:
return await (
dag.github_comment(github_token, owner, repo)
.repo()
)
@func()
async example(githubToken: Secret, owner: string, repo: string, ): Promise<string> {
return dag
.githubComment(githubToken, owner, repo)
.repo()
}
issue() 🔗
Return Type
Integer !
Example
dagger -m github.com/samalba/aluzzardi-daggerverse/github-comment@3e86a5c24de5bb066487d3f8930e826a4f03cad1 call \
--github-token env:MYSECRET --owner string --repo string issue
func (m *myModule) example(ctx context.Context, githubToken *Secret, owner string, repo string) int {
return dag.
GithubComment(githubToken, owner, repo).
Issue(ctx)
}
@function
async def example(github_token: dagger.Secret, owner: str, repo: str, ) -> int:
return await (
dag.github_comment(github_token, owner, repo)
.issue()
)
@func()
async example(githubToken: Secret, owner: string, repo: string, ): Promise<number> {
return dag
.githubComment(githubToken, owner, repo)
.issue()
}
commit() 🔗
Return Type
String !
Example
dagger -m github.com/samalba/aluzzardi-daggerverse/github-comment@3e86a5c24de5bb066487d3f8930e826a4f03cad1 call \
--github-token env:MYSECRET --owner string --repo string commit
func (m *myModule) example(ctx context.Context, githubToken *Secret, owner string, repo string) string {
return dag.
GithubComment(githubToken, owner, repo).
Commit(ctx)
}
@function
async def example(github_token: dagger.Secret, owner: str, repo: str, ) -> str:
return await (
dag.github_comment(github_token, owner, repo)
.commit()
)
@func()
async example(githubToken: Secret, owner: string, repo: string, ): Promise<string> {
return dag
.githubComment(githubToken, owner, repo)
.commit()
}
create() 🔗
example usage: “dagger call –github-token env:GITHUB_TOKEN –owner aluzzardi –repo daggerverse –issue 1 comment –body “hello world”
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
body | String ! | - | No description provided |
Example
dagger -m github.com/samalba/aluzzardi-daggerverse/github-comment@3e86a5c24de5bb066487d3f8930e826a4f03cad1 call \
--github-token env:MYSECRET --owner string --repo string create --body string
func (m *myModule) example(ctx context.Context, githubToken *Secret, owner string, repo string, body string) string {
return dag.
GithubComment(githubToken, owner, repo).
Create(ctx, body)
}
@function
async def example(github_token: dagger.Secret, owner: str, repo: str, body: str) -> str:
return await (
dag.github_comment(github_token, owner, repo)
.create(body)
)
@func()
async example(githubToken: Secret, owner: string, repo: string, body: string): Promise<string> {
return dag
.githubComment(githubToken, owner, repo)
.create(body)
}
delete() 🔗
example usage: “dagger call –github-token env:GITHUB_TOKEN –owner aluzzardi –repo daggerverse –issue 1 delete
Return Type
Void !
Example
dagger -m github.com/samalba/aluzzardi-daggerverse/github-comment@3e86a5c24de5bb066487d3f8930e826a4f03cad1 call \
--github-token env:MYSECRET --owner string --repo string delete
func (m *myModule) example(ctx context.Context, githubToken *Secret, owner string, repo string) {
return dag.
GithubComment(githubToken, owner, repo).
Delete(ctx)
}
@function
async def example(github_token: dagger.Secret, owner: str, repo: str, ) -> None:
return await (
dag.github_comment(github_token, owner, repo)
.delete()
)
@func()
async example(githubToken: Secret, owner: string, repo: string, ): Promise<void> {
return dag
.githubComment(githubToken, owner, repo)
.delete()
}
react() 🔗
example usage: “dagger call –github-token env:GITHUB_TOKEN –owner aluzzardi –repo daggerverse –issue 1 reaction +1 The kind should be one of the following values: “+1”, “-1”, “laugh”, “confused”, “heart”, “hooray”, “rocket”, or “eyes”.
Return Type
Void !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
kind | String ! | - | No description provided |
Example
dagger -m github.com/samalba/aluzzardi-daggerverse/github-comment@3e86a5c24de5bb066487d3f8930e826a4f03cad1 call \
--github-token env:MYSECRET --owner string --repo string react --kind string
func (m *myModule) example(ctx context.Context, githubToken *Secret, owner string, repo string, kind string) {
return dag.
GithubComment(githubToken, owner, repo).
React(ctx, kind)
}
@function
async def example(github_token: dagger.Secret, owner: str, repo: str, kind: str) -> None:
return await (
dag.github_comment(github_token, owner, repo)
.react(kind)
)
@func()
async example(githubToken: Secret, owner: string, repo: string, kind: string): Promise<void> {
return dag
.githubComment(githubToken, owner, repo)
.react(kind)
}