pr
No long description provided.
Installation
dagger install github.com/jedevc/daggerverse/pr@573c96e888a0273a2bc434c83a3fcb953243a2f8
Entrypoint
Return Type
Pr
Example
dagger -m github.com/jedevc/daggerverse/pr@573c96e888a0273a2bc434c83a3fcb953243a2f8 call \
func (m *myModule) example() *Pr {
return dag.
Pr()
}
@function
def example() -> dag.Pr:
return (
dag.pr()
)
@func()
example(): Pr {
return dag
.pr()
}
Types
Pr 🔗
open() 🔗
Return Type
PullRequest !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
ref | String ! | - | No description provided |
Example
dagger -m github.com/jedevc/daggerverse/pr@573c96e888a0273a2bc434c83a3fcb953243a2f8 call \
open --ref string
func (m *myModule) example(ref string) *PrPullRequest {
return dag.
Pr().
Open(ref)
}
@function
def example(ref: str) -> dag.PrPullRequest:
return (
dag.pr()
.open(ref)
)
@func()
example(ref: string): PrPullRequest {
return dag
.pr()
.open(ref)
}
PullRequest 🔗
owner() 🔗
Return Type
String !
Example
dagger -m github.com/jedevc/daggerverse/pr@573c96e888a0273a2bc434c83a3fcb953243a2f8 call \
open --ref string \
owner
func (m *myModule) example(ctx context.Context, ref string) string {
return dag.
Pr().
Open(ref).
Owner(ctx)
}
@function
async def example(ref: str) -> str:
return await (
dag.pr()
.open(ref)
.owner()
)
@func()
async example(ref: string): Promise<string> {
return dag
.pr()
.open(ref)
.owner()
}
repo() 🔗
Return Type
String !
Example
dagger -m github.com/jedevc/daggerverse/pr@573c96e888a0273a2bc434c83a3fcb953243a2f8 call \
open --ref string \
repo
func (m *myModule) example(ctx context.Context, ref string) string {
return dag.
Pr().
Open(ref).
Repo(ctx)
}
@function
async def example(ref: str) -> str:
return await (
dag.pr()
.open(ref)
.repo()
)
@func()
async example(ref: string): Promise<string> {
return dag
.pr()
.open(ref)
.repo()
}
number() 🔗
Return Type
Integer !
Example
dagger -m github.com/jedevc/daggerverse/pr@573c96e888a0273a2bc434c83a3fcb953243a2f8 call \
open --ref string \
number
func (m *myModule) example(ctx context.Context, ref string) int {
return dag.
Pr().
Open(ref).
Number(ctx)
}
@function
async def example(ref: str) -> int:
return await (
dag.pr()
.open(ref)
.number()
)
@func()
async example(ref: string): Promise<number> {
return dag
.pr()
.open(ref)
.number()
}
asGit() 🔗
Return Type
GitRepository !
Example
dagger -m github.com/jedevc/daggerverse/pr@573c96e888a0273a2bc434c83a3fcb953243a2f8 call \
open --ref string \
as-git
func (m *myModule) example(ref string) *GitRepository {
return dag.
Pr().
Open(ref).
AsGit()
}
@function
def example(ref: str) -> dag.GitRepository:
return (
dag.pr()
.open(ref)
.as_git()
)
@func()
example(ref: string): GitRepository {
return dag
.pr()
.open(ref)
.asGit()
}
asHeadRef() 🔗
Return Type
GitRef !
Example
dagger -m github.com/jedevc/daggerverse/pr@573c96e888a0273a2bc434c83a3fcb953243a2f8 call \
open --ref string \
as-head-ref
func (m *myModule) example(ref string) *GitRef {
return dag.
Pr().
Open(ref).
AsHeadRef()
}
@function
def example(ref: str) -> dag.GitRef:
return (
dag.pr()
.open(ref)
.as_head_ref()
)
@func()
example(ref: string): GitRef {
return dag
.pr()
.open(ref)
.asHeadRef()
}
asMergeRef() 🔗
Return Type
GitRef !
Example
dagger -m github.com/jedevc/daggerverse/pr@573c96e888a0273a2bc434c83a3fcb953243a2f8 call \
open --ref string \
as-merge-ref
func (m *myModule) example(ref string) *GitRef {
return dag.
Pr().
Open(ref).
AsMergeRef()
}
@function
def example(ref: str) -> dag.GitRef:
return (
dag.pr()
.open(ref)
.as_merge_ref()
)
@func()
example(ref: string): GitRef {
return dag
.pr()
.open(ref)
.asMergeRef()
}
asBaseRef() 🔗
Return Type
GitRef !
Example
dagger -m github.com/jedevc/daggerverse/pr@573c96e888a0273a2bc434c83a3fcb953243a2f8 call \
open --ref string \
as-base-ref
func (m *myModule) example(ref string) *GitRef {
return dag.
Pr().
Open(ref).
AsBaseRef()
}
@function
def example(ref: str) -> dag.GitRef:
return (
dag.pr()
.open(ref)
.as_base_ref()
)
@func()
example(ref: string): GitRef {
return dag
.pr()
.open(ref)
.asBaseRef()
}
diff() 🔗
Return Type
File !
Example
dagger -m github.com/jedevc/daggerverse/pr@573c96e888a0273a2bc434c83a3fcb953243a2f8 call \
open --ref string \
diff
func (m *myModule) example(ref string) *File {
return dag.
Pr().
Open(ref).
Diff()
}
@function
def example(ref: str) -> dagger.File:
return (
dag.pr()
.open(ref)
.diff()
)
@func()
example(ref: string): File {
return dag
.pr()
.open(ref)
.diff()
}
patch() 🔗
Return Type
File !
Example
dagger -m github.com/jedevc/daggerverse/pr@573c96e888a0273a2bc434c83a3fcb953243a2f8 call \
open --ref string \
patch
func (m *myModule) example(ref string) *File {
return dag.
Pr().
Open(ref).
Patch()
}
@function
def example(ref: str) -> dagger.File:
return (
dag.pr()
.open(ref)
.patch()
)
@func()
example(ref: string): File {
return dag
.pr()
.open(ref)
.patch()
}