Versions in this module Expand all Collapse all v7 v7.0.1 Jul 27, 2022 v7.0.0 Feb 7, 2022 Changes in this version + func MetaWithRelations(m *charm.Meta, relations ...string) *charm.Meta + func MetaWithResources(m *charm.Meta, resources ...string) *charm.Meta + func MetaWithSupportedSeries(m *charm.Meta, series ...string) *charm.Meta + type Charm struct + func NewCharm(c *gc.C, spec CharmSpec) *Charm + func NewCharmMeta(meta *charm.Meta) *Charm + func (c *Charm) ArchiveTo(w io.Writer) error + func (c *Charm) Size() int64 + func (ch *Charm) Actions() *charm.Actions + func (ch *Charm) Archive() *charm.CharmArchive + func (ch *Charm) ArchiveBytes() []byte + func (ch *Charm) Config() *charm.Config + func (ch *Charm) Manifest() *charm.Manifest + func (ch *Charm) Meta() *charm.Meta + func (ch *Charm) Metrics() *charm.Metrics + func (ch *Charm) Revision() int + type CharmSpec struct + Actions string + Config string + Files []filetesting.Entry + Meta string + Metrics string + Revision int + type IsolatedMgoSuite struct + func (s *IsolatedMgoSuite) SetUpSuite(c *gc.C) + func (s *IsolatedMgoSuite) SetUpTest(c *gc.C) + func (s *IsolatedMgoSuite) TearDownSuite(c *gc.C) + func (s *IsolatedMgoSuite) TearDownTest(c *gc.C) + type MockStore struct + ArchiveSHA256 string + Authorizations []string + DefaultSeries string + Downloads []*charm.URL + DownloadsNoStats []*charm.URL + InfoRequestCount int + InfoRequestCountNoStats int + Metadata []string + func NewMockStore(c *gc.C, repo *Repo, charms map[string]int) *MockStore + func (s *MockStore) Address() string + func (s *MockStore) Close() + func (s *MockStore) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (s *MockStore) UpdateStoreRevision(ch string, rev int) + type Repo struct + func NewRepo(path, defaultSeries string) *Repo + func (r *Repo) BundleArchive(dst, name string) *charm.BundleArchive + func (r *Repo) BundleArchivePath(dst, name string) string + func (r *Repo) BundleDir(name string) *charm.BundleDir + func (r *Repo) BundleDirPath(name string) string + func (r *Repo) CharmArchive(dst, name string) *charm.CharmArchive + func (r *Repo) CharmArchivePath(dst, name string) string + func (r *Repo) CharmDir(name string) *charm.CharmDir + func (r *Repo) CharmDirPath(name string) string + func (r *Repo) ClonedBundleDirPath(dst, name string) string + func (r *Repo) ClonedDir(dst, name string) *charm.CharmDir + func (r *Repo) ClonedDirPath(dst, name string) string + func (r *Repo) ClonedURL(dst, series, name string) *charm.URL + func (r *Repo) Path() string + func (r *Repo) RenamedClonedDirPath(dst, name, newName string) string Other modules containing this package github.com/juju/charmrepo github.com/juju/charmrepo/v6