githubrelease

package
v0.40.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReleaseAPI

type ReleaseAPI struct {
	Tag    string `json:"tag_name"`
	URL    string `json:"url"`
	Body   string
	Assets []ReleaseAssetAPI
}

func (ReleaseAPI) AssetNames

func (a ReleaseAPI) AssetNames() []string

type ReleaseAssetAPI

type ReleaseAssetAPI struct {
	URL  string
	Name string
	Size int64
}

type ReleaseNotesChecksums

type ReleaseNotesChecksums struct{}

func (ReleaseNotesChecksums) Find

func (ReleaseNotesChecksums) Find(assets []ReleaseAssetAPI, body string) (map[string]string, error)

type Sync

type Sync struct {
	// contains filtered or unexported fields
}

func NewSync

func NewSync(opts ctlconf.DirectoryContentsGithubRelease,
	defaultAPIToken string, refFetcher ctlfetch.RefFetcher) (Sync, error)

func (Sync) Desc

func (d Sync) Desc() (string, error)

func (Sync) Sync

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL