Documentation ¶
Overview ¶
Package charm is is a wrapper for the parts of github.com/juju/charm/v8 used by the charmstore. This version maintains the url parsing bahaviour expected by the charmstore.
Index ¶
Constants ¶
View Source
const (
ScopeGlobal = charm.ScopeGlobal
)
Copied constants.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationSpec ¶
type ApplicationSpec = charm.ApplicationSpec
type BundleArchive ¶
type BundleArchive = charm.BundleArchive
func ReadBundleArchive ¶
func ReadBundleArchive(path string) (*BundleArchive, error)
func ReadBundleArchiveBytes ¶
func ReadBundleArchiveBytes(data []byte) (*BundleArchive, error)
func ReadBundleArchiveFromReader ¶
func ReadBundleArchiveFromReader(r io.ReaderAt, size int64) (*BundleArchive, error)
type BundleData ¶
type BundleData = charm.BundleData
type CharmArchive ¶
type CharmArchive = charm.CharmArchive
func ReadCharmArchiveBytes ¶
func ReadCharmArchiveBytes(data []byte) (*CharmArchive, error)
func ReadCharmArchiveFromReader ¶
func ReadCharmArchiveFromReader(r io.ReaderAt, size int64) (*CharmArchive, error)
type MachineSpec ¶
type MachineSpec = charm.MachineSpec
type URL ¶
type URL = charm.URL
func MustParseURL ¶
MustParseURL parses the given URL, it panics is the URL cannot be parsed.
type UnitPlacement ¶
type UnitPlacement = charm.UnitPlacement
func ParsePlacement ¶
func ParsePlacement(p string) (*UnitPlacement, error)
type VerificationError ¶
type VerificationError = charm.VerificationError
Click to show internal directories.
Click to hide internal directories.