Versions in this module Expand all Collapse all v0 v0.1.1 Jul 27, 2021 v0.1.0 Feb 25, 2021 Changes in this version + const PathPattern + var ErrIncompleteRelease = errors.New("release is missing required assets") + var ErrInvalidPath = errors.New("invalid image file path") + var ErrInvalidTag = errors.New("invalid tag format") + var ErrMetadataMissing = errors.New("metadata.yaml missing from lxd.tar.xz") + func LoadImageMeta(url string) (lxdApi.ImageMetadata, string, error) + func LoadSHA256(url string) (string, error) + func ProductID(image TagImage, arch string) string + type SimpleStreams struct + func NewSimpleStreams() *SimpleStreams + func (s *SimpleStreams) GenerateImages(ctx context.Context, owner, repo string) (ss.Products, error) + func (s *SimpleStreams) GenerateStream(ctx context.Context, owner, repo string) (ss.Stream, error) + func (s *SimpleStreams) GetPathURL(ctx context.Context, owner, repo, name, arch, version, file string) (string, error) + type TagImage struct + Name string + Version semver.Version + func ParseTag(tag string) (TagImage, error) + func (t TagImage) String() string