Dagger
Search

github

No long description provided.

Installation

dagger install github.com/jedevc/daggerverse/hugo/github@32e8c20b532d065629059f2a0b535d849a77cbdb

Entrypoint

Return Type
Github
Example
func (m *myModule) example() *Github  {
	return dag.
			Github()
}

Types

Github 🔗

getLatestRelease() 🔗

Get the latest release for a repository

Return Type
Release !
Arguments
NameTypeDefault ValueDescription
repoString !-GitHub repository in the form of "owner/repo"
Example
func (m *myModule) example(repo string) *GithubRelease  {
	return dag.
			Github().
			GetLatestRelease(repo)
}

getRelease() 🔗

Get the specified release for a repository

Return Type
Release !
Arguments
NameTypeDefault ValueDescription
repoString !-GitHub repository in the form of "owner/repo"
tagString !-Tag name of the release
Example
func (m *myModule) example(repo string, tag string) *GithubRelease  {
	return dag.
			Github().
			GetRelease(repo, tag)
}

Release 🔗

repository() 🔗

Return Type
GitRepository !
Example
func (m *myModule) example(repo string, tag string) *GitRepository  {
	return dag.
			Github().
			GetRelease(repo, tag).
			Repository()
}

name() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context, repo string, tag string) string  {
	return dag.
			Github().
			GetRelease(repo, tag).
			Name(ctx)
}

tag() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context, repo string, tag string) string  {
	return dag.
			Github().
			GetRelease(repo, tag).
			Tag(ctx)
}

body() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context, repo string, tag string) string  {
	return dag.
			Github().
			GetRelease(repo, tag).
			Body(ctx)
}

url() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context, repo string, tag string) string  {
	return dag.
			Github().
			GetRelease(repo, tag).
			Url(ctx)
}

createdAt() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context, repo string, tag string) string  {
	return dag.
			Github().
			GetRelease(repo, tag).
			CreatedAt(ctx)
}

publishedAt() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context, repo string, tag string) string  {
	return dag.
			Github().
			GetRelease(repo, tag).
			PublishedAt(ctx)
}

assets() 🔗

Return Type
[Asset ! ] !
Example
func (m *myModule) example(repo string, tag string) []*GithubAsset  {
	return dag.
			Github().
			GetRelease(repo, tag).
			Assets()
}

ref() 🔗

Return Type
GitRef !
Example
func (m *myModule) 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 module

label() 🔗

Return Type
String !
Example
Function GithubAsset.label is not accessible from the github module

contentType() 🔗

Return Type
String !
Example
Function GithubAsset.contentType is not accessible from the github module

size() 🔗

Return Type
Integer !
Example
Function GithubAsset.size is not accessible from the github module

url() 🔗

Return Type
String !
Example
Function GithubAsset.url is not accessible from the github module

downloadUrl() 🔗

Return Type
String !
Example
Function GithubAsset.downloadUrl is not accessible from the github module

createdAt() 🔗

Return Type
String !
Example
Function GithubAsset.createdAt is not accessible from the github module

updatedAt() 🔗

Return Type
String !
Example
Function GithubAsset.updatedAt is not accessible from the github module