Dagger
Search

github-comment

No long description provided.

Installation

dagger install github.com/aluzzardi/daggerverse/github-comment@f17b8131ea25ff620606041134a5f1b2b5a7799d

Entrypoint

Return Type
GithubComment !
Arguments
NameTypeDescription
githubTokenSecret !No description provided
messageIdString No description provided
ownerString !No description provided
repoString !No description provided
issueInteger No description provided
commitString No description provided
Example
dagger -m github.com/aluzzardi/daggerverse/github-comment@f17b8131ea25ff620606041134a5f1b2b5a7799d 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/aluzzardi/daggerverse/github-comment@f17b8131ea25ff620606041134a5f1b2b5a7799d 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/aluzzardi/daggerverse/github-comment@f17b8131ea25ff620606041134a5f1b2b5a7799d 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/aluzzardi/daggerverse/github-comment@f17b8131ea25ff620606041134a5f1b2b5a7799d 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/aluzzardi/daggerverse/github-comment@f17b8131ea25ff620606041134a5f1b2b5a7799d 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/aluzzardi/daggerverse/github-comment@f17b8131ea25ff620606041134a5f1b2b5a7799d 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/aluzzardi/daggerverse/github-comment@f17b8131ea25ff620606041134a5f1b2b5a7799d 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
NameTypeDefault ValueDescription
bodyString !-No description provided
Example
dagger -m github.com/aluzzardi/daggerverse/github-comment@f17b8131ea25ff620606041134a5f1b2b5a7799d 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/aluzzardi/daggerverse/github-comment@f17b8131ea25ff620606041134a5f1b2b5a7799d 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
NameTypeDefault ValueDescription
kindString !-" 1", "-1", "laugh", "confused", "heart", "hooray", "rocket", or "eyes".
Example
dagger -m github.com/aluzzardi/daggerverse/github-comment@f17b8131ea25ff620606041134a5f1b2b5a7799d 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)
}