github

package
v0.0.0-...-5e38327 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetProvider

type AssetProvider struct {
}

AssetProvider represents the Provider implementation corresponding to github.com release asset

func (AssetProvider) Bump

func (provider AssetProvider) Bump(url, hash, version string) (string, string, error)

Bump returns the bump of the given url and the updated associated version or, if unable, an error

func (AssetProvider) Hashes

func (provider AssetProvider) Hashes() bool

Hashes returns whether or not the provider uses source mapping value of a source as an hash

func (AssetProvider) Name

func (provider AssetProvider) Name() string

Name returns the name ID of the provider

func (AssetProvider) Support

func (provider AssetProvider) Support(url, version string) bool

Support returns true if the given url string is supported by the provider

type TagProvider

type TagProvider struct {
}

TagProvider represents the Provider implementation corresponding to github.com tag tarball

func (TagProvider) Bump

func (provider TagProvider) Bump(url, tag, version string) (string, string, error)

Bump returns the bump of the given url and the updated associated version or, if unable, an error

func (TagProvider) Hashes

func (provider TagProvider) Hashes() bool

Hashes returns whether or not the provider uses source mapping value of a source as an hash

func (TagProvider) Name

func (provider TagProvider) Name() string

Name returns the name ID of the provider

func (TagProvider) Support

func (provider TagProvider) Support(url, version string) bool

Support returns true if the given url string is supported by the provider

type TarballProvider

type TarballProvider struct {
}

TarballProvider represents the Provider implementation corresponding to github.com tag tarball

func (TarballProvider) Bump

func (provider TarballProvider) Bump(url, hash, version string) (string, string, error)

Bump returns the bump of the given url and the updated associated version or, if unable, an error

func (TarballProvider) Hashes

func (provider TarballProvider) Hashes() bool

Hashes returns whether or not the provider uses source mapping value of a source as an hash

func (TarballProvider) Name

func (provider TarballProvider) Name() string

Name returns the name ID of the provider

func (TarballProvider) Support

func (provider TarballProvider) Support(url, version string) bool

Support returns true if the given url string is supported by the provider

Jump to

Keyboard shortcuts

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