Versions in this module Expand all Collapse all v1 v1.0.1 Jul 2, 2019 v1.0.0 Jan 29, 2019 Changes in this version + func AddUpdateData(c *models.Cluster, v AvailableComponentVersion) error + func GetAvailableVersions(a AvailableVersions, cluster models.Cluster) ([]models.ComponentVersion, error) + func GetCluster(c InstalledData, i ClusterID, v AvailableComponentVersion) (models.Cluster, error) + func GetDoctorInfo(c InstalledData, k k8s.RunningK8sData, i ClusterID, ...) (models.DoctorInfo, error) + func GetID(id ClusterID) (string, error) + func GetInstalled(g InstalledData) (models.Cluster, error) + func GetLatestVersion(component string, cluster models.Cluster, availVsns AvailableVersions) (models.Version, error) + func NewestSemVer(v1 string, v2 string) (string, error) + func ParseJSONCluster(rawJSON []byte) (models.Cluster, error) + type AvailableComponentVersion interface + Get func(component string, cluster models.Cluster) (models.Version, error) + func NewLatestReleasedComponent(ri *k8s.ResourceInterfaceNamespaced, availableVersions AvailableVersions) AvailableComponentVersion + type AvailableVersions interface + Cached func() []models.ComponentVersion + Refresh func(models.Cluster) ([]models.ComponentVersion, error) + Store func([]models.ComponentVersion) + func NewAvailableVersionsFromAPI(apiClient *apiclient.WorkflowManager, baseVersionsURL string) AvailableVersions + type ClusterID interface + Cached func() string + Get func() (string, error) + StoreInCache func(string) + func NewClusterIDFromPersistentStorage(sgc k8s.KubeSecretGetterCreator) ClusterID + type ComponentVersionsJSONWrapper struct + Data []models.ComponentVersion + type InstalledData interface + Get func() ([]byte, error) + func NewInstalledDryccData(ri *k8s.ResourceInterfaceNamespaced) InstalledData + type SparseComponentAndTrainInfo struct + Component SparseComponentInfo + Version SparseVersionInfo + type SparseComponentAndTrainInfoJSONWrapper struct + Data []SparseComponentAndTrainInfo + type SparseComponentInfo struct + Name string + type SparseVersionInfo struct + Train string