Documentation
¶
Index ¶
- Constants
- func AssertDefaultComparator(source string) error
- func AssertExactDesktopInventory(ctx context.Context, dir, version string) error
- func AssertRuntimeInventory(ctx context.Context, dir string) error
- func AssertStrictlyGreater(candidate, live string) error
- func BuildFeeds(ctx context.Context, request BuildRequest) error
- func DesktopArtifactNames(version string) []string
- func DiscoverSchemaHeads(ctx context.Context, repoRoot string) (map[string]uint64, error)
- func RuntimeArtifactNames() map[string]string
- func ValidateDesktopChannel(channel string) error
- func ValidateLatestManifest(manifest LatestManifest) error
- func ValidateRuntimeManifest(manifest RuntimeManifest) error
- func ValidateVersion(version string) error
- func WriteChannelConfig(request ChannelConfigRequest) error
- type BuildRequest
- type ChannelConfigRequest
- type LatestManifest
- type RuntimeManifest
- type RuntimePlatform
- type UpdaterPlatform
Constants ¶
View Source
const ( ChannelBeta = "beta" ChannelStable = "stable" DistributionOrigin = "https://releases.compozy.com" )
Variables ¶
This section is empty.
Functions ¶
func AssertDefaultComparator ¶
func AssertStrictlyGreater ¶
func BuildFeeds ¶
func BuildFeeds(ctx context.Context, request BuildRequest) error
func DesktopArtifactNames ¶
func DiscoverSchemaHeads ¶
func RuntimeArtifactNames ¶
func ValidateDesktopChannel ¶
func ValidateLatestManifest ¶
func ValidateLatestManifest(manifest LatestManifest) error
func ValidateRuntimeManifest ¶
func ValidateRuntimeManifest(manifest RuntimeManifest) error
func ValidateVersion ¶
func WriteChannelConfig ¶
func WriteChannelConfig(request ChannelConfigRequest) error
Types ¶
type BuildRequest ¶
type ChannelConfigRequest ¶
type LatestManifest ¶
type LatestManifest struct {
Version string `json:"version"`
Notes string `json:"notes"`
PubDate string `json:"pub_date"`
Platforms map[string]UpdaterPlatform `json:"platforms"`
}
type RuntimeManifest ¶
type RuntimePlatform ¶
type UpdaterPlatform ¶
Click to show internal directories.
Click to hide internal directories.