Versions in this module Expand all Collapse all v0 v0.1.3 Mar 9, 2018 Changes in this version + const CommonConfigV0K + const DefaultBaseDir + const DefaultConfDir + const DefaultRunDir + const DefaultTagRef + const ImageManifestV0K + const OemDir + const OemProfileName + const OemProfilesDir + const OemStoreDir + const OsReleasePath + const ProfileManifestV0K + const SealBindir + const SealLowerProfiles + const SealPath + const SealRunProfilePath + const SealUnpackdir + const SealUpperProfile + const VendorDir + const VendorProfileName + const VendorProfilesDir + const VendorStoreDir + var DefaultLowerProfiles = []string + var ErrUnknownOSVersionID = errors.New(`unable to parse "VERSION_ID" from os-release`) + func AddToProfile(profilePath string, im Image) error + func ApplyProfile(applyCfg *ApplyConfig) error + func CurrentOsVersionID(path string) (string, error) + func CurrentProfileNames() (string, []string, error) + func CurrentProfilePath() (string, error) + func FilterStoreVersions(paths []string, curVersion string, filterVersion string) []string + func IsExistingPath(fusePath string) bool + func ListProfiles(profileDirs []string) (map[string]string, error) + func ReadCommonConfig(cfgPath string, commonCfg *CommonConfig) error + func ReadMetadata(fusePath string) (map[string]string, error) + func RuntimeConfigPath() string + func SealSystemState(applyCfg *ApplyConfig) error + func ValidateCommonConfig(commonCfg *CommonConfig) error + type ApplyConfig struct + LowerProfiles []string + UpperProfile string + type Archive struct + Filepath string + type Assets struct + Binaries []string + Network []string + Sysusers []string + Tmpfiles []string + UdevRules []string + Units []string + type CommonConfig struct + BaseDir string + ConfDir string + RunDir string + StorePaths []string + func (cc *CommonConfig) NextProfile() string + func (cc *CommonConfig) NextProfileName() (string, error) + func (cc *CommonConfig) ProfileDirs() []string + func (cc *CommonConfig) RunBinDir() string + func (cc *CommonConfig) RunProfile() string + func (cc *CommonConfig) RunUnpackDir() string + func (cc *CommonConfig) SetNextProfileName(name string) error + func (cc *CommonConfig) UserProfileDir() string + func (cc *CommonConfig) UserStorePath(version string) string + type ConfigV0 struct + Kind string + Value CommonConfig + type Image struct + Name string + Reference string + func (im *Image) ArchiveFilename() string + type ImageManifestV0 struct + Kind string + Value Assets + type Images struct + Images []Image + func ReadCurrentProfile() (Images, error) + func ReadProfilePath(path string) (Images, error) + type ProfileConfig struct + CurrentProfilePath string + LowerProfileNames []string + NextProfile string + UserProfileName string + type ProfileManifestV0 struct + Kind string + Value Images + type StoreCache struct + Images map[Image]Archive + Paths []string + func NewStoreCache(paths []string) (StoreCache, error) + func (sc *StoreCache) ArchiveFor(im Image) (Archive, error)