Documentation
¶
Overview ¶
Package fetch handles getting package source and data
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶ added in v0.1.0
type Backend interface {
Do(*http.Request) (*http.Response, error)
Output(string, ...string) ([]byte, error)
}
Backend to override calling conventions to external sources
type Context ¶ added in v0.1.3
type Context struct {
Name string
}
Context is passed to processing to handle various inputs/values
func (Context) CompileRegexp ¶ added in v0.1.3
CompileRegexp will allow compiling a regex with specific settings
type Filterable ¶ added in v0.5.5
type Filterable interface {
Get(Retriever, string) ([]byte, error)
Arguments() []string
NewLine(string) (string, error)
}
Filterable is an interface to support arbitrary inputs that need to filter to tag sets
type Retriever ¶ added in v0.1.0
type Retriever interface {
Download(bool, string, string) (bool, error)
SetConnections(core.Connections)
Process(Context, iter.Seq[any]) (*core.Resource, error)
GitHubFetch(ownerRepo, call string, to any) error
Debug(logging.Category, string, ...any)
ExecuteCommand(cmd string, args ...string) (string, error)
Get(string) (*http.Response, error)
}
Retriever provides the means to fetch application information
Directories
¶
| Path | Synopsis |
|---|---|
|
Package command can run an arbitrary command+args to get version information
|
Package command can run an arbitrary command+args to get version information |
|
Package filtered handles components that are 'raw' lines of text that need to become a version
|
Package filtered handles components that are 'raw' lines of text that need to become a version |
|
Package git gets git-tagged resources
|
Package git gets git-tagged resources |
|
Package github can handle git branch sources
|
Package github can handle git branch sources |
|
Package retriever gets release/asset information from upstreams
|
Package retriever gets release/asset information from upstreams |
|
Package static handles static definitions of resources
|
Package static handles static definitions of resources |
|
Package web can scrape a page for versions and try to match filters
|
Package web can scrape a page for versions and try to match filters |
Click to show internal directories.
Click to hide internal directories.