github
No long description provided.
Installation
dagger install github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdbEntrypoint
Return Type
Github Example
dagger -m github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdb call \
func (m *MyModule) Example() *dagger.Github {
return dag.
Github()
}@function
def example() -> dagger.Github:
return (
dag.github()
)@func()
example(): Github {
return dag
.github()
}Types
Github 🔗
getLatestRelease() 🔗
Get the latest release for a repository
Return Type
Release !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| repo | String ! | - | GitHub repository in the form of "owner/repo" |
Example
dagger -m github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdb call \
get-latest-release --repo stringfunc (m *MyModule) Example(repo string) *dagger.GithubRelease {
return dag.
Github().
GetLatestRelease(repo)
}@function
def example(repo: str) -> dagger.GithubRelease:
return (
dag.github()
.get_latest_release(repo)
)@func()
example(repo: string): GithubRelease {
return dag
.github()
.getLatestRelease(repo)
}getRelease() 🔗
Get the specified release for a repository
Return Type
Release !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| repo | String ! | - | GitHub repository in the form of "owner/repo" |
| tag | String ! | - | Tag name of the release |
Example
dagger -m github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdb call \
get-release --repo string --tag stringfunc (m *MyModule) Example(repo string, tag string) *dagger.GithubRelease {
return dag.
Github().
GetRelease(repo, tag)
}@function
def example(repo: str, tag: str) -> dagger.GithubRelease:
return (
dag.github()
.get_release(repo, tag)
)@func()
example(repo: string, tag: string): GithubRelease {
return dag
.github()
.getRelease(repo, tag)
}Release 🔗
repository() 🔗
Return Type
GitRepository ! Example
dagger -m github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdb call \
get-release --repo string --tag string \
repositoryfunc (m *MyModule) Example(repo string, tag string) *dagger.GitRepository {
return dag.
Github().
GetRelease(repo, tag).
Repository()
}@function
def example(repo: str, tag: str) -> dagger.GitRepository:
return (
dag.github()
.get_release(repo, tag)
.repository()
)@func()
example(repo: string, tag: string): GitRepository {
return dag
.github()
.getRelease(repo, tag)
.repository()
}name() 🔗
Return Type
String ! Example
dagger -m github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdb call \
get-release --repo string --tag string \
namefunc (m *MyModule) Example(ctx context.Context, repo string, tag string) string {
return dag.
Github().
GetRelease(repo, tag).
Name(ctx)
}@function
async def example(repo: str, tag: str) -> str:
return await (
dag.github()
.get_release(repo, tag)
.name()
)@func()
async example(repo: string, tag: string): Promise<string> {
return dag
.github()
.getRelease(repo, tag)
.name()
}tag() 🔗
Return Type
String ! Example
dagger -m github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdb call \
get-release --repo string --tag string \
tagfunc (m *MyModule) Example(ctx context.Context, repo string, tag string) string {
return dag.
Github().
GetRelease(repo, tag).
Tag(ctx)
}@function
async def example(repo: str, tag: str) -> str:
return await (
dag.github()
.get_release(repo, tag)
.tag()
)@func()
async example(repo: string, tag: string): Promise<string> {
return dag
.github()
.getRelease(repo, tag)
.tag()
}body() 🔗
Return Type
String ! Example
dagger -m github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdb call \
get-release --repo string --tag string \
bodyfunc (m *MyModule) Example(ctx context.Context, repo string, tag string) string {
return dag.
Github().
GetRelease(repo, tag).
Body(ctx)
}@function
async def example(repo: str, tag: str) -> str:
return await (
dag.github()
.get_release(repo, tag)
.body()
)@func()
async example(repo: string, tag: string): Promise<string> {
return dag
.github()
.getRelease(repo, tag)
.body()
}url() 🔗
Return Type
String ! Example
dagger -m github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdb call \
get-release --repo string --tag string \
urlfunc (m *MyModule) Example(ctx context.Context, repo string, tag string) string {
return dag.
Github().
GetRelease(repo, tag).
Url(ctx)
}@function
async def example(repo: str, tag: str) -> str:
return await (
dag.github()
.get_release(repo, tag)
.url()
)@func()
async example(repo: string, tag: string): Promise<string> {
return dag
.github()
.getRelease(repo, tag)
.url()
}createdAt() 🔗
Return Type
String ! Example
dagger -m github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdb call \
get-release --repo string --tag string \
created-atfunc (m *MyModule) Example(ctx context.Context, repo string, tag string) string {
return dag.
Github().
GetRelease(repo, tag).
CreatedAt(ctx)
}@function
async def example(repo: str, tag: str) -> str:
return await (
dag.github()
.get_release(repo, tag)
.created_at()
)@func()
async example(repo: string, tag: string): Promise<string> {
return dag
.github()
.getRelease(repo, tag)
.createdAt()
}publishedAt() 🔗
Return Type
String ! Example
dagger -m github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdb call \
get-release --repo string --tag string \
published-atfunc (m *MyModule) Example(ctx context.Context, repo string, tag string) string {
return dag.
Github().
GetRelease(repo, tag).
PublishedAt(ctx)
}@function
async def example(repo: str, tag: str) -> str:
return await (
dag.github()
.get_release(repo, tag)
.published_at()
)@func()
async example(repo: string, tag: string): Promise<string> {
return dag
.github()
.getRelease(repo, tag)
.publishedAt()
}assets() 🔗
Return Type
[Asset ! ] ! Example
dagger -m github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdb call \
get-release --repo string --tag string \
assetsfunc (m *MyModule) Example(repo string, tag string) []*dagger.GithubAsset {
return dag.
Github().
GetRelease(repo, tag).
Assets()
}@function
def example(repo: str, tag: str) -> List[dagger.GithubAsset]:
return (
dag.github()
.get_release(repo, tag)
.assets()
)@func()
example(repo: string, tag: string): GithubAsset[] {
return dag
.github()
.getRelease(repo, tag)
.assets()
}ref() 🔗
Return Type
GitRef ! Example
dagger -m github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdb call \
get-release --repo string --tag string \
reffunc (m *MyModule) Example(repo string, tag string) *dagger.GitRef {
return dag.
Github().
GetRelease(repo, tag).
Ref()
}@function
def example(repo: str, tag: str) -> dagger.GitRef:
return (
dag.github()
.get_release(repo, tag)
.ref()
)@func()
example(repo: string, tag: string): GitRef {
return dag
.github()
.getRelease(repo, tag)
.ref()
}Asset 🔗
name() 🔗
Return Type
String ! Example
Function GithubAsset.name is not accessible from the github moduleFunction GithubAsset.name is not accessible from the github moduleFunction GithubAsset.name is not accessible from the github moduleFunction GithubAsset.name is not accessible from the github modulelabel() 🔗
Return Type
String ! Example
Function GithubAsset.label is not accessible from the github moduleFunction GithubAsset.label is not accessible from the github moduleFunction GithubAsset.label is not accessible from the github moduleFunction GithubAsset.label is not accessible from the github modulecontentType() 🔗
Return Type
String ! Example
Function GithubAsset.contentType is not accessible from the github moduleFunction GithubAsset.contentType is not accessible from the github moduleFunction GithubAsset.contentType is not accessible from the github moduleFunction GithubAsset.contentType is not accessible from the github modulesize() 🔗
Return Type
Integer ! Example
Function GithubAsset.size is not accessible from the github moduleFunction GithubAsset.size is not accessible from the github moduleFunction GithubAsset.size is not accessible from the github moduleFunction GithubAsset.size is not accessible from the github moduleurl() 🔗
Return Type
String ! Example
Function GithubAsset.url is not accessible from the github moduleFunction GithubAsset.url is not accessible from the github moduleFunction GithubAsset.url is not accessible from the github moduleFunction GithubAsset.url is not accessible from the github moduledownloadUrl() 🔗
Return Type
String ! Example
Function GithubAsset.downloadUrl is not accessible from the github moduleFunction GithubAsset.downloadUrl is not accessible from the github moduleFunction GithubAsset.downloadUrl is not accessible from the github moduleFunction GithubAsset.downloadUrl is not accessible from the github modulecreatedAt() 🔗
Return Type
String ! Example
Function GithubAsset.createdAt is not accessible from the github moduleFunction GithubAsset.createdAt is not accessible from the github moduleFunction GithubAsset.createdAt is not accessible from the github moduleFunction GithubAsset.createdAt is not accessible from the github moduleupdatedAt() 🔗
Return Type
String ! Example
Function GithubAsset.updatedAt is not accessible from the github moduleFunction GithubAsset.updatedAt is not accessible from the github moduleFunction GithubAsset.updatedAt is not accessible from the github moduleFunction GithubAsset.updatedAt is not accessible from the github module