Documentation
¶
Overview ¶
Package vcs contains constants for the VCS providers supported by the libraries provided.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Override ¶
type Override struct {
// URLBase is the base URL that this override should apply to.
URLBase string
// Provider is the provider to override to.
Provider Provider
}
Override represents an override for a given URL passed to ProviderFromURL.
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
download-release
command
Package main implements an example download of a release.
|
Package main implements an example download of a release. |
|
Package git contains functions for interacting with Git repositories using the Git CLI.
|
Package git contains functions for interacting with Git repositories using the Git CLI. |
|
internal
|
|
|
execerr
Package execerr contains an error handler for errors returned by the exec library.
|
Package execerr contains an error handler for errors returned by the exec library. |
|
fileinfo
Package fileinfo provides a simple implementation of os.FileInfo for remote files.
|
Package fileinfo provides a simple implementation of os.FileInfo for remote files. |
|
Package releases implements functions for interacting with 'Releases' provided by VCS providers.
|
Package releases implements functions for interacting with 'Releases' provided by VCS providers. |
|
github
Package github implements opts.Fetcher for Github releases.
|
Package github implements opts.Fetcher for Github releases. |
|
gitlab
Package gitlab implements opts.Fetcher for Gitlab releases.
|
Package gitlab implements opts.Fetcher for Gitlab releases. |
|
internal/opts
Package opts contains the options and interfaces for the releases package.
|
Package opts contains the options and interfaces for the releases package. |
|
Package resolver implements a way to resolve versions of software based on the provided criteria.
|
Package resolver implements a way to resolve versions of software based on the provided criteria. |
|
Package token contains functions for getting an authenticated token from a user's machine for a given VCS provider.
|
Package token contains functions for getting an authenticated token from a user's machine for a given VCS provider. |
|
internal/github
Package github implements shared.Provider for Github.
|
Package github implements shared.Provider for Github. |
|
internal/gitlab
Package gitlab contains Gitlab specific [token.Provider]s.
|
Package gitlab contains Gitlab specific [token.Provider]s. |
|
internal/shared
Package shared contains shared provider implementations.
|
Package shared contains shared provider implementations. |
Click to show internal directories.
Click to hide internal directories.