Documentation
¶
Index ¶
- func GetLatestChart(ctx context.Context, storageURL, app, appVersion string) (string, error)
- func GetLatestVersion(ctx context.Context, storageURL, app, appVersion string) (string, error)
- func IsNotFound(err error) bool
- func NewTarballURL(baseURL string, appName string, version string) (string, error)
- type Entry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLatestChart ¶
GetLatestChart returns the latest chart tarball file for the specified storage URL and app and returns notFoundError when it can't find a specified app.
func GetLatestVersion ¶
GetLatestVersion returns the latest app version for the specified storage URL and app and returns notFoundError when it can't find a specified app.
Types ¶
type Entry ¶ added in v0.4.0
type Entry struct {
AppVersion string `json:"appVersion"`
Created time.Time `json:"created"`
Description string `json:"description"`
Home string `json:"home"`
Icon string `json:"icon"`
Keywords []string `json:"keywords"`
Name string `json:"name"`
Urls []string `json:"urls"`
Version string `json:"version"`
}
Click to show internal directories.
Click to hide internal directories.