Documentation ¶
Index ¶
- Variables
- func CalculateReader(file io.Reader, algorithm string) (string, error)
- func CheckRegistry(regist *aqua.Registry, checksums *Checksums, content []byte) 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 RegistryID(regist *aqua.Registry) string
- type Calculator
- type Checksum
- type Checksums
- type FileParser
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 RegistryID ¶
Types ¶
type FileParser ¶
type FileParser struct{}
func (*FileParser) GetChecksum ¶
func (*FileParser) ParseChecksumFile ¶
Click to show internal directories.
Click to hide internal directories.