package
Version:
v0.0.0-...-1a99902
Opens a new window with list of versions in this module.
Published: Sep 10, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Validate checks whether the given directory contains valid kernel snap
metadata and a matching content.
type Asset struct {
Edition edition.Number `yaml:"edition,omitempty"`
Content []string `yaml:"content,omitempty"`
}
type Info struct {
Assets map[string]*Asset `yaml:"assets,omitempty"`
}
InfoFromKernelYaml reads the provided kernel metadata.
ReadInfo reads the kernel specific metadata from meta/kernel.yaml
in the snap root directory if the file exists.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.