Documentation ¶
Index ¶
- type Cache
- func (c *Cache) GetAllReleaseNames() []string
- func (c *Cache) GetChecksum(releaseName string, os string, arch string) string
- func (c *Cache) GetLatestReleaseArtifact(os string, arch string) []byte
- func (c *Cache) GetLatestReleaseName() string
- func (c *Cache) GetReleaseArtifactName(releaseName string, os string, arch string) string
- func (c *Cache) ReleaseNameExists(releaseName string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) GetAllReleaseNames ¶ added in v0.1.2
GetAllReleaseNames returns an array of all the release names
func (*Cache) GetChecksum ¶
GetChecksum returns the checksum for the given version, os, and arch
It will return an empty string if the checksum does not exist
func (*Cache) GetLatestReleaseArtifact ¶ added in v0.1.2
func (*Cache) GetLatestReleaseName ¶ added in v0.1.2
GetLatestReleaseName returns the name of the latest release
func (*Cache) GetReleaseArtifactName ¶ added in v0.1.2
func (*Cache) ReleaseNameExists ¶ added in v0.1.2
ReleaseNameExists returns true if the given release name exists
Click to show internal directories.
Click to hide internal directories.