Versions in this module Expand all Collapse all v0 v0.1.0 Nov 12, 2022 v0.0.1 Nov 10, 2022 Changes in this version + var SampleSnapYaml = map[string]string + func MergeSampleSnapYaml(snapYaml ...map[string]string) map[string]string + func ReadAssertions(c *C, fn string) []asserts.Assertion + func ValidateSeed(c *C, root, label string, usesSnapd bool, trusted []asserts.Assertion) seed.Seed + func WriteAssertions(fn string, assertions ...asserts.Assertion) + func WriteValidAutoImportAssertion(c *C, brands *assertstest.SigningAccounts, seedDir, sysLabel string, ...) + type SeedSnaps struct + Brands *assertstest.SigningAccounts + StoreSigning *assertstest.StoreStack + func (ss *SeedSnaps) AssertedSnap(snapName string) (snapFile string) + func (ss *SeedSnaps) AssertedSnapID(snapName string) string + func (ss *SeedSnaps) AssertedSnapInfo(snapName string) *snap.Info + func (ss *SeedSnaps) AssertedSnapRevision(snapName string) *asserts.SnapRevision + func (ss *SeedSnaps) MakeAssertedDelegatedSnap(c *C, snapYaml string, files [][]string, revision snap.Revision, ...) (*asserts.SnapDeclaration, *asserts.SnapRevision) + func (ss *SeedSnaps) MakeAssertedSnap(c *C, snapYaml string, files [][]string, revision snap.Revision, ...) (*asserts.SnapDeclaration, *asserts.SnapRevision) + func (ss *SeedSnaps) SetSnapAssertionNow(t time.Time) + func (ss *SeedSnaps) SetupAssertSigning(storeBrandID string) + type TestingSeed16 struct + SeedDir string + func (s *TestingSeed16) AssertsDir() string + func (s *TestingSeed16) MakeAssertedSnap(c *C, snapYaml string, files [][]string, revision snap.Revision, ...) (snapFname string, snapDecl *asserts.SnapDeclaration, ...) + func (s *TestingSeed16) MakeModelAssertionChain(brandID, model string, extras ...map[string]interface{}) []asserts.Assertion + func (s *TestingSeed16) SnapsDir() string + func (s *TestingSeed16) WriteAssertions(fn string, assertions ...asserts.Assertion) + type TestingSeed20 struct + SeedDir string + func (s *TestingSeed20) MakeSeed(c *C, label, brandID, modelID string, modelHeaders map[string]interface{}, ...) *asserts.Model + func (s *TestingSeed20) MakeSeedWithModel(c *C, label string, model *asserts.Model, optSnaps []*seedwriter.OptionsSnap)