Documentation ¶
Index ¶
- Variables
- func CalculateReader(file io.Reader, algorithm string) (string, error)
- func CheckRegistry(regist *aqua.Registry, checksums *Checksums, content []byte) error
- func GetChecksum(logE *logrus.Entry, assetName, checksumFileContent string, ...) (string, error)
- func GetChecksumConfigFromFilename(filename, version string) *registry.Checksum
- func GetChecksumFilePathFromConfigFilePath(fs afero.Fs, cfgFilePath string) (string, error)
- func GetRuntimesFromSupportedEnvs(cfgSupportedEnvs, pkgSupportedEnvs []string) ([]*runtime.Runtime, error)
- func ParseChecksumFile(content string, checksumConfig *registry.Checksum) (map[string]string, string, error)
- func RegistryID(regist *aqua.Registry) string
- type Calculator
- type Checksum
- type Checksums
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoChecksumExtracted = errors.New("no checksum is extracted") ErrNoChecksumIsFound = errors.New("no checksum is found") )
Functions ¶
func CheckRegistry ¶
func GetChecksum ¶ added in v2.7.0
func ParseChecksumFile ¶ added in v2.7.0
func RegistryID ¶
Types ¶
type Checksums ¶
type Checksums struct {
// contains filtered or unexported fields
}
func (*Checksums) EnableOutput ¶ added in v2.10.1
func (c *Checksums) EnableOutput()
Click to show internal directories.
Click to hide internal directories.