Documentation
¶
Overview ¶
Package components lists the independently versioned parts of Miabi for the About page.
Index ¶
Constants ¶
View Source
const ( GitOpsVersion = "1.1.0" PipelineVersion = "1.1.0" MarketplaceVersion = "1.0.0" RegistryVersion = "1.0.1" StorageClassesVersion = "1.0.0" AnalyticsVersion = "1.0.0" HealthProbeVersion = "1.0.0" SealedSecretsVersion = "1.0.0" )
Bump with the component's change: major when users must act, minor for a feature, patch for a fix.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog struct {
Templates int `json:"templates"`
SyncedAt *time.Time `json:"synced_at,omitempty"`
GeneratedAt string `json:"generated_at,omitempty"`
}
Catalog reports the synced marketplace catalog; LastSynced is zero before the first sync.
type Component ¶
type Component struct {
ID string `json:"id"`
Name string `json:"name"`
Version string `json:"version"`
Stability Stability `json:"stability"`
// FormatVersion is the apiVersion of the files users write for it, when it has any.
FormatVersion string `json:"format_version,omitempty"`
Status Status `json:"status"`
// Catalog is the synced marketplace catalog, on the Marketplace component only.
Catalog *Catalog `json:"catalog,omitempty"`
ChangelogURL string `json:"changelog_url"`
}
Component is one independently versioned part of Miabi.
type Probes ¶
type Probes struct {
RegistryEnabled func() bool
AnalyticsEnabled func() bool
// HealthProbeBundled reports whether this build embeds the probe binaries.
HealthProbeBundled func() bool
Catalog func() Catalog
}
Probes may be nil, which reads as "on", so a partially wired instance still lists every component.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service lists the components with their live status.
func NewService ¶
Click to show internal directories.
Click to hide internal directories.